Advertisement

12.15.2007 at 10:10PM PST, ID: 23026130
[x]
Attachment Details

How do I tell IIS to host multiple services using .svc file?

Asked by manduz_griffus in .NET Framework 3.x versions, Microsoft Visual C#.Net, Visual Studio

Tags: , , , ,

Hi erveryone,

Im currently starting developing a WCF service hosted in IIS and came across a problem. I have developed a UserService which is described in .svc file as <% @ServiceHost Service="UserService">. It worked fine and when i used svcutil to get the metadata, everything was working perfectly. My problem is now, I have developed a new service, EmployeeService. How do I define in the .svc file to host both UserService and EmployeeService? Or do I have to create one .svc file for each service to be hosted? If so, how can i generate in svcutil the merged proxy/metadata and config file for both services?Start Free Trial
 
 
[+][-]12.20.2007 at 09:49AM PST, ID: 20508512

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .NET Framework 3.x versions, Microsoft Visual C#.Net, Visual Studio
Tags: wcf, file, host, iis, svc
Sign Up Now!
Solution Provided By: surajguptha
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628