locked
Service Bus Relay RRS feed

  • Question

  • Looking for some more information on how the Service Bus Relay works.

    From the Link http://www.windowsazure.com/en-us/documentation/articles/service-bus-dotnet-how-to-use-relay/

    "The Service Bus Relay service enables you to build hybrid applications that run in both a Windows Azure datacenter and your own on-premises enterprise environment. The Service Bus relay facilitates this by enabling you to securely expose Windows Communication Foundation (WCF) services that reside within a corporate enterprise network to the public cloud, without having to open up a firewall connection or requiring intrusive changes to a corporate network infrastructure.

    The Service Bus relay allows you to host WCF services within your existing enterprise environment. You can then delegate listening for incoming sessions and requests to these WCF services to the Service Bus running within Windows Azure. This enables you to expose these services to application code running in Windows Azure, or to mobile workers or extranet partner environments. The Service Bus allows you to securely control who can access these services at a fine-grain level. It provides a powerful and secure way to expose application functionality and data from your existing enterprise solutions and take advantage of it from the cloud."

    1. How exactly does this work without opening up corporate firewall or making network changes?

    2. This can expose data from internal applications to the cloud application, is this one way only? Can application take advantage of this relay to write back data to enterprise database?

    Saturday, March 29, 2014 12:16 PM

Answers

  • Hi Merlus,

    Thanks for posting!

    >>1. How exactly does this work without opening up corporate firewall or making network changes?

    >>2. This can expose data from internal applications to the cloud application, is this one way only? Can application take advantage of this relay to write back data to enterprise database?

    Base on my understanding, Azure service bus Relay is public hosting on azure. To two-way communication through the relay ,each application in internet needs to use Service Bus establish an outbound TCP connection, and then remains open .The entire communication between the two applications transmitted through these connections . Since each internal data connections are established from the center , therefore , the firewall allows the application to each of the incoming traffic ( i.e., data transmitted by the repeater ), without having to open a new port. This method can solve the NAT problem, because each application in the whole communication endpoints are consistent. Through the exchange of data relay , the application can avoid communication problems led to problems .I suggest you could refer to this documents (http://msdn.microsoft.com/en-us/magazine/dd569756.aspx ) and try some code samples (http://blogs.msdn.com/b/jimoneil/archive/2012/04/24/fun-with-the-service-bus-part-1.aspx).

    Please try it and hope this helps.

    Regards,

    Will


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Monday, March 31, 2014 6:35 AM

All replies

  • Hi Merlus,

    Thanks for posting!

    >>1. How exactly does this work without opening up corporate firewall or making network changes?

    >>2. This can expose data from internal applications to the cloud application, is this one way only? Can application take advantage of this relay to write back data to enterprise database?

    Base on my understanding, Azure service bus Relay is public hosting on azure. To two-way communication through the relay ,each application in internet needs to use Service Bus establish an outbound TCP connection, and then remains open .The entire communication between the two applications transmitted through these connections . Since each internal data connections are established from the center , therefore , the firewall allows the application to each of the incoming traffic ( i.e., data transmitted by the repeater ), without having to open a new port. This method can solve the NAT problem, because each application in the whole communication endpoints are consistent. Through the exchange of data relay , the application can avoid communication problems led to problems .I suggest you could refer to this documents (http://msdn.microsoft.com/en-us/magazine/dd569756.aspx ) and try some code samples (http://blogs.msdn.com/b/jimoneil/archive/2012/04/24/fun-with-the-service-bus-part-1.aspx).

    Please try it and hope this helps.

    Regards,

    Will


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Monday, March 31, 2014 6:35 AM
  • Thanks Will!
    Monday, March 31, 2014 9:50 AM