WCF Essentials—Web.Config file

Jump to: navigation, search
Visual C# Tutorials
.NET Framework Tutorials

WCF Essentials

© 2007 O'Reilly Media

The Web.Config file

The web site config file (Web.Config) must list the types you want to expose as services. You need to use fully qualified type names, including the assembly name, if the service type comes from an unreferenced assembly:

<system.serviceModel>
  <services>
    <service name = "MyNamespace.MyService">
      ...
    </service>
  </services>
</system.serviceModel>


prevpp.png  nextpp.png
C# Online.NET