Teemu Tapanila bio photo

Teemu Tapanila

CTO of Mallow

Email Twitter LinkedIn Github

You can publish WCF Services into Windows Azure Websites. Also you can access all of the Azure resources from there too. You just need to add reference to Azure manually because by default the WCF application is not an Azure project.

  1. Download and install Azure SDK
  2. Login to Azure Dashboard
  3. Choose storage from left

    Storage

  4. Click new from bottom left, choose Storage, Quick Create, type in your url and click Create Storage Account

    Create new storage

  5. Open newly created Storage Account and choose Manage Keys from bottom

    Manage Keys

  6. Copy Primary Access Key and close window. We are going to use that key later

    Primary Access Key

  7. Choose websites from left

    Azure Websites

  8. Click new from bottom left, choose Quick Create, type in your url and click Create Web Site

    Quick create azure website

  9. After that your website is up and running
  10. Now open your website settings from Azure Dashboard by clicking the name of it

    Choosing website

  11. You can use either TFS, Github, FTP or Visual Studio to deploy the website. I chose VS

    Download publish profile

  12. Now create your new WCF Application project on Visual Studio. Remember tho choose .NET Framework 4

    Create new wcf service

  13. Right click your project and choose add reference

    Add reference

  14. Search for Azure and check Azure.StorageClient and click okay

    Add reference to Azure Storage

  15. Edit IService1.cs

  16. Edit Service1.svc

  17. Right click your project and choose publish

    Publish WCF service

  18. Choose import and then browse to the file you downloaded from Azure Dashboard

    Import publish profile

  19. Now just click publish

    Publish web application

  20. Enjoy of your new service

    Published WCF service