How does the .SVC file in WCF Service work?

4.2k Views Asked by At

Possible Duplicate:
WCF Service Deployment in IIS Page cannot be displayed and how does the SVC file work?

A Typical WCF SVC file will have the following;

<%@ ServiceHost Service="AMWCF.Service1" %>

The SVC file informs nothing on the location of the WCF Service dll file.

So when someone opens this SVC file link in HTTP (provided the Service is hosted in IIS), how does the link know where to get the dll file?

1

There are 1 best solutions below

0
On BEST ANSWER

It looks for the class in an assembly in the \Bin directory.