Windows Azure Update: .NET SDK 2.0, New Libraries, Management, Diagnostic, and Administration Tools, Training Kit

    image

    The Windows Azure platform received another major update. Last week, Scott Guthrie announced the release of a new version of .NET SDK 2.0 in his blog , including new tools with Visual Studio integration for managing repository components, diagnosing applications, and publishing websites.

    This update introduces new features for working with the Service Bus. In addition, the Windows Azure platform has received a large number of new features for automating administrative tasks using PowerShell. Finally, an updated Windows Azure Training Kit was released, which contains dozens of labs for self-study of the cloud platform.

    Below you will find a brief description of all the innovations. You can download all new tools at this link . SDK source code is available on GitHub .

    Website Publishing Enhancements


    The .NET SDK 2.0 update offers a deeper integration of Windows Azure tools with Visual Studio. Publishing projects to Windows Azure Web Sites is now more deeply integrated and allows you to register your account subscription in the IDE to quickly publish web applications and access subscription items from Server Explorer.

    image

    This allows you to select the required Web Sites service instance for publication without manually downloading the publication profile from the administration portal.

    Manage Windows Azure Web Sites inside Visual Studio


    The Windows Azure Web Sites subsystem has also received other new administrative features with integration with Visual Studio. Now using Server Explorer Studio you can manage instances of Web Sites.

    image

    You can stop and start sites, configure settings that were previously only available through the Windows Azure admin panel or through the command line.

    Obtaining real-time logging diagnostic data


    Another major update to the .NET SDK 2.0 update is the new ability to receive real-time website log diagnostic data.

    Developers can use the standard System.Diagnostics assembly and the Trace class to log diagnostic messages.

    image

    Using Web Sites instance management, developers can enable registration of such logs in the settings of the administration portal or through the new Visual Studio functionality for administering Web Sites.

    Then, to obtain diagnostic information in real time, the developer can use the new .NET SDK 2.0 functionality, which allows you to receive log events in real time:

    image

    This feature is also available for cloud service roles. The developer can set the parameters for collecting diagnostic data and choose what data to collect in the cloud service settings.

    image

    Diagnostics of cloud services can also be configured using the configuration file:

    image

    Then, diagnostic data can be viewed in real time using the new Visual Studio tools, for example, the screenshot below shows SQL Server errors received from the cloud service in real time:

    image

    To stop receiving in real-time logs, a developer just needs to turn off streaming. The collected data can be stored in the cloud storage of Windows Azure Table Storage, from where it can then be requested using the new query building tool:

    image

    The new real-time log streaming feature is also available for command line tools .

    Support for new types of virtual machines for publishing cloud services


    Along with the recent announcement of the global availability of Windows Azure infrastructure services, new types of virtual machines with an increased size of available RAM of 28 GB and 56 GB were also presented (for details, click here ).

    With the .NET SDK 2.0 update, developers using Visual Studio can host cloud services in new types of virtual machines:

    image

    Increased cloud hosting speed


    In the past, when publishing an updated version of a cloud service through Visual Studio, the update process took place sequentially for each application instance in the cloud. For example, if a cloud service was scaled to 10 instances, then the update was performed sequentially instance after instance so that the service remains available to users even during the update.

    In the .NET SDK 2.0 update, the “Simultaneous Update” feature has been added, which allows you to specify the process of simultaneously updating all instances of cloud services roles. This significantly increases the update speed of the entire deployed solution, but for some time leads to unavailability of the service.

    image

    Cloud Storage Toolkit


    Tools for working with cloud storage Windows Azure Storage previously allowed to work with queues and blobs. The current .NET SDK 2.0 update in Visual Studio adds full-featured tool support for working with tables.

    image

    Developers can create and delete tables, populate tables with data, query and filter data in tables.

    image

    image

    Improvements to the Windows Azure Service Bus messaging library


    The most significant innovations in the current update relate to the Windows Azure Service Bus messaging service. Support for the following functions has been added to the .NET SDK 2.0 in the Service Bus client library:

    • support for the Message Browse function for the ability to view a message in the queue without blocking or selecting it from the message queue;
    • a new model of working with messages Message Pump - allows you to work with the message queue and incoming messages in push-style, instead of cyclic poll of the queue;
    • the ability to automatically delete idle entities: queues, subscriptions, topics.

    See the subsection “Update Details” at the end of this article for links to a more detailed description of each new product.

    New PowerShell Commands for Automating Administration Tasks


    The current update has added a huge number of new commands for Windows Azure cloud resource administration tools through PowerShell :

    • Get-AzureWebsiteLog - for streaming diagnostic information and website logs;
    • Set-AzureDeployment –Mode Simultaneous — for setting the function of simultaneous placement of instances of cloud services;
    • creating new types of virtual machines through the New-AzureVM and New-AzureQuickVM teams;
    • New cmdlets for managing service bus namespaces
    • new cmdlets for managing add-ons in the Windows Azure Store, getting a list of add-ons, purchasing new add-ons and viewing already purchased ones, and so on, for example, a team for acquiring MongoDB with a free plan and hosting in West US:
      New-AzureStoreAddOn myMongoDB –AddOn mongolab –plan free –Location “West US”
    • cmdlets for supporting CRUD operations with Windows Azure Storage blobs, container management, copying, loading and unloading blobs;
    • New cmdlets to support the scaffold function for web and cloud service worker roles: Add-AzureWebRole, Add-AzureWorkerRole, New-AzureRoleTemplate.

    For a complete list of new PowerShell cmdlets with descriptions of their functions, see the following link .

    Update Details


    Above are brief descriptions of the new features of the current update. You can find more complete information on each of the innovations at the following links:

    Announcements:

    MSDN:

    Channel9 Video:

    New features of Service Bus:

    Announcements of new Service Bus:

    Windows Azure Training Kit Update - April 2013


    One week with the release of the .NET SDK 2.0 update, the updated Windows Azure Training Kit was released , which offers dozens of presentations, projects, and labs for independent study of all aspects of the cloud platform by developers and IT professionals.

    The April update introduces the following content updates:

    • New presentation: Windows Azure Mobile Services and Android;
    • New lab: Windows Azure Mobile Services and Android;
    • New lab: Windows Azure Mobile Services and Windows Phone;
    • New presentation: Introduction to Windows Azure HDInsight Service;
    • New Lab: Introduction to Windows Azure HDInsight;
    • Updated content for IT professionals;
    • Updated presentations with new features in Windows Azure: Windows Azure Overview, Windows Azure Web Sites, Windows Azure Virtual Machines & Windows Azure Mobile Services.

    Download the Windows Azure Training Kit from the following link .

    Do not miss


    Do not miss the previous announcements of updates to the Windows Azure platform, which are released almost every week:


    useful links


    Below you will find links to resources that will help you use the Microsoft cloud platform:


    And if you are already developing on Windows Azure or want to find developers of your service, visit the appprofessionals.ru service .

    We will be happy to answer your questions at azurerus@microsoft.com . And look forward to seeing you in the Windows Azure Community on Facebook . Here you will find experts (do not forget to ask them questions), photos and a lot of news.

    Video recordings of Windows Azure Summit reports and video interviews that took place during a large cloud conference.

    Also popular now: