WCFBuildProvider::GenerateCode Method
Generates the service proxy class source code and adds it to the specified assembly builder.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
Parameters
- assemblyBuilder
- Type: System.Web.Compilation::AssemblyBuilder
An instance of the AssemblyBuilder object that the generated proxy code must be added to. This instance is provided by ASP.NET at run time.
This method searches for .svcmap files in the Web application root directory. If files are found, the method generates the source code of a proxy class for the related services into the specified assemblyBuilder.
Notes to InheritorsTypically, this method parses the .svcmap mapping files and adds the generated source code to the specified AssemblyBuilder object. You can contribute source code to the assembly in the form of a TextWriter object or a CodeDOM graph.
For more information, see BuildProvider.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.