小编The*_*Ear的帖子

(网站)的网页可能暂时无法访问,或者可能已永久移至新网址

我在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.
Run Code Online (Sandbox Code Playgroud)

我是 WCF Web 服务的新手,我需要部署什么才能使其正常工作?

我部署了 .svc 文件和 web.config。我将所有 .dll 文件部署在 bin 目录中。

我检查我的项目文件夹,有一个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>
Run Code Online (Sandbox Code Playgroud)

在我的 Web.config 中,我有应用程序设置、绑定、服务等,我是否需要复制 Web.Release.config 文件中的所有内容?

有什么解决方案/建议吗?

谢谢。

iis wcf web-services

6
推荐指数
1
解决办法
6万
查看次数

标签 统计

iis ×1

wcf ×1

web-services ×1