Search code examples
azureazure-cdn

Place a WCF service in the CDN endpoint?


Is it any way of placing a WCF service in an Azure CDN Endopint? Or is it only valid to place static content?

It would be useful becasue I have a web frontend that constantly communicates with the WCF service.

If not, any suggestion on how to decrease delay?


Solution

  • If you want to run redundant WCF services in Azure, you create a WCF Service Web Role project and deploy it. Within the configuration, you can scale the deployment up to meet load. You can create and deploy multiple roles per package with each role having its separate instance count.

    If you want the service to be distributed across multiple regions, you have to use the Azure Traffic Manager which handles directing traffic based on location or in a round robin format.