我在 VS2010 中开发了一个 wcf Web 服务。Web服务在VS2010中运行良好,在同一解决方案中添加了对项目(winform)的Web服务引用,一切正常,方法调用,很好。
当我部署我的网络服务时,我得到:
The webpage at (website) might be temporarily down or it may have moved permanently to a new web address.
我是 WCF Web 服务的新手,我需要部署什么才能使其正常工作?
我部署了 .svc 文件和 web.config。我在 bin 目录中部署了所有 .dll 文件。
我检查了我的项目文件夹,有一个 Web.config、Web.Release.config 和 Web.Debug.config。
我需要部署 Web.Release.config 吗?但是里面的内容不多:
<?xml version="1.0"?>
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
</system.web>
</configuration>
在我的 Web.config 中,我有 appsettings、绑定、服务和所有内容,我是否需要复制我的 Web.Release.config 文件中的所有内容?
任何解决方案/建议?
谢谢。