Book description
Over 70 advanced recipes for developing scalable services with the Microsoft Azure platform
In Detail
Beginning with the development of cloud services for Microsoft Azure, this practical Cookbook will show you the building blocks of Azure, focusing on why we should use one or the other, and when to use them appropriately. Even though reading the entire book will give you an advanced overview of the main blocks of the Azure platform, each chapter is self-contained. So, even an inexperienced reader could jump from one chapter to another without reading the entire book. Each chapter is organized into recipes - standalone units of practical tasks to complete that involve a specific feature/service of the platform.
This book tries to provide a comprehensive overview of the main aspects of the Azure platform from the point of view of a developer. Some building blocks such as virtual machines are deliberately avoided to focus on development tools, development libraries, and development strategies. This is a recipe-based book; expect to dirty your hands with code that is also outside the boundaries of the recipe, as you would do with food in a real recipe!
What You Will Learn
- Deploy a web application and worker processes to a scalable infrastructure
- Accelerate the life cycle of a web application without lock-in
- Implement scalable solutions for storage data with Blobs
- Develop a solution with a relational backend with SQL Database
- Evaluate NoSQL alternatives with Azure Table Service
- Implement messaging solutions with Queues, scaling, and decoupling systems
- Automate management operations by developing components for the Azure Management API
- Power up the existing infrastructure with in-memory storage with Azure Cache
Table of contents
-
Microsoft Azure Development Cookbook Second Edition
- Table of Contents
- Microsoft Azure Development Cookbook Second Edition
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Preface
-
1. Developing Cloud Services for Microsoft Azure
- Introduction
- Setting up solutions and projects to work with Cloud Services
- Debugging a Cloud Service locally with either Emulator or Emulator Express
- Publishing a Cloud Service with options from Visual Studio
- Debugging a Cloud Service remotely with Visual Studio
- Configuring the service model for a Cloud Service
- Providing a custom domain name for a Cloud Service
- Implementing HTTPS in a web role
- Using local storage in an instance
- Hosting multiple websites in a web role
- Using startup tasks in a Microsoft Azure role
- Handling changes to the configuration and topology of a Cloud Service
- Managing upgrades and changes to a Cloud Service
- Configuring diagnostics in Cloud Services
- 2. Deploying Quickly with Azure Websites
-
3. Getting Storage with Blobs in Azure
- Introduction
- Managing the Azure Storage service
- Connecting to the Azure Storage service
- Connecting to the storage emulator
- Managing access control for containers and blobs
- Creating a shared access signature for a container or blob
- Using a container-level access policy
- Setting properties and metadata for a blob
- Using blob directories
- Creating and using a blob snapshot
- Creating and using the root container for blobs
- Uploading blocks to a block blob
- Uploading a VHD into a page blob
- Downloading a blob asynchronously
- Using retry policies with blob operations
- Leasing a blob and implementing distributed locks
- Using the Azure Content Delivery Network (CDN)
-
4. Going Relational with the Azure SQL Database
- Introduction
- Creating a SQL Database server and database
- Managing SQL Database logins and firewall rules
- Developing a SQL Database with Visual Studio
- Connecting to a SQL Database with ADO.NET
- Connecting to a SQL Database with Entity Framework
- Connecting to a SQL Database from PHP and Java
- Migrating a database to a SQL Database
- Leveraging backup solutions with SQL Database
- Monitoring SQL Database with the dynamic management views
- Handling connection failures to a SQL Database
-
5. Going NoSQL with Azure Tables
- Introduction
- Creating a table
- Inserting, updating, deleting, and querying data against the Table service
- Using entity group transactions
- Using continuation tokens and server-side paging
- Going inside continuation tokens and segmented queries
- Handling entity serialization events
- Facilitating NoSQL with client-side projection
-
6. Messaging and Queues with the Storage and Service Bus
- Introduction
- Managing Azure Storage queues
- Managing Azure Service Bus queues
- Adding messages to a Storage queue
- Adding messages to a Service Bus queue
- Receiving messages with Storage queues
- Receiving messages with Service Bus queues
- Implementing publish/subscribe with Service Bus topics
- Implementing relayed messaging with the Service Bus
- Communication between .NET and Java with the Service Bus and AMQP
- 7. Managing Azure Resources with the Azure Management Libraries
- 8. Going In-memory with Azure Cache
- Index
Product information
- Title: Microsoft Azure Development Cookbook Second Edition
- Author(s):
- Release date: September 2014
- Publisher(s): Packt Publishing
- ISBN: 9781782170327
You might also like
book
Programming Microsoft Azure Service Fabric, Second Edition
Build, operate, and orchestrate scalable microservices applications in the cloud This book combines a comprehensive guide …
book
Azure for Developers - Second Edition
Develop cloud applications based on the most popular Azure services, including hosting web applications, running containers, …
video
Microsoft Azure Storage - The Complete Guide
One of the most critical tasks is choosing the right storage solution. Well, it is rightly …
book
Azure Networking Cookbook - Second Edition
Find out how you can leverage virtual machines and load balancers to facilitate secure and efficient …