Sep 30, 2009

Some important LINKS

Update for .NET 3.5 SP1 (Important if working with Dynamic Data)

http://support.microsoft.com/kb/959209

ASP.NET Compilation Enhancement Fix

http://code.msdn.microsoft.com/KB967535/Release/ProjectReleases.aspx?ReleaseId=2328 (for Windows Vista and Windows Server 2008)https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=18157 (for Windows XP and Windows Server 2003)

Microsoft .NET RIA Services May 2009 Preview

http://www.microsoft.com/downloads/details.aspx?FamilyID=76bb3a07-3846-4564-b0c3-27972bcaabce&displaylang=en

ASP.NET 4.0 in VS 2010 Doc

http://www.asp.net/learn/whitepapers/aspnet40

Some of them are a little old but thought worth putting them up.

Cheers !!!

Sep 18, 2009

Creating multiple websites on a single IP ...

Suppose, I have a couple of websites hosted on a dedicated server (Windows 2003 with IIs 6.0) and the issue is that with one IP address (in other words - Static/Dedicated IP address), I was able to reach only one of the websites.

There are three options to host multiple websites in IIS :

1. Create websites, each assigned an IP - The downside of this option is that you will have limited IPs with you !!
2. Create websites, each listening on different port numbers.For example, http://mysite1.com and http://mysite2.com:8888 - The downside of this approach is that users have to remember the port number of the site that they are interested in!!
3. Using Host-Headers - This option is the "best" that solves the problem at hand.

Let me elaborate a bit on option #3 here:

1. Create multiple websites in IIS
2. Right click on a website, choose "Properties".
3. On the tab page named "Website" click "Advanced ..." and here you can add a host header (say, mysite2.com) and let all the websites have the IP as "All Unassigned" and the port 80.

Having done this, update the DNS records for mysite1.com and mysite2.com to point to the IP running your webserver and try accessing mysite1.com and mysite2.com, it works :-)

For more details, please visit http://www.iisanswers.com/Top10FAQ/t10-hostheaders.htm

Sep 17, 2009

Set Height Width Color of Rad Confirm Window in Radgrid Button Column

style type="text/css">
.RadWindow .rwWindowContent .radconfirm,
{
color:White !important;
}
.RadWindow .windowpopup.radconfirm
{
height: 150px !important;
width: 300px !important;
}
style