WSTTPBINDING迁移WCF服务到Azure App Service
我如何在WSHTTPBINDING到Azure App Service上的.NET Framework 4.5上迁移旧版WCF服务。按 https://learn.microsoft us/dotnet/azure/migration/app-service Azure App Service不支持WSHTTPBINDING
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
WSHTTPBINDING类适用于.NET Framework4.5。
请参阅此 msft文档以获取更多信息。
WSHttpBinding Class applies to .NET Framework4.5.
Please refer this MSFT documentation for more information.
在Windows Azure中,我们不能使用Windows身份验证(WSHTTPBINDING的默认配置),除非我们使用WAAD并让Cloud Server加入本地域。
因此,您需要关闭身份验证,或使用其他身份验证机制(例如用户名和密码)
对于特定步骤,您可以在下面看到教程。
托管WCF SOAP,以及WCF REST服务作为Azure应用服务
如何:将Web应用程序从Visual Studio迁移并发布到Azure Cloud Service
In Windows Azure, we cannot use Windows Authentication (the default configuration of WSHttpBinding) unless we use WAAD and have the cloud server join the local domain.
Therefore, you need to turn off authentication, or use another authentication mechanism (such as username and password)
For specific steps, you can see the tutorial below.
WCF Security and Authentication in Azure (WsHttpBinding with username and psw credentials)
Hosting WCF SOAP, and WCF REST service as Azure App Services
How to: Migrate and publish a web application to an Azure Cloud Service from Visual Studio