【问题标题】:How does the .SVC file in WCF Service work? [duplicate]WCF 服务中的 .SVC 文件如何工作? [复制]
【发布时间】:2012-01-29 08:08:08
【问题描述】:

可能重复:
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 文件?

【问题讨论】:

    标签: wcf iis dll service svc


    【解决方案1】:

    它在 \Bin 目录的程序集中查找类。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-08-23
      • 2011-09-05
      • 2011-04-03
      • 1970-01-01
      • 2011-08-31
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多