Thursday 13 October 2011

HttpContext of the first page. · Can you create an app domain?

Yes, We can create user app domain by calling on of the following
overload static methods of the System.AppDomain class
1. Public static AppDomain CreateDomain(String friendlyName)
2. Public static AppDomain CreateDomain(String friendlyName, Evidence
securityInfo)
3. Public static AppDomain CreateDomain(String friendlyName, Evidence
securityInfo, AppDomainSetup info)
4. Public static AppDomain CreateDomain(String friendlyName, Evidence
securityInfo, String appBasePath, String appRelativeSearchPath, bool
shadowCopyFiles)