ClientBuildManager Members

ClientBuildManager Members

Provides compilation services for ASP.NET applications.

The following tables list the members exposed by the ClientBuildManager type.

  Name Description
Public method ClientBuildManager Overloaded. Initializes a new instance of the ClientBuildManager class.

  Name Description
Public property CodeGenDir Gets the physical path to the directory used for code generation.
Public property IsHostCreated Gets a value that indicates whether an application domain for compiling ASP.NET Web applications has been created.

(see also Protected Methods )
  Name Description
Public method CompileApplicationDependencies Compiles application-dependent files, such as files in the App_Code directory, the Global.asax file, resource files, and Web references.
Public method CompileFile Overloaded. Compiles the file represented by the virtual path.
Public method CreateObject Creates an object in the application domain of the ASP.NET runtime.
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GenerateCode Generates code from the contents of a file.
Public method GenerateCodeCompileUnit Overloaded. Returns the codeDOM tree, compiler type, and compiler parameters for a file represented by a virtual path.
Public method GetAppDomainShutdownDirectories Gets the directories with files that, when changed, cause the application domain to shut down.
Public method GetBrowserDefinitions Gets a collection of browser elements.
Public method GetCodeDirectoryInformation Gets information about the compiler type, compiler parameters, and the directory in which to store code files generated from non-code files such as .wsdl files.
Public method GetCompiledType Compiles the file represented by the virtual path and returns its compiled type.
Public method GetCompilerParameters Returns the compiler type and parameters that are used to build a file represented by a virtual path.
Public method GetGeneratedFileVirtualPath Returns the virtual path of a generated file.
Public method GetGeneratedSourceFile Gets the physical path to the generated file for a virtual path.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method GetTopLevelAssemblyReferences Returns an array of the assemblies defined in the Bin directory and the <assembly> section of the Web configuration file.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method GetVirtualCodeDirectories Returns the virtual paths to the App_Code directory and its subdirectories in an ASP.NET application.
Public method InitializeLifetimeService Overridden. Gives the application domain an infinite lifetime by preventing a lease from being created.
Public method IsCodeAssembly Indicates whether an assembly is a code assembly.
Public method PrecompileApplication Overloaded. Precompiles an ASP.NET application.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Unload Unloads the application domain for compiling ASP.NET Web applications.

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)

  Name Description
Public event AppDomainShutdown Occurs when an application domain is shut down.
Public event AppDomainStarted Occurs when an application domain is started.
Public event AppDomainUnloaded Occurs when an application domain is unloaded.

  Name Description
Explicit interface implementation Method System.IDisposable.Dispose Terminates the current ASP.NET application.

Community Additions

© 2016 Microsoft