【问题标题】:WCF service endpoints are not recognized by azure service bus after any change in web.config file or iis reset在 web.config 文件发生任何更改或 iis 重置后,Azure 服务总线无法识别 WCF 服务端点
【发布时间】:2014-06-02 04:23:49
【问题描述】:

我正在尝试使用 azure 服务总线公开 WCF 服务端点。 当我在 IIS 服务上发布服务时,这些端点没有被识别。 但是在我发布之后,当我点击浏览并打开 .svc 文件时。 然后我可以看到 Azure 服务总线中的端点。 请帮忙

【问题讨论】:

    标签: wcf azure


    【解决方案1】:

    在您的服务实际启动之前(即当您浏览到 .svc 文件时),无法激活服务总线侦听器。您需要添加一个使用 PreLoad 方法实现 System.Web.Hosting.IProcessHostPreloadClient 的 AutoStart 类。 Hosting WCF Services with Service Bus Endpoints on IIS 有一个完整的例子。

    【讨论】:

    • 我会这样做并检查
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-03-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-09-01
    • 2011-02-12
    相关资源
    最近更新 更多