ApplicationHost

ApplicationHost

System.Web.Hosting (system.web.dll)sealed class

This class exposes a single shared CreateApplicationHost( ) method, which allows you to create an application domain that will be used to process ASP.NET requests. This method accepts three parameters: the hostType (your request-handling class, which will be created in the new domain), virtualDir (the virtual directory for the application domain, such as "/MyApp"), and physicalDir (the physical directory for the application domain where the ASP.NET pages are located, such as "c:\MyApp"). The CreateApplicationHost( ) method returns the live instance of the hostType class.

public sealed class ApplicationHost { // Public Static Methods    public static object CreateApplicationHost(Type hostType, string virtualDir, string physicalDir); }


ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net