locked
Service bus RRS feed

  • Question

  • How the Service Bus works in window azure ?Can any one send the sample code

    Thanks

    Thursday, September 9, 2010 4:53 AM

Answers

  • Hi,

     

    Imagine that we have a on-premise service (let say WCF) that hosted on your server that serve your internal client. However, for some reason, you wish to migrate the service to public so that anybody would be able to access it. You will have 2 options to achieve that:

    1. Move the WCF service to the cloud. It's possible to do so by creating a WCF web role on cloud service project inside your visual studio.

    2. For some reason, you want your service still remain "physically" on-premise, but you want to expose the functionality to public so that can reach more people (for example). In this case, service bus would be the choice to do so.

    Service Bus is a cloud service which serves as "relay" in between your on-premise service and the clients. The nice thing of service bus is no matter from what kind of connection, IP, firewall you are connected, you will easily yet have secure connection to the service bus with the same configuration.

    In addition, the service bus is designed similarly adapted from WCF. Therefore, with minimum of changes, you will be able to modify your existing WCF service to become service bus enable.

    For more detail, please refer to:

     

     

    Hope these help!

    Regards

    Wely

    • Proposed as answer by Daniell.Chong Saturday, September 11, 2010 1:15 AM
    • Marked as answer by Mog Liang Thursday, September 16, 2010 8:40 AM
    Thursday, September 9, 2010 2:01 PM

All replies

  • A good place to start would be the Azure Appfabric page on the Azure website.

    Aaron Skonnard has written an excellent introduction to the Service Bus in a whitepaper available on the Azure website. The Azure Platform Training Kit has hands-on labs and there is sample code in the Azure AppFabric SDK.

    Thursday, September 9, 2010 5:17 AM
    Answerer
  • There's also this recent and fairly good introductory video: http://www.msteched.com/2010/Australia/COS230
    Thursday, September 9, 2010 10:47 AM
  • Hi,

     

    Imagine that we have a on-premise service (let say WCF) that hosted on your server that serve your internal client. However, for some reason, you wish to migrate the service to public so that anybody would be able to access it. You will have 2 options to achieve that:

    1. Move the WCF service to the cloud. It's possible to do so by creating a WCF web role on cloud service project inside your visual studio.

    2. For some reason, you want your service still remain "physically" on-premise, but you want to expose the functionality to public so that can reach more people (for example). In this case, service bus would be the choice to do so.

    Service Bus is a cloud service which serves as "relay" in between your on-premise service and the clients. The nice thing of service bus is no matter from what kind of connection, IP, firewall you are connected, you will easily yet have secure connection to the service bus with the same configuration.

    In addition, the service bus is designed similarly adapted from WCF. Therefore, with minimum of changes, you will be able to modify your existing WCF service to become service bus enable.

    For more detail, please refer to:

     

     

    Hope these help!

    Regards

    Wely

    • Proposed as answer by Daniell.Chong Saturday, September 11, 2010 1:15 AM
    • Marked as answer by Mog Liang Thursday, September 16, 2010 8:40 AM
    Thursday, September 9, 2010 2:01 PM