Solution hosting a WCF Service in an Azure WebRole, with HTTP and TCP endpoints provisioned during startup.
To run:
-
Open with Visual Studio 2013.
-
Build the solution.
-
Publish to your Windows Azure Subscription.
-
Open the WCFTestClient and add a service using http://cloudapp.net/calc.svc.
To secure the endpoints, run the New-CloudServiceSSLCert.ps1 script to generate a test certificate. Full details on this and required application changes are here http://rickrainey.com/2013/09/18/securing-a-wcf-service-in-an-azure-web-role-with-http-tcp-endpoints-2/.