Plunging into .NET Development

Weblog Pieter Gheysens
Microsoft .NET Development - C# - Enterprise Library - Visual Studio 2005 Team System - Compuware DevPartner - ...
 


Friday, May 16

Hosting WCF service (.svc) in IIS

When hosting WCF services (.svc) in IIS on a client pc (XP Professional with IIS 5.1) I discovered that the .svc file in my browser wasn't showing me the usual service page with the link to the wsdl and example code how to call the service. I only got the markup text that was entered in the .svc file.

To get the WCF services running in IIS you need to map the .svc extension to the aspnet_isapi.dll on the IIS website. Apparently this was not automatically done after the installation of the .NET Framework 3.0. How to do this manually : go to your website in IIS > right click to get the properties for the website > tab Home Directory > button Configuration > Add mapping for .svc extension ...


 

Labels:

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home