Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building Web Services with Windows Azure (new)

You're reading from  Building Web Services with Windows Azure (new)

Product type Book
Published in May 2015
Publisher
ISBN-13 9781784398378
Pages 322 pages
Edition 1st Edition
Languages

Table of Contents (17) Chapters

Building Web Services with Microsoft Azure
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Introduction
Getting Started with the ASP.NET Web API Extending the ASP.NET Web API API Management Developing a Web API for Mobile Apps Connecting Applications with Microsoft Azure Service Bus Creating Hybrid Services Data Services in the Cloud – an Overview of ADO.NET and Entity Framework Data Services in the Cloud – Microsoft Azure Storage Data Services in the Cloud – NoSQL in Microsoft Azure Index

Chapter 5. Connecting Applications with Microsoft Azure Service Bus

Up to this point in the book, we have focused on using ASP.NET for the frontend website and we have walked through the ASP.NET Web API for creating REST-based services. In this chapter, we will look at how to scale the application and provide elasticity, as well as provide loosely coupled connections between tiers of the application.

Azure Service Bus


We looked at how to create a web service, how to add functionality around notifications, integration with mobile services, deployment, and more. Now we will shift our focus to the middle tier of the solution architecture. In scalable systems, you would want to decouple direct connections between portions of your application. Just as when you created multi-tiered systems for use on-premises, we will do the same for our architecture in Azure. We want to divide the application components into separate features or areas of concern. By doing so we can create boundaries with low coupling, which leads to less feature overlap and more flexibility.

As such, you don't want to connect the web service directly to the database. There are many reasons for this. What happens if the database is inaccessible? What happens if there is processing that is needed on the incoming data? Azure provides components that we can utilize so that we don't connect components of our application together...

Summary


In this chapter, we discussed how we can utilize the Service Bus to disconnect our application components and communicate between the different tiers of our application. We discussed how we can create and send messages through Service Bus Queues and Topics and when we would use each. Lastly, we discussed patterns for the use of these Azure components.

In the next chapter we will discuss how to create hybrid applications where the frontend of the application runs in the Azure cloud while line-of-business or database systems remain and run on-premises.

lock icon The rest of the chapter is locked
You have been reading a chapter from
Building Web Services with Windows Azure (new)
Published in: May 2015 Publisher: ISBN-13: 9781784398378
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}