An Avanade Blogging Community

Welcome to An Avanade Blogging Community Sign in | Join | Help
in Search

Cloud Nine

  • AppFabric Software Bus drives the Hybrid Cloud

    AppFabric makes possible the Hybrid Cloud providing the required integration technologies. When companies discover the cost advantages offered by the Cloud (the accountants, not the CIO) and the competitive advantages provided with the change of the IT cost scheme from fixed to operational, perhaps they would maintain behind corporate firewalls their core business rules and data but migrating the rest to the Cloud and thus implementing the Hybrid Cloud.

    Microsoft Windows Azure platform AppFabric provides the required integration technologies to make this happen, Software Bus and Access Control Service.

    The Echo Service Bus sample provided in the Windows Azure platform AppFabric SDK is a very good exercise to see what is offered. In minutes you can have a console application behind firewalls communicating with another one anywhere. You can perceive the flexibility provided: server and client can be hosted in the Cloud or behind firewalls, can be ASP.NET or Java (using the AppFabric SDK for Java), can be process oriented or user oriented (web) applications, etc.

    With a little development effort you can have a Java server and a Ruby client each hosted anywhere (for example one behind firewalls and the other in Amazon EC2) communicating via Azure Service Bus that also provides a very good cost structure (much better than a VPN for example). Is really impressive to see SB in action and how easily you can cross enterprise boundaries.

    The magic is provided by the relay mechanisms used. They are Firewall/NAT friendly because all you need is to open few outbound TCP ports in your firewall. In order to use AppFabric you need to permit outbound traffic on TCP port range 9350-9353 to the IP range associated with your selected regional data center. The good news are that normally this outbound traffic is not filtered at all because is not dangerous. Wherever I tried I reach the endpoint without any change in the apps or IT help.

    In the Echo sample the server initiates the conversation opening the outbound port to communicate with the SB and then setting up a send/receive communication channel with it. The same for the client, it opens an outbound port with SB and then sets up a bi-directional channel with the service published in it. Finally SB puts the two sides into communication relaying messages from one side to the other.

  • Having DinnerNow.NET running

    When opening the solution in Visual Studio the IIS configuration changes are requested:

    • IIS 6 Metabase and IIS 6 Configuration Compatibility
    • Windows Authentication

    You should use also an administrator account to run Visual Studio.

    A description of the different scenarios can be found at DinnerNow.net Scenario Walkthrough.pdf in the documents folder.

    I found an error when trying to SignIn that's the first suggested operation. The signin page is navigated using HTTPS but the HTTPS binding required on IIS is not found after installation. It seems there is an error on the BuildSSL.vbs installation script on Windows 7. The solution is to add the binding using the installed DinnerNow server certificate as described here.

    To prepare the MMC demo I need to build the project DinnerNow.Management.PS. After the build I can found the DinnerNow snapin to include in the MMC console.

    To reset the demo: stop Default Web Site from IIS and select again "Build and Configure".  Ignore fails, they have to do with duplicate certs, etc. Start Default Web Site and start the demo.
     
  • DinnerNow.NET Pre-Installation Checklist

    The goal is to have DinnerNow.NET running on Azure using AppFabric SB and ACS. If you are new on this post you can start from here.

    DinnerNow setup creates a new icon in your desktop from where you can check the software stack required to run it.

    I get an error installing Windows Mobile Device Center 6.1 like "a required component is not found". Great message. To solve the error I need to install Media Feature Pack for Windows 7N and Windows 7KN from here.

    I install SQL Server 2008 Express with Tools because SQL Server Management Studio should be required afterwards. There is no SP1 for this pack and a complete Service Pack installation is needed.

    When the installation checklist is complete the configuration utility enables the "Build and Configure" button from where you can deploy the app locally. A desktop icon is created to browse the app when deployment ends.

    Next step is to have DinnerNow running.

  • Starting an AppFabric project

    Today I started an Azure project based on the Clemens Vasters PDC09 presentation "Building Hybrid Cloud Applications with Windows Azure and the Service Bus" that you can found here.

    The presentation describes a migration for an ASP.NET application to Azure using Windows Azure and AppFabric Software Bus. Source code and instructions can be found here.

    The started project wants to complete the samples with the use of AppFabric Access Control Service, providing good documentation about the process and hoping that could be useful to someone.

    First step: start writing this blog and preparing a VM to host the demo. The idea is to host the VM on avanade labs where it can be used for presentations and learning about AppFabric = "Service Bus" + "Access Control Service". I prepare the VM with the stack required to run the DinnerNow ASP.NET sample that you can found at dinnernow.net.

    Next post in this series is here.

This Blog

Post Calendar

<September 2010>
SuMoTuWeThFrSa
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789

Syndication