Whenever you deploy a website to IIS 7 that is not compliant with the IIS 7 integrated pipeline, you will get an error like this one:
Not the great error message you get. It actually gives you the solution right away: **Migrate Web.config to support the integrated pipeline. **To do that, start a command prompt, and execute:
%SystemRoot%\system32\inetsrv\appcmd migrate config “test/”
After doing this, our Web.config is changed to support the IIS 7 integrated pipeline and we can see the website.### The Integrated Programming model in IIS 7
IIS 7 comes with a bunch of improvements for developers. You can do a whole lot of exciting things even from web.config, but also from code.
To take advantage of the powerful integrated programming model, you need to set your application pool to use the Integrated pipeline mode. There’s no limit to what you can do.
I found a lot of great stuff in the book called Professional IIS 7 and ASP.NET Integrated Programming and learned a lot of useful stuff.
IIS 7 (or 7.5) is still the preferred way to develop, test and deploy ASP.NET applications, and as a developer you must stay up-to-date on what your tools and framework has to offer!
Subscribe to Martin Normark's Blog
Get the latest posts delivered right to your inbox