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! 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
Free Learning
Arrow right icon
Microsoft Azure: Enterprise Application Development
Microsoft Azure: Enterprise Application Development

Microsoft Azure: Enterprise Application Development: Straight talking advice on how to design and build enterprise applications for the cloud

eBook
€8.99 €28.99
Paperback
€37.99
Subscription
Free Trial
Renews at €18.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 Azure: Enterprise Application Development

Chapter 2. The Nickel Tour of Azure

So, we're enterprise developers, architecting an application to enhance some core business processes. The decision makers need more information about Azure before they're sold on a cloud-based application. They want to know what can Azure do, will we be able to include all the features we need, and will it cost more to develop for Azure?

Microsoft's marketing group tends to work with a thin thesaurus, so if you're a fan of confusing product names, Microsoft does not disappoint with their Azure offering. We'll clear up the mystery of three Azures and four fabrics.

This chapter is by no means an exhaustive answer to the questions that will be raised and, as the technology is changing so rapidly, it's important to augment this chapter with some additional research before committing to any features of the application.

Explaining Azure to the managers


We aren't all graced by management with a strong technical background, and yet they need a deeper dive into the shallow end to achieve a win-win situation and obtain senior management buy-in to leverage this new platform. Sometimes, it's like you actually do work in the same office as Dilbert.

As we mentioned before, Microsoft Azure actually refers to a menu of services offered by Microsoft; each of these services is contained in the Azure Fabric. The Azure Fabric is essentially every piece of hardware and the software that monitors and controls the hardware. Every server, every firewall, every load balancer, failover services in the event of a failure, the Azure portal where we provision and deploy our application, create and check the health of our current services–they're all part of the Azure Fabric. Fabric in this case has a very large definition–as far as the Azure universe is concerned, the Azure Fabric is the continuum of space and time.

The three...

Windows Azure


The service offering that has commonly been referred to as Azure is actually Windows Azure. For the rest of this book, when we refer to Azure, we'll call it Windows Azure.

Windows Azure is just what it sounds like–it is the operating system part of the cloud, with a few other features. The most inflexible part of the Azure universe is the fact that Windows Azure is not designed to provide customized virtual machines; (custom VHDs are a newly announced offering at PDC10, but are a different service than Windows Azure) we are limited to a 64-bit version of Windows Server 2008. We can create VMs of different sizes (the sizes relate to costs), and the OS is highly configurable, but it must remain Windows.

Windows Azure encompasses two areas of functionality–the compute service and the storage service. The next diagram shows how these services fit into the Azure universe. Additionally, there is an Azure Fabric Agent that connects the VM to the rest of the cloud. The Fabric Controller...

SQL Azure


Originally known as SQL Data Services, SQL Azure for many people is the most exciting item on the Microsoft Azure menu.

SQL Azure is an almost feature complete implementation of SQL Server 2008 Geographic data types are now supported. Unlike Table Storage, SQL Azure is completely relational, with a defined schema, supports T-SQL, and we can connect via ADO.NET or ODBC.

We can manage our SQL Azure databases through the SQL Azure Portal, directly via sqlcmd, or through SQL Server Management Studio 2008 R2. At the time of writing, SQL Server 2008 R2 is the most recent release of SQL Server, and is the only SQL Server Management Studio (SSMS) version that can completely connect to SQL Azure. Microsoft provides a SQL Azure Database Manager (formerly known as Project Houston), an online tool that is used to manage SQL Azure databases. There are also a couple of third-party tools, such as SQL Azure Manager and the Omega Web Client, for managing SQL Azure. Undoubtedly, more tools will...

Windows Azure platform: AppFabric


AppFabric is another part of Azure with "fabric" in its name. AppFabric was originally known as BizTalk Services, and then later as .NET Services. Unlike the Azure Fabric or the Azure Fabric Agent, AppFabric is not a low-level controller/manager of the virtual machines. Instead, AppFabric provides the Service Bus, Access Control services, and connection components.

The Service Bus is the functionality that serves as a bridge between on-premises applications and Windows Azure. The Service Bus also facilitates bidirectional communication between two non-Azure applications.

Bridging local and Azure applications is useful in certain cases such as if there is information in our local warehouse management system (WMS) we want to make visible to our clients via an Azure-based portal we develop. If our WMS has an API we'd like to manifest directly to our partners, we can also use the Service Bus to abstract the WMS API. In this case, we'd register our WMS's endpoint...

Codename Dallas


Project Dallas is Microsoft's entry into the new data-as-a-service (DaaS) market. The goal of Dallas is to provide a single authoritative source and a single billing method for public data. Think of Dallas as a "data marketplace", where we can buy subscriptions to data useful for our applications, and where data providers can sell their data.

The data in Dallas are accessible via a REST API, and can be consumed by applications on any platform. Support will be for SQL Server and SQL Azure to directly consume Dallas data, but this has not been delivered at the time of writing.

More information on Codename Dallas can be found at http://www.microsoft.com/windowsazure/dallas/.

Development Fabric


The Development Fabric is yet another part of Azure with "fabric" in its name. The Development Fabric is a specialized Windows Azure environment used for local development. It is akin to the Azure Fabric, but is hosted on a single local machine. We install the Development Fabric with the Windows Azure SDK and other tools. We'll use the Development Fabric as we create our sample application through the rest of this book.

Considerations for the ASP.NET developer


It's easy to think developing a web role is just the same as developing a traditional website, but that's not the case. The web role is not just a website, but a complete ASP.NET web application. If we have multiple instances of our web role application running, the Azure load balancer doesn't guarantee a user's connections will all be made on the same VM. One consequence of this is that our application should either be stateless, or use the database (or table/blob) or cookies to maintain session state. In-process session state isn't an option.

Imagine a local web farm with a load balancer that does not maintain session state. The ideal solution in this case would be to use some type of session storage to maintain state across servers. This is also the case with Windows Azure web role instances. We cannot maintain state in-process if we bounce between machines; however, the state can be shared using our table/blob storage or our SQL Azure service...

How are Azure costs calculated?


Microsoft Azure has two methods for calculating the monthly service charges – consumption pricing or commitment (subscription) pricing. Because Windows Azure, SQL Azure, and AppFabric are three independent services, each is priced separately and with its own rates. The charges may seem like nickel-and-diming as they are broken out by the different features of each service, but having the charges broken out allows us to utilize and pay for only what we use.

In addition to production-scale pricing plans, Microsoft also offers limited-use plans suitable for development and conference room pilot efforts. For the most current rates and offers, visit http://www.microsoft.com/windowsazure/pricing/. We're not going to list the base rates here, as they are likely to change over time. Instead, we'll look at how the charges are applied to each service in the next section.

Cloud services such as Amazon EC2 bill in a manner close to what Microsoft does, yet offer a little...

Summary


In this chapter, we had a quick look at the features of Microsoft Azure and how to calculate the costs of the Microsoft Azure platform. From Windows Azure, to SQL Azure, to Dallas, Microsoft has a complete and useful cloud offering. We'll spend the rest of this book examining most of these features of Windows Azure, SQL Azure, and AppFabric in greater depth, and building a sample application using these features.

Left arrow icon Right arrow icon

Key benefits

  • Build scalable enterprise applications using Microsoft Azure
  • The perfect fast-paced case study for developers and architects wanting to enhance core business processes
  • Packed with examples to illustrate concepts
  • Written in the context of building an online portal for the case-study application

Description

Microsoft's Azure platform has proved itself to be a highly scalable and highly available platform for enterprise applications. Despite a familiar development model, there is a difference between developing for Azure and moving applications and data into the cloud. You need to be aware of how to technically implement large-scale elastic applications. In this book, the authors develop an Azure application and discuss architectural considerations and important decision points for hosting an application on Azure. This book is a fast-paced introduction to all the major features of Azure, with considerations for enterprise developers. It starts with an overview of cloud computing in general, followed by an overview of Microsoft's Azure platform, and covers Windows Azure, SQL Azure, and AppFabric, discussing them with the help of a case-study. The book guides you through setting up the tools needed for Azure development, and outlines the sample application that will be built in the later chapters. Each subsequent chapter focuses on one aspect of the Azure platform—web roles, queue storage, SQL Azure, and so on—discussing the feature in greater detail and then providing a programming example by building parts of the sample application. Important architectural and security considerations are discussed with each Azure feature. The authors cover topics that are important to enterprise development, such as transferring data from an on-premises database to SQL Azure using SSIS, securing an application using AppFabric access control, blob and table storage, and asynchronous messaging using Queue Storage. Readers will learn to leverage the use of queues and worker roles for the separation of responsibilities between web and worker roles, enabling linear scale out of an Azure application through the use of additional instances. A truly "elastic" application is one that can be scaled up or down quickly to match resources to demand as well as control costs; with the practices in this book you will achieve application elasticity.

Who is this book for?

If you provide technological leadership to their enterprise—senior developers, architects, CIO/CTO and you want or need to guide your enterprise’s application design to Azure, this is the perfect book for you! Since the examples are in .NET, the book will skew to MS-oriented developers. But a lot of what is discussed will be applicable to anyone wanting to work with Azure. No matter what language you use, you provision the application fabric the same way, and all the underlying concepts will be the same. You will need experience with Visual Studio, and some basic SQL Server knowledge.

What you will learn

  • Explore the major features of Azure
  • Examine the differences between Azure development and traditional application development
  • Integrate with an on-premises database using SSIS
  • Utilize blob, table, and queue storage
  • Develop web and worker roles
  • Log application diagnostics and events
  • Create a WCF service in a web role
  • Review considerations for moving an application and data into the cloud
  • Create a Windows Forms application, and integrate it with web services using Visual Studio
  • Monitor your application s performance using Azure Diagnostics

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Dec 09, 2010
Length: 248 pages
Edition : 1st
Language : English
ISBN-13 : 9781849680998
Vendor :
Microsoft
Category :
Languages :
Tools :

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 : Dec 09, 2010
Length: 248 pages
Edition : 1st
Language : English
ISBN-13 : 9781849680998
Vendor :
Microsoft
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.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
€189.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
€264.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 121.97
Microsoft SQL Azure Enterprise Application Development
€41.99
Microsoft Windows Azure Development Cookbook
€41.99
Microsoft Azure: Enterprise Application Development
€37.99
Total 121.97 Stars icon
Banner background image

Table of Contents

15 Chapters
Introduction to Cloud Computing Chevron down icon Chevron up icon
The Nickel Tour of Azure Chevron down icon Chevron up icon
Setting Up for Development Chevron down icon Chevron up icon
Designing our Sample Application Chevron down icon Chevron up icon
Introduction to SQL Azure Chevron down icon Chevron up icon
Azure Blob Storage Chevron down icon Chevron up icon
Azure Table Storage Chevron down icon Chevron up icon
Queue Storage Chevron down icon Chevron up icon
Web Role Chevron down icon Chevron up icon
Web Services and Azure Chevron down icon Chevron up icon
Worker Roles Chevron down icon Chevron up icon
Local Application for Updates Chevron down icon Chevron up icon
Azure AppFabric Chevron down icon Chevron up icon
Azure Monitoring and Diagnostics Chevron down icon Chevron up icon
Deploying to Windows Azure Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.7
(3 Ratings)
5 star 33.3%
4 star 0%
3 star 66.7%
2 star 0%
1 star 0%
nikos anastopoulos Apr 20, 2011
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I had the privilege to read and make a small review of the "Microsoft Azure: Enterprise Application Development", from Richard J. Dudley, Nathan A. Duchene published by PACKT Publishing (ISBN 978-1-849680-98-1) on December 2010.I spent enough time reading the book, and I strongly believe it's a very nice book, for the following reasons:- It has a very nice structure, that helps readers become familiar with both Cloud and Microsoft's Cloud Platform offering (Windows Azure), even if they had never heard about this term. I really liked the statement "No cloud computing platform can be all things to all people", since there is a lot of noise and different interpretation of Cloud, either by vendors or by nature (public vs. private) [Chapter 1: Introduction to Cloud Computing]- "Explaining Azure to the managers" was a nice surprise, since they demystify all new aspects of Azure [Chapter 2: The Nickel Tour of Azure]- The authors provide detailed information on how to setup the development environment and create Windows Azure account, which is very helpful, especially for beginners [Chapter 3: Setting Up for Development]- They also provide enough resources for third party tools and Microsoft programs, either CTPs or on codeplex.com, that can be useful to all- In SQL Azure, I liked the feature comparison between this version and SQL Server 2008 (on premise). If you consider migrating your database on Azure, then you'll find this information useful, since besides feature comparison they briefly cover other important areas like Security, Manageability, Scalability and High Availability, Data Synchronization and Data Migration. [Chapter 5: Introduction to SQL Azure]Microsoft offers several storage options, BLOBs, Tables and Queues, besides the relational SQL Azure database, and there are useful information in each option. It's interesting to note how to create a new BLOB storage, how to use the REST API for BLOB storage [Chapter 6: Azure Blob Storage].- "Table Storage versus database tables" is another interesting section in Table storage since it highlights some key conceptual differences using simple examples, limitations of this storage type, exception handling and use of REST API [Chapter 7: Azure Table Storage].- Although I'm not sure how familiar you might be with Queues (it's a very interesting pattern for asynchronous communication between applications or systems), but in case you are not, you will find interesting the "Reasons to use a queue" section [Chapter 8: Queue Storage]- Similarities of ASP.NET and Web role in Azure and "Application diagnostics and logging in the cloud" are some interesting parts on [Chapter 9: Web Role], especially the association of log files and storage options. The sample application is fine, but I would prefer if C# had been used instead of VB.NET.- If you are not familiar with WCF and endpoints, you will find helpful the notes in sample code and configuration files, as well as the brief introductions in contracts (Service, Operation and Data) [Chapter 10: Web Services and Azure]Worker role is an interesting offering and there are some useful information in [Chapter 11: Worker Roles] like "Uses of worker roles", "Thread pools", "Management", the use of non-IIS servers ("Externally facing worker roles", although there are not enough details on how to achieve that), and recommendations for best practices.- The most interesting feature of Windows Azure is AppFabric, and the book covers the main uses of it: Access Control and Service Bus. The `claims based authentication' and use of Tokens are explained in a well-understood way and the sample configuration is very useful for your first attempt to use this service. Regarding Service Bus, the focus is on using this service for message relay (`to connect our systems with Service Bus, and use the Service Bus as our public endpoint') and as a connection broker (`The service bus then facilitates the two connections, finding a common protocol on which to communicate, and the two applications then use a direct connection'). [Chapter 13: Azure AppFabric]- Since monitoring and diagnostics are important components of a successful implementation and deployment, the information and resources provided in [Chapter 14: Azure Monitoring and Diagnostics] are very helpful.- Finally, the entire deployment process is nicely described, especially the various environments (Staging, Production), with detailed information (screen-shots) that help a lot [Chapter 15: Deploying to Windows Azure].Overall it is a well-written book, that can cover many features of Windows Azure offering and can be evaluated by both managers and developers/IT pros as a reference book. In order to gain more insight on the development parts, you will have to create a Windows Azure account, deploy the sample application, and extend it based on your own needs/requirements.Taking into consideration all of the above, I highly recommend it as a must-have book for Windows Azure introduction (level 200) book
Amazon Verified review Amazon
Adwait Ullal Feb 20, 2012
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
The book is a good (but outdated) introduction to Azure development and does a good job of explaining the various components of Azure and their relationships. However, I was disappointed with the title of the book and it's contents. From the title, I was expecting the book to tack topics such as:- Change Management- Monitoring- Release Management- Integration- Identity Managementand other topics relevant to enterprise development. These topics were either glossed over or not covered in this book.
Amazon Verified review Amazon
Ivan Brugiolo Sep 15, 2011
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
I concurr with the other reviewer that the book is a well structured walk-through of the product offering and services of Azure (something messing such as Cache, and the VM worker role probably came out after the publishing).I did not like the presentation too UI/GUI/VS oriented presentation of the Web Role part.It would have been more beneficial to clarify what magic happens in the `development` phase, how is that related to the programmability model and the settings model, and how that relates to the deployment.
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.