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.
[OperationContract]
[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.
+3
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 ...
- http://www.claudiobernasconi.ch/2013/08/03/deploying-a-wcf-service-on-windows-azure/
- http://blogs.msdn.com/b/nishasingh/archive/2012/12/05/creating-and-deploying-a-wcf-service-on-windows-azure-and-consuming-it-in-windows- 8-store-app.aspx
With this one more specific Azure site
NTN
+10
source to share