Deploying WCF Service on Windows Azure

Just to clarify, this is my first time working with azure. Several months ago I created a Restful WCF Service with a SQL Server connection. I have deployed WCF on IIS with a database on SQL Server Express 2012. The service works without issue.

[WebGet(UriTemplate = "feed/{ID}/{Rating}/{Feed}", ResponseFormat = WebMessageFormat.Json)]
string feed(string ID, string Rating, string Feed);


Now I have to move the WCF service to Azure. The problem is I have no idea how to deploy WCF to azure, and even if it is possible to deploy WCF to azure. The database has been moved to azure.


source to share

1 answer

The principle is relatively simple depending on whether you want to use Azure WebSite or Cloud Role - for Cloud ...

  • Make sure the Azure SDK is installed from the WebPlatform Installer.
  • Add WCF Cloud Service Role to your project
  • Expand the project and right click on the "Roles" node, select "Add" and then an existing project from your solution.
  • Publish a role using your Azure credentials.

These two articles provide an end-to-end tutorial that goes deeper ...

With this one more specific Azure site




All Articles