简体   繁体   中英

How do I create a SOAP WebService in Azure?

I want to create a SOAP WebService in an Azure environment. The WC won't do anything fancy...just receive a SOAP request from internet and return some data retrieved from a Azure SQL DB in the same Azure instance.

Is this not a normal scenario? Because i can't find any information about it. I have found some info on Logic Apps, Logic Connector and such, but they don't seem to fit my need. I can't find any information on how I define and create a WC in c# that i can deploy in Azure and then communicate with from internet. Maybe it's me that have misunderstood the abilities of Azure...

While SOAP isn't the preferred way to handle online communication anymore, it is still used as you are seeing. It is still supported in the .Net Framework and there are even new features being released for it.

The simplest way to host a WCF service in Azure is going to be in App Services , particularly if what you are looking for is a simple web endpoint. As long as the bindings you are using are allowed on App Services, you shouldn't need to do anything different to deploy it to Azure.

In addition to App Services, you could simply use a VM the same as you would on prem, or something like Service Fabric if you need something that can manage a large collection of services, your SOAP endpoint included.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM