The Asp.Net Handler

The class AspNetHandler is used to render and serve up Asp.Net pages. The configuration of the handler is very straightforward - you shouldn't need to do anything except add an instance of AspNetHandler to your list of handler mappings:

myWebServer.HandlerMappings.Add(new HandlerMapping("*.aspx", new AspNetHandler()));
The will simply take the virtual and physical directory paths from the RootUrl and LocalRoot properties of the web server respectively. (Consequently the Asp.Net handler requires that the LocalRoot property is set on the WebServer class.)

See the Asp.Net applications page for more information about running Asp.Net applications using Minnow.

Last edited Aug 3, 2010 at 11:05 AM by Kragen2uk, version 7


No comments yet.