How can i migrate a legacy WCF service on .Net Framework 4.5 with wsHttpBinding to Azure App Service. As per https://docs.microsoft.com/en-us/dotnet/azure/migration/app-service wsHttpBinding is not supported in Azure App Service
CodePudding user response:
WSHttpBinding Class applies to .NET Framework4.5.
Please refer this MSFT documentation for more information.
CodePudding user response:
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