Contents tagged with Integrated pipeline
-
Creating portable ASP.NET applications that work on IIS 6.0, IIS 7.0 Classic, and IIS 7.0 Integrated modes
ASP.NET applications in IIS 7.0 Integrated mode requires configuration changes if they define custom modules or handlers. However, it is still possible to create portable ASP.NET applications that can function in all three environments without configuration changes.
Thanks,
Mike
-
MSDN Magazine: Extend IIS 7.0 end-to-end
In this month's launch edition of MSDN magazine, we celebrate the release of Windows Server 2008. It's been a long road and we are finally done!
Of course, this celebration wouldnt be complete without a juicy article on IIS 7.0 - this time, showing off the complete extensibility of the Web server by building a full-blown Web server feature with configuration and IIS Manager components. The article shows off my latest project, the Response Modification Framework, which is pretty cool on its own ...
Read the article, learn about RMF, and more at http://mvolo.com/blogs/serverside/archive/2008/02/18/MSDN-Magazine_3A00_-Extend-IIS-7.0-End_2D00_to_2D00_End.aspx.
Thanks,
Mike
-
Two-Level Authentication with Forms Authentication and Windows Authentication
The integration of IIS and ASP.NET authentication stages in Integrated mode applications brings a lot of benefits, including being able to use ASP.NET authentication features like Forms Authentication for the entire web site. However, it also prevents two-level authentication schemes that relied on the two separate authentication stages between IIS and ASP.NET from working.
I mentioned this in the list of ASP.NET breaking changes in December. Since then, I've gotten many requests for re-enabling these scenarios in Integrated mode, so I put together a workaround for doing this in Integrated mode.
To learn more and download the bits / source code of the workaround, see http://mvolo.com/blogs/serverside/archive/2008/02/11/IIS-7.0-Two_2D00_Level-Authentication-with-Forms-Authentication-and-Windows-Authentication.aspx.
Thanks,
Mike
-
MSDN Mag: Enhance Your Apps with the ASP.NET Integrated Pipeline!
At last, my MSDN article about using the ASP.NET Integrated Pipeline is out in MSDN Magazine. This article is all about using existing ASP.NET features and building new ASP.NET modules to improve existing applications.
What's more, I do this without touching a single line of the application itself, which happens to be a PHP application using the IIS 7.0 FastCGI support.
So go read the article for an in-depth look at using the power of ASP.NET Integrated pipeline to add features, improve security, and turbo-charge performance of your applications. Then head over to my blog to learn more about doing this yourself for your apps on IIS 7.0 - starting with building your own modules and handlers.
Article highlights and more at http://mvolo.com/blogs/serverside/archive/2007/12/20/MSDN-Magazine_3A00_-Enhance-Your-Applications-with-ASP.NET-Integrated-Pipeline.aspx.
Thanks,
Mike
-
Breaking Changes for ASP.NET 2.0 applications running in Integrated mode on IIS 7.0
ASP.NET 2.0 applications on IIS 7.0 are hosted using the ASP.NET Integrated mode by default. This new mode enables a myriad of exciting scenarios including using super-valuable ASP.NET features like Forms Authentication for your entire Web site, and developing new ASP.NET modules to do things like URL rewriting, authorization, logging, and more at the IIS level.
As you know, with great power comes great responsibility. Similarly, with making ASP.NET applications more powerful in IIS 7.0 comes the responsibility of making sure that existing ASP.NET applications continue to work. This has been a major challenge for us as we re-architected the entire core engine of ASP.NET, and in the end we were highly successful in meeting it.
This post lists the changes in behavior that you may encounter when deploying your ASP.NET applications on IIS 7.0 on Windows Vista SP1 and Windows Server 2008. Read the detailed list of breaking changes at http://mvolo.com/blogs/serverside/archive/2007/12/08/IIS-7.0-Breaking-Changes-ASP.NET-2.0-applications-Integrated-mode.aspx.
Thanks,
Mike
-
Request is not available in this context exception in Application_Start
The “Request is not available in this context” exception is one of the more common errors you may receive on when moving ASP.NET applications to Integrated mode on IIS 7.0. This exception happens in your implementation of the Application_Start method in the global.asax file if you attempt to access the HttpContext of the request that started the application.
Learn more about why this happens and how to work around it to start enjoying the benefits of ASP.NET Integrated mode for your application: http://mvolo.com/blogs/serverside/archive/2007/11/10/Integrated-mode-Request-is-not-available-in-this-context-in-Application_5F00_Start.aspx.
-
This article, the first in the IIS7 .NET Developer series, focuses on getting started with developing IIS7 web server features based on the .NET Framework. Learn about the options you have for your development environment, how to set up your Visual Studio project, when to build a module vs. a handler, and more. By the end of the article, you would have built and deployed a simple IIS7 managed handler and module.Developing IIS7 web server features with the .NET framework
Read the entire article at http://mvolo.com/blogs/serverside/archive/2007/08/15/Developing-IIS7-web-server-features-with-the-.NET-framework.aspx. -
I feel like I got off on the wrong foot in my blog coverage of IIS extensibility … I started spending a lot of time talking about building IIS7 server modules with the native API, but did not mention anything about the new .NET extensibility.Extending your IIS 7 server with .NET
First things first – IIS7, for the first time in the history of the server, provides first class support for extending the server with .NET.
Read more at http://mvolo.com/2006/10/22/why-write-native-code-extending-your-iis-7-server-with-net.aspx.