For those who are not familiar with IIS – IIS is used to host Web Sites and you can consider it as an alternative Apache Server in Windows Platform. IIS is a Microsoft Product.
IIS 7 is a major breakthrough in IIS Versions and I should say its the BEST version of IIS released ! Its so easy to manage ASP.NET applications, host web sites and manage them. The major boost for IIS 7 is the redesign of their User Interface. Believe me, the Interface is so good that I was able to do things fast and host my ASP.NET applications in no time.
Ok, for example, how easy is to host ASP.NET Web Services ? Just two clicks 🙂
If you look into the above screenshot, you can see there is an option to Add Application, thats nothing but, if you want to add an .net application, like ASP.NET Web Service, we can directly choose this option , instead of going about choosing Virtual Directory and then choosing type Application as in the old IIS. Once you choose Add Application, you get,
You give an alias name and the Physical Path where you Web Service is and thats it, your ASP.NET Web Serivice is ready now and hosted in IIS 🙂
IIS 7 also makes the deployment of Windows Communication Service (WCF) easier. The only constraint being that you need to select some Windows Features before hosting WCF in IIS. First we need to select Windows Communication Foundation HTTP Activation under Microsoft .NET Framework 3.0,
And then we need to choose CGI under IIS–>World Wide Web Services–>Application Development Features
Now your WCF Service can be selected just as you did for hosting ASP.NET Web Service by choosing Add Application 😀
If you havent tried IIS 7, its time now 🙂