Host WCF service in Azure

It’s possible to host a WCF service in Azure.

  • First create a WCF service library for the service contract. I think it’ also possible to create a WCF Service Application since you wanna host the service in IIS.
  • Then create a class library for the data contract.
  • Finally add an ASP.Net Web Application. Use the Empty Web App template.
  • Add a service (*.svc file) and reference the service contract just created. The .svc file has just one line:

<%@ ServiceHost Service=”DSPGateway.ServiceContract.DSPService” %>

That’s it!

Leave a Reply

Your email address will not be published. Required fields are marked *