Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Microsoft Silverlight 5 and Windows Azure Enterprise Integration
Microsoft Silverlight 5 and Windows Azure Enterprise Integration

Microsoft Silverlight 5 and Windows Azure Enterprise Integration: A step-by-step guide to creating and running scalable Silverlight Enterprise Applications on the Windows Azure platform with this book and ebook

eBook
$27.98 $39.99
Paperback
$65.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Microsoft Silverlight 5 and Windows Azure Enterprise Integration

Chapter 1. Getting Started

This chapter will cover how to configure a development environment that is ready for both Silverlight and Windows Azure development.

While this book assumes a basic knowledge of Silverlight, setting up a development environment to support the Azure development requires a few additional tools and Software Development Kits (SDKs) to be installed.

It is possible to develop Windows Azure applications that are developed entirely on a developer's machine and are never deployed to the Windows Azure servers. To utilize Windows Azure, you will eventually need to deploy your application onto the Windows Azure servers. This chapter will cover how to create an Azure account and deploy directly to it with Visual Studio 2010.

In this chapter, we will discuss the following topics:

  • How to prepare a system for Azure and Silverlight developments

  • Useful tools to assist with the development

  • How to deploy applications onto the Azure platform

Installation

Getting your system ready for the development with Silverlight and Windows Azure can be tricky, as there can be a lot of service packs, tools, SDKs, and SDK toolkits that need to be installed. Microsoft has a page dedicated to getting your system ready for the Silverlight development (http://www.silverlight.net/getstarted/) and another for setting up Windows Azure (http://www.microsoft.com/windowsazure/getstarted/).

As it can be difficult to keep a track of which versions of which tools need to be installed, the recommended setup method is to use the automated Microsoft Web Platform Installer.

Visual Studio 2010

Azure and Silverlight developments can be done with both the free Visual Studio 2010 Express Web Edition (http://www.microsoft.com/express/Web) and the full versions of Visual Studio 2010 (Professional, Premium, and Ultimate). There is a system requirement of IIS 7, which requires that your development machine should be Windows Vista or above (Windows Server 2008, Windows 7, Windows 8, and so on).

This book will assume that the reader is using a full version of Visual Studio 2010, but most features should still be available in both the versions. If the reader does wish to use Visual Studio 2010 Express Web Edition, then it can be installed automatically at the same time with the Microsoft Web Platform Installer.

Web platform installer

Once Visual Studio 2010 has been installed on your computer, the recommended way for installing the required tools and SDKs is with the Microsoft Web Platform Installer (http://www.microsoft.com/web/downloads/). The web platform installer always lists the latest versions of the tools and SDKs, which save your time, trying to track them down. The web platform installer will also download and install any required prerequisites. The steps are as follows:

  1. 1. Download and install the web platform installer from http://www.microsoft.com/web/downloads/.

  2. 2. Open the Microsoft Web Platform Installer from the start menu by clicking on Start | All Programs | Microsoft Web Platform Installer.

  3. 3. In the search window, type Visual Studio 2010 service pack and select the latest service pack. In the following screenshot, Service Pack 1(SP1) was the latest available:

  4. 4. Search for Silverlight 5 and select Silverlight 5 Tools for Visual Studio 2010, as shown in the following screenshot:

  5. 5. Search for RIA Services Toolkit and select the latest version of the WCF RIA Services Toolkit.

  6. 6. Search for Azure and select the latest versions of:

    • Windows Azure SDK for .Net

    • Windows Azure Libraries for .Net

  7. 7. In order to connect to SQL Azure, the 2008 R2 version of SQL Management Studio is required. The free express version is available to be installed. Search for SQL Server Express 2008 R2 and install the following:

    • SQL Server Express 2008 R2 Management Studio Express with SP1

    • SQL Server Express 2008 R2

    Note

    Frequently updated tools

    The tools available to be installed can change frequently. Use the list as a guide to what should be installed on your PC. An easy rule of thumb is to select any option that mentions Silverlight RIA Services or Azure.

  8. 8. Once all the components have been selected and installed, the web platform installer should show those components as Installed and unable to be selected again for installation.

Installation


Getting your system ready for the development with Silverlight and Windows Azure can be tricky, as there can be a lot of service packs, tools, SDKs, and SDK toolkits that need to be installed. Microsoft has a page dedicated to getting your system ready for the Silverlight development (http://www.silverlight.net/getstarted/) and another for setting up Windows Azure (http://www.microsoft.com/windowsazure/getstarted/).

As it can be difficult to keep a track of which versions of which tools need to be installed, the recommended setup method is to use the automated Microsoft Web Platform Installer.

Visual Studio 2010

Azure and Silverlight developments can be done with both the free Visual Studio 2010 Express Web Edition (http://www.microsoft.com/express/Web) and the full versions of Visual Studio 2010 (Professional, Premium, and Ultimate). There is a system requirement of IIS 7, which requires that your development machine should be Windows Vista or above (Windows Server 2008, Windows 7, Windows 8, and so on).

This book will assume that the reader is using a full version of Visual Studio 2010, but most features should still be available in both the versions. If the reader does wish to use Visual Studio 2010 Express Web Edition, then it can be installed automatically at the same time with the Microsoft Web Platform Installer.

Web platform installer

Once Visual Studio 2010 has been installed on your computer, the recommended way for installing the required tools and SDKs is with the Microsoft Web Platform Installer (http://www.microsoft.com/web/downloads/). The web platform installer always lists the latest versions of the tools and SDKs, which save your time, trying to track them down. The web platform installer will also download and install any required prerequisites. The steps are as follows:

  1. 1. Download and install the web platform installer from http://www.microsoft.com/web/downloads/.

  2. 2. Open the Microsoft Web Platform Installer from the start menu by clicking on Start | All Programs | Microsoft Web Platform Installer.

  3. 3. In the search window, type Visual Studio 2010 service pack and select the latest service pack. In the following screenshot, Service Pack 1(SP1) was the latest available:

  4. 4. Search for Silverlight 5 and select Silverlight 5 Tools for Visual Studio 2010, as shown in the following screenshot:

  5. 5. Search for RIA Services Toolkit and select the latest version of the WCF RIA Services Toolkit.

  6. 6. Search for Azure and select the latest versions of:

    • Windows Azure SDK for .Net

    • Windows Azure Libraries for .Net

  7. 7. In order to connect to SQL Azure, the 2008 R2 version of SQL Management Studio is required. The free express version is available to be installed. Search for SQL Server Express 2008 R2 and install the following:

    • SQL Server Express 2008 R2 Management Studio Express with SP1

    • SQL Server Express 2008 R2

    Note

    Frequently updated tools

    The tools available to be installed can change frequently. Use the list as a guide to what should be installed on your PC. An easy rule of thumb is to select any option that mentions Silverlight RIA Services or Azure.

  8. 8. Once all the components have been selected and installed, the web platform installer should show those components as Installed and unable to be selected again for installation.

Useful tools


There are many tools available to assist you with the development of Silverlight and Windows Azure enterprise applications. The following is a short list of tools that may be useful while progressing through this book.

Official Windows Azure Tools for Visual Studio

The best tool for deploying to and diagnosing Windows Azure is the official Microsoft Azure Tools for Visual Studio. These tools enable you to manage your Windows Azure services while you work with Visual Studio. Some of the functionalities provided are as follows:

  • The ability to deploy directly to Azure from within the Visual Studio

  • IntelliTrace debugging of your deployed instances

  • Azure storage services access through the Visual Studio Server Explorer

The following screenshot shows the Server Explorer being used to browse the contents of the Blob storage. It can be accessed from Visual Studio from the menu bar by selecting View | Server Explorer. New accounts can then be added by right-clicking on the Windows Azure Storage node and selecting Add new storage account:

Azure Storage Explorer

The Windows Azure Tools for Visual Studio provide a basic support for browsing storage accounts to assist with debugging. However, the functionality of the built-in tools can be lacking if you are trying to upload new files or modify the metadata.

The Azure Storage Explorer (http://azurestorageexplorer.codeplex.com) is a GUI tool for viewing and modifying the data in a blob, queue, and table storage within the Windows Azure Storage. The tool is useful for quickly creating folders and uploading files such as media, or for downloading log files for viewing. It is also valuable for debugging the messages waiting to be processed in a queue, or whichever data is present in a table.

The tool is free and open source and is a good first choice when looking for a way to view the contents of your storage accounts. The following screenshot demonstrates the Azure Storage Explorer being used to browse and open an image of a Tulip from the Blob storage:

Expression Blend

If you plan to perform any serious UI work on a Silverlight application, then Expression Blend (http://www.microsoft.com/expression/products/Blend_Overview.aspx) is an essential tool. Expression Blend is a tool for designers to create XAML-based user interfaces. While it is designer focused, anyone who is creating serious Silverlight applications should be using it over the built-in designer tools within Visual Studio 2010. Expression Blend offers a rich experience while designing screens and has a number of useful features, such as design-time data (sample data while designing a screen), or the ability to create keyframe-based animations.

Expression Blend and Visual Studio 2010 integrate well together, both applications have the ability to work simultaneously with the same solution. As Expression Blend works with the same solution files, all the design work can be kept in a source control, side-by-side with the code. The following screenshot shows a Visual Studio 2010 solution that has been opened with Expression Blend. The tabs on the left-hand side are for selecting files within the project, while the tabs on the right-hand side are used for modifying properties of the selected visual elements:

Expression Blend is not a free product and must be purchased in the same way as Visual Studio 2010. If you are in a possession of an MSDN account, then you may find that it is already included in your subscription.

Silverlight Toolkit

Silverlight comes with a basic set of UI controls that can be used to create simple screens for your application. However, most applications will require additional controls. The Silverlight Toolkit (http://silverlight.codeplex.com/) provides a range of extra controls that can be used in your applications for free. These are the basic set of additional controls that your application should be using.

Two controls that are useful for working with data are the Data Grid and Data Grid Pager. Silverlight does not come with controls to display tabled data, making these controls useful for data heavy applications.

The Silverlight Toolkit also gives support for themes, allowing you to change the look and feel of all controls in your application with ease.

Other useful controls available in the toolkit include the following:

  • Charting

    • Bar chart

    • Line chart

    • Pie chart

    • Bubble chart

  • Calendar control / date picker

  • Busy indicator

  • Dock panel

Telerik Silverlight controls

The Silverlight Toolkit is a minimum set of additional controls that all projects should take advantage of, but it is highly recommended that you purchase a commercial control set.

Note

I have personally used a number of different control packs from different vendors, but I consistently come back to using the Telerik controls (http://www.telerik.com/products/silverlight.aspx). Their controls have a wide range of functionality, are updated frequently, and the technical support is exceptional. Any issues I have had with implementing the controls in my applications have been promptly addressed every time.

A short list of the available controls includes:

  • Advanced charting

  • High performance datagrids

  • Sparklines

  • Windows that can be docked and tabbed

The controls can be pricey, but the amounts of time they will save a development team quickly recover the costs.

Silverlight Spy

Silverlight Spy (http://firstfloorsoftware.com/silverlightspy/) is a runtime inspection tool useful for debugging Silverlight applications. Silverlight Spy allows you to explore the visual hierarchy of your screens at runtime, which can assist when you are trying to discover why a control is missing a border, or is on the wrong side of the screen.

There are many other functions that the tool allows, such as the ability to inspect the isolated storage of the application, real-time performance metrics of your Silverlight application, and event monitor for watching in real time as events are raised.

The application is not free, but it may be worth the purchase if you find yourself in a tricky debugging situation.

LINQPad

LINQPad (http://www.linqpad.net/) acts as a scratchpad that allows you to quickly compile and execute short snippets of C#, VB.Net, or F# code. It may not have any direct impact on your Azure development, but it is a useful tool to be stored in your collection.

The main use of LINQPad is to quickly write and execute LINQ statements against data sources. This quick execution cycle allows you to tweak and modify your LINQ queries quicker than trying to recompile and execute an entire application.

The power of LINQPad is its ability to query against a variety of data sources directly. A few of the supported sources include:

  • LINQ to SQL (SQL Server)

  • LINQ to XML

  • SQL Azure

  • Azure tables

  • OData endpoints

  • WCF data services endpoints

The ability to query against OData endpoints directly can help develop applications against data from other sources. The following screenshot demonstrates the ability to query against the Netflix endpoint at http://odata.netflix.com/v1/Catalog/. Using LINQPad, you are able to construct a standard LINQ query to retrieve all movie titles that were released in the year 1990 and have an average rating over three stars:

Creating a Windows Azure account


Signing up for a Windows Azure account is a relatively easy process. Go to http://azure.com/ and click on Sign up to begin the sign up process.

Windows Azure is a consumption-based hosting service that requires you to pay for the resources that you consume. Microsoft charges for the usage of each distinct service that they offer, based on the consumption of that individual resource or service, for example, CPU hours, Internet bandwidth, storage, AppFabric, or SQL Azure. The various components of Windows Azure will be explored further in Chapter 2,Introduction to Windows Azure.

Microsoft has many promotional offers that give you a certain amount of resources free each month to assist with the adoption and development of your Azure application. If you have any sort of agreement or subscription with Microsoft (such as a MSDN, BizSpark, DreamSpark subscription, or are part of the Microsoft Partner Network), it may be worth checking whether you are eligible for any free trials.

You will be shown a number of different account types. They all differ by cost and what base resources you will get each month. Anything exceeding those quotas will be charged, based on consumption.

Once an account has been created and billing has been sorted out, then you are past the difficult stage and can move onto deploying an application onto your new service.

Note

Watch your consumption carefully during development

During development, it is easy to deploy your application onto the servers to see it running in the cloud. It is also easy to forget that you deployed your application and had it configured for a high number of computer instances. If you go over your monthly allocation of the free usage, Microsoft will charge you. This has happened to me on more than one occasion, and finding the bill on your credit card is never a good feeling. Set a calendar reminder for Friday afternoons to check that your deployments have been pulled down, before you go home for the weekend, to avoid this.

Deploying to Windows Azure from Visual Studio 2010


In order to be able to deploy a Windows Azure application onto the Windows Azure servers, you will be required to create an hosted service that will host and execute your code and a storage account that will hold the packaged Azure application before the deployment. Deploying an Azure application onto the hosted service from Visual Studio 2010 will require setting up certificates.

The next section will explain the entire process of deployment end-to-end. Later chapters in the book will describe how to run and debug applications on the local developer machine.

Creating the hosting service

In order to create the hosting service, you will need to complete the following steps:

  1. 1. Log on to the Windows Azure Management Portal at https://windows.azure.com.

  2. 2. Go to the Hosted Services, Storage Accounts & CDN section and click on Create a New Hosted Service.

  3. 3. Give the hosted service a friendly name for you to keep track of and also a suitable URL prefix. The URL prefix is public, so it must be globally unique. In this example, the complete URL https://packtdemoapp.cloudapp.net has been used.

  4. 4. Select the option to Create a New Affinity Group. On the next screen, when asked about the location where your services should be hosted, select one that is close to your physical location. For this example, South Central US has been selected. Creating a new affinity group allows you to group your services together at the same physical location. This is useful for making sure that the servers hosting and executing the Azure application are in the same data center as the storage accounts:

    Note

    Affinity groups

    Ensure that while deploying an Azure application, the hosted service and the storage account are hosted in the same data center by using affinity groups. Having your services hosted in different data centers can cause a lot of latency in your application, as well as potentially cause you to be charged with bandwidth costs between data centers.

    Just selecting a location for your service, without setting an affinity group does not guarantee that your services will be in the same data center in that location. Confirm that the affinity group is set on your services to avoid this.

  5. 5. If you had an Azure application already packaged, you could select to immediately upload and deploy the application on this screen. In this example, we are deploying to Azure directly from Visual Studio 2010, so select Do not deploy.

  6. 6. Click on OK to create the hosted service, which will be ready for us to deploy an Azure application, as shown in the following screenshot:

Creating the storage account

When the Windows Azure Management Portal is used to deploy your Azure application, you can directly upload your packaged Azure application onto the Azure servers. However, when deploying from Visual Studio 2010, the packaged application needs to be stored in the Azure Storage, so that it can be deployed onto the Azure servers from there.

Instead of the Windows Azure Management Portal, create a storage account and again give it a suitable endpoint name. The following screenshot shows an endpoint being created within the South Central US affinity group with the endpoint name packtdemo:

Deploying applications onto Azure servers

In order to be able to deploy an application onto Azure servers, you will first need an application to deploy. Next, you will create a new Azure project that will be used as our example:

  1. 1. Open Visual Studio 2010, create a new Windows Azure Project, and give the project a suitable name, such as PacktAzureDeploymentDemo, as shown in the following screenshot:

  2. 2. Add a single ASP.NET Web Role into the project. An Azure solution with a single web role added to it can be seen in the following screenshot. Other roles are visible and selectable, but this exercise will only be utilizing the web role:

  3. 3. Visual Studio will create the solution with two projects as can be seen in the following screenshot. The first project PacktAzureDeploymentDemo is the Azure project that defines the metadata for all of the roles and instances that will be created when deployed onto Azure servers. The second project WebRole1 is a standard ASP.Net project, where all the logic of your project will reside:

  4. 4. Once the project has been created, feel free to modify the Default.aspx file in WebRole1 slightly, by adding your own name to the header similar to what is shown in the following screenshot. In this way, once the application is deployed, you can see that it is indeed your application:

The project is now ready to be deployed onto the Azure servers.

Creating certificates to authenticate deployment

In order to allow Visual Studio 2010 to communicate with the Windows Azure deployment API, management certificates are required to authenticate the requests. Visual Studio has a wizard that helps with the creation and uploading of the required certificates:

  1. 1. With your Azure solution still open, right-click on the Azure project (not the ASP.Net project) and select Publish, as shown in the following screenshot:

  2. 2. This will bring up a new Publish Windows Azure Application dialog box as shown in the following screenshot. If you had previously configured your credentials, you could select them here. As this is the first time you are opening this dialog box, you will be required to configure your credentials. Click on Sign in to download credentials to begin the process:

  3. 3. A web browser will be opened and request that you sign into your Azure account. Once you have signed in, you will be prompted by the browser to download the credential file.

  4. 4. Once the credential file has been downloaded, you can return to Visual Studio 2010 and import the file.

  5. 5. Once your credentials have been configured, you will now be able to select the hosted service and environment to deploy your application (production or staging). More details about the different deployment environments will be discussed in later chapters. A deployment to production has been chosen in the following screenshot:

  6. 6. Click on Publish and Visual Studio 2010 will begin the process of deploying your application. The following screenshot shows the starting of the deployment process. The Visual Studio packages the project, connects to the Azure servers, and then uploads the package:

  7. 7. The deployment process has been completed in the following screenshot. The package was successfully uploaded and the web role was initialized and brought online, ready to service user requests. Be aware that the first deployment to your instances can take a long time, sometimes up to 15 minutes before they are fully running. There are ways to shorten the deployment time during the development by using web deployment after the initial deployment:

    Note

    Web deployment

    To shorten the development cycle, it is possible to use web deployment to update an existing deployment. You can only have a single compute instance running and the changes made are only temporary until the compute instance restarts. This is a development enhancer and should never be used on a production deployment. More details about this feature can be found on the Windows Azure Tools blog at the following URL:

    http://blogs.msdn.com/b/cloud/archive/2011/04/19/enabling-web-deploy-for-windows-azure-web-roles-with-visual-studio.aspx

  8. 8. Once Visual Studio 2010 has completed the deployment and the servers have reported back that the service has started successfully, you will finally be able to view your application.

  9. 9. Click on the website URL in the Windows Azure Activity Log window to browse to the site, this will be the URL you configured when creating the hosted service. If all goes well, you should see your website running with your modifications, similar to the following screenshot:

  10. 10. Remember to remove your deployment when you are finished, so that you are not charged for it. You can do this through the Azure Management Portal. You can also do it quickly from within the Visual Studio by right-clicking on Deployment in the Windows Azure Activity Log window and selecting Delete.

Summary


You have now seen how to prepare your system for development with Silverlight and Windows Azure. Previously, setting up a machine could be difficult, but it has been made simpler with the release of the Microsoft Web Platform Installer.

There are also a wide range of tools that can be utilized to assist the development of applications. Explore the options available to you and see what helps to speed your own development times.

In the next chapter, a more detailed introduction to the Windows Azure Platform will be provided.

Left arrow icon Right arrow icon

Key benefits

  • This book and e-book details how enterprise Silverlight applications can be written to take advantage of the key features of Windows Azure to create scalable applications
  • Provides an overview of the Windows Azure platform and how the different technologies can be integrated within your enterprise application
  • Examines ways that distributed asynchronous systems can be created to allow scalable processing
  • Learn from a distinguished author with tips, tricks, and hands on experience to create scalable enterprise Silverlight applications that run on the Windows Azure platform

Description

Microsoft Silverlight is a powerful development platform for creating rich media applications and line of business applications for the web and desktop. Microsoft Windows Azure is a cloud services operating system that serves as the development, service hosting, and service management environment for the Windows Azure platform. Silverlight allows you to integrate with Windows Azure and create and run Silverlight Enterprise Applications on Windows Azure This book shows you how to create and run Silverlight Enterprise Applications on Windows Azure. Integrating Silverlight and Windows Azure can be difficult without guidance. This book will take you through all the steps to create and run Silverlight Enterprise Applications on the Windows Azure platform. The book starts by providing the steps required to set up the development environment, providing an overview of Azure. The book then dives deep into topics such as hosting Silverlight applications in Azure, using Azure Queues in Silverlight, storing data in Azure table storage from Silverlight, accessing Azure blob storage from Silverlight, relational data with SQL Azure and RIA, and manipulating data with RIA services amongst others.

Who is this book for?

If you are an application developer who wants to build and run Silverlight Enterprise applications using Azure storage, WCF Services, and ASP providers, then this book is for you. You should have a working knowledge of Silverlight and Expression Blend. However, knowledge of Azure is not required since the book covers how to integrate the two technologies in detail.

What you will learn

  • Learn the components that make up the Azure platform and know which components to use in each of your applications
  • Understand how to partition your relational database into shards to improve scalability and performance
  • Discover how to use frameworks such as WCF RIA Services to speed up the development of your line of business applications
  • Learn how to configure your development environment quickly by using the Microsoft Web Platform Installer
  • Deploy your enterprise applications onto Windows Azure servers
  • Use AppFabric caching to improve the performance of your applications
  • Understand what Azure Storage is, how it compares to SQL Azure, and when to choose one over the other
  • Expose your data via OData to allow Silverlight, javascript, and other web enabled technologies to access and query your data

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Mar 19, 2012
Length: 304 pages
Edition : 1st
Language : English
ISBN-13 : 9781849683135
Vendor :
Microsoft
Category :
Languages :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Mar 19, 2012
Length: 304 pages
Edition : 1st
Language : English
ISBN-13 : 9781849683135
Vendor :
Microsoft
Category :
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 120.98
Microsoft Silverlight 5 and Windows Azure Enterprise Integration
$65.99
MVVM Survival Guide for Enterprise Architectures in Silverlight and WPF
$54.99
Total $ 120.98 Stars icon

Table of Contents

12 Chapters
Getting Started Chevron down icon Chevron up icon
Introduction to Windows Azure Chevron down icon Chevron up icon
Hosting Silverlight Applications in Azure Chevron down icon Chevron up icon
Using Azure Queues with Silverlight Chevron down icon Chevron up icon
Accessing Azure Blob Storage from Silverlight Chevron down icon Chevron up icon
Storing Data in Azure Table Storage from Silverlight Chevron down icon Chevron up icon
Relational Data with SQL Azure and Entity Framework Chevron down icon Chevron up icon
RIA Services and SQL Azure Chevron down icon Chevron up icon
Exposing OData to Silverlight Applications Chevron down icon Chevron up icon
Web-scale Considerations Chevron down icon Chevron up icon
Application Authentication Chevron down icon Chevron up icon
Using Azure AppFabric Caching to Improve Performance Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3
(4 Ratings)
5 star 25%
4 star 75%
3 star 0%
2 star 0%
1 star 0%
Brian Noyes May 25, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I think this book is an outstanding read and resource for developers and architects who are getting started with Windows Azure and what is involved in building cloud-based solutions. It does a great job of covering most of the capabilities exposed by the Windows Azure platform, and tying them into a Silverlight application context through the samples presented throughout the chapters. You do not have to be a Silverlight client developer to benefit from this book - any .NET developer who wants to start building applications leveraging the Windows Azure cloud can start with this book to get a great sense of what the individual features of Windows Azure are and how they can tie into either a web-based front end client like Silverlight or ASP.NET or even how to tie them in with back-end services that support something like a WPF or Metro client app (even though those are not explicitly covered in the book).I won't do a chapter-by-chapter break down of the book, a quick look at the TOC will give a good sense of what is covered. One of the main downsides to this book I think is the title. It is less about Silverlight than it is about Windows Azure (and as mentioned, you definitely don't need to be a Silverlight developer to get a lot out of the book if you are new to Azure), and the "Enterprise Integration" part of the title is kind of vague and misleading. The "integration" part is one of the strong aspects of the book, it does a good job of first educating you on what each of the Windows Azure services is, and then shows how to build applications that leverage one or more of those services in an integrated fashion.You are not going to learn how to build Silverlight applications from this book, or even become an expert in Windows Azure. Each feature of Azure really needs a book unto itself to achieve expert level knowledge in it. But this book is great for building the big picture of what each Windows Azure capability is, what it does for your architecture, how to use it from a basics perspective, and also how to tie it in with other Azure services and your application architecture.Some of the things you get expose to in the book are:- How to get your development environment set up to do Azure development, as well as a good survey of related and useful tools for building Silverlight and web client application on Azure- A good survey of all the Windows Azure features- How to get web client and Silverlight client applications and services hosted in Windows Azure web roles- Working with Azure queues, blob storage, and tables- Working with SQL Azure, Entity Framework, WCF RIA Services, and OData (very light coverage on the latter three, but enough to see how they fit into an Azure deployment scenario on top of SQL Azure)- Basics of securing your Azure hosted applications- Scaling and using AppFabric CacheBottom line, think it is definitely a good read for someone wanting to get their hands dirty for the first time doing some cloud Azure development, especially (but not only) if you are a Silverlight developer.
Amazon Verified review Amazon
Neil Mackenzie Jun 07, 2012
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Late last year I was looking for information on Silverlight and Windows Azure and came across a RAW (preview) eBook named Microsoft Silverlight 4 and Windows Azure Enterprise Integration written by David Burela. The eBook looked to be just what I needed so I bought it and found it to be helpful. David has now finished the book which Packt has released as Microsoft Silverlight 5 and Windows Azure Enterprise Integration.There are a lot of books that go deep into Windows Azure technology, such as my Microsoft Windows Azure Development Cookbook. Going forward I think we will see more books like David's that show how to integrate Windows Azure with other technologies such as, in this case, Silverlight. The book is targeted at Silverlight developers who want to use Windows Azure to provide back-end services such as scalable storage with the Windows Azure Storage Service and relational storage in SQL Azure.The primary issue with using client-side technologies to access data stored in Windows Azure is authentication. Both the Windows Azure Storage Service and SQL Azure require that the caller be authenticated using either an authentication token or a password. It is not safe to expose these credentials in client-side code where they could be accessed by a malicious user. This book primarily focuses on how to use Windows Azure compute services to proxy access to secured Windows Azure features from Silverlight.The book begins with a chapter describing how to get started with Silverlight and Windows Azure and provides information on additional tools that can facilitate development. The next chapter provides an overview of Windows Azure. Chapter 3 brings the introductory material to a conclusion by showing how to host a Silverlight application in Windows Azure.The book continues with a sequence of chapters describing the queue, blob and table features of the Windows Azure Storage Service. Each chapter describes the feature and then provides a fully worked out sample showing how to access it from Silverlight. Several chapters provide various ways to access SQL Azure data from Silverlight and, again, come with fully worked out samples. Techniques covered include Entity Framework, RIA Services and OData. Finally the book closes with a few chapters discussing: how to scale-out the Windows Azure service (CQRS); authentication; and the Windows Azure Caching Service.The coverage of Windows Azure is not as detailed as would be found in a book focused exclusively on Windows Azure. However, I like that the book provides a convenient reference for various ways of accessing secured Windows Azure resources from Silverlight. Indeed, the techniques are general enough to be applicable to any client accessing secured Windows Azure resources.(Full disclosure) Packt asked if I would be willing to review the book on my blog and provided an eBook to allow me to do so. However, as I pointed out earlier, I actually bought my own copy of the book last year. You can never have too many copies of an eBook.
Amazon Verified review Amazon
Gizi Ben-Tovim Sep 27, 2012
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
I found the book very useful to start using Azure.It gives a very good list of required components and tools and where to get them from.It also has a good review of Azure features and how to use them from Silverlight.What I missed, is more material about how to deploy and update the projects on the cloud, there are only a few pages about this, and only from Visual Studio.Also nothing was said about the old and new Azure portals and how to use them, which I think could save time for the beginner.
Amazon Verified review Amazon
Adwait Ullal May 09, 2012
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
This book covers the basic of Windows Azure development using Silverlight as a presentation tool. The author assumes reader's familiartiy with Silverlight.Though it delves into the intricacy and differences of developing in Azure, it does not cover topics such as:- (Application) Integration- Application Monitoring- Release and Change managementand other "enterprise" topics.A good book for a Azure beginner who knows Silverlight and is ready to make the leap. Enterprise developers and architects will be disappointed.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.