Host and use WCF Services in Windows Azure (CSAzureWCFServices)

This project shows how to host WCF in Windows Azure, and how to consume it. The demos include 1) A WCF web role , which hosts WCF in IIS; 2) A work role which hosts a WCF service (self-hosting); and 3) A windows console client that consumes the WCF services above.

C# (100.3 KB)
3.9 Star
23,857 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

    1 Posts | Last post October 13, 2017
  • What is the correct endpoint address in Talk2WorkRole?
    2 Posts | Last post December 10, 2011
    • Per this direction: "Change the address in method talk2Workrole to point to your own deploy address" - I'm unclear as to what this means.
      The sample code is as follows:            
      // You need to modify the endpoint address to fit yours.
      EndpointAddress endpoint = new EndpointAddress("net.tcp://");
      I tried setting it as follows:
      EndpointAddress endpoint = new EndpointAddress("net.tcp://");
      but that yields an error when using the channel created on that endpoint (line 52):
      Could not connect to net.tcp:// The connection attempt lasted for a time span of 00:00:01.2680000. TCP error code 10061: No connection could be made because the target machine actively refused it
      What is the correct syntax for identifying the endpoint in this line of code?
    • You can post this question also in one of the Windows Azure Forum category:
  • WCF self hosting is possible in azure?
    2 Posts | Last post December 09, 2011
    • hi,
      I create one website with WCF.I publish that website then convert to cloud application.How can set the endpoint address in cloud and azure
    • You have either progrmatticaly so that or in bindings.