I have Azure Hosted WCF restful service. Now I have 2 URL one is with HTTP and HTTPS.
I use same project for both and in Azure, I need to publish on any of above URL and it automatic reflect to another.
Here is my webconfig. I was using HTTP but now I want to set both. In webconfig, I have set CustomBinding.
Here is my webconfig. Can anybody please suggest me what changes I need to add in following webconfig? So, it allows both HTTP and HTTPS.
I know how to set if my binding is WebHTTPBinding but I don't know how to set in CustomBinding. I have seen some links for both(HTTP and HTTPS) but all are of WebHTTPBinding.
Note: Following webconfig is working perfectly for HTTP.
//Connectionstring
//Assemblies
Shweta LodhaPosted Jul 24, 2018, 11:26 PM