可能重复:
WCF Service Deployment in IIS Page cannot be displayed and how does the SVC file work?
典型的WCF SVC文件将具有以下内容;
<%@ ServiceHost Service="AMWCF.Service1" %>
SVC文件不会通知WCF服务dll文件的位置。
因此,当有人在HTTP中打开此SVC文件链接时(如果服务在IIS中托管),链接如何知道从哪里获取dll文件?
答案 0 :(得分:2)
它在\ Bin目录中的程序集中查找类。