Brief History of Web Uploads

Facebook Twitter Google+ LinkedIn The upload support in the Microsoft web platform has come quite a long way since the early days of IIS. Unfortunately, a number of remaining limitations have made it difficult to offer a quality upload experience, especially for high-traffic sites. As more and more websites rely on user generated content, and … [Read more…]

Workaround for using IIS 7 url authorization with ASP.NET roles

Facebook Twitter Google+ LinkedIn When using the IIS 7.0 Integrated pipeline, you gain access to a ton of cool scenarios where IIS and ASP.NET features work together to provide value for your application – regardless of the application content. Most of these features involve using ASP.NET features (e.g.Forms Authentication) to provide their services for non-ASP.NET … [Read more…]

When to restart IIS when making changes to your application

Facebook Twitter Google+ LinkedIn Knowing when to restart IIS to pick up various types of changes to your application has traditionally been a challenge. IIS and ASP.NET are both stateful software systems, which heavily rely on cached state that is loaded once to provide high performance.  They also recognize the downside of being stateful – … [Read more…]

IconHandler 2.0: file icons in your ASP.NET applications

Facebook Twitter Google+ LinkedIn Since its release, IconHandler has been a pretty popular module (on its own and with the custom DirectoryListingModule).  Today, I am releasing v2.0 of IconHandler, which contains some much-requested functionality and fixes a few issues that people have reported with the original version. (I don’t RTFM, take me to download) Here … [Read more…]

Creating portable ASP.NET applications that work on IIS 6.0, IIS 7.0 Classic, and IIS 7.0 Integrated modes

Facebook Twitter Google+ LinkedIn ASP.NET applications in IIS 7.0 Integrated mode requires configuration changes if they define custom modules or handlers. The primary changes involve moving the module and handler configuration from the ASP.NET’s <httpModules> and <httpHandlers> sections to the IIS 7.0 <modules> and <handlers> sections used by the Integrated pipeline.   However, <modules> and … [Read more…]

MSDN Magazine: Enhance Your Applications with ASP.NET Integrated Pipeline!

Facebook Twitter Google+ LinkedIn This month, the Enhance Your Apps With the Integrated ASP.NET Pipeline article is finally out in MSDN Magazine.  I just got several copies in the mail (thanks Howard!). ****** UPDATE: Scott Hanselman presents the demos from this article at CodeMash 2008 ****** To be honest, I am VERY excited about this … [Read more…]

Breaking Changes for ASP.NET 2.0 applications running in Integrated mode on IIS 7.0

Facebook Twitter Google+ LinkedIn 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 … [Read more…]

IIS7 Integrated mode: Request is not available in this context exception in Application_Start

Facebook Twitter Google+ LinkedIn 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 … [Read more…]

Developing IIS7 modules and handlers with the .NET framework

Facebook Twitter Google+ LinkedIn Download: MyIIS7Project.zip 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.  This article will demonstrate: 1.       How to decide whether to develop an IIS7 module or an IIS7 handler. 2.       How to set up your development environment, … [Read more…]

Redirect requests to your application with the HttpRedirection module

Facebook Twitter Google+ LinkedIn Download: HttpRedirection_v1_source.zip The HttpRedirection module allows you to configure regular expression-based rules that redirect clients from url A to url B using http redirection. When clients make a request to your server, and the url matches one of the redirection rules you have configured, the server will respond with a redirection response, … [Read more…]