Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Cloud Solutions with Azure

You're reading from   Hands-On Cloud Solutions with Azure Architecting, developing, and deploying the Azure way

Arrow left icon
Product type Paperback
Published in Oct 2018
Publisher Packt
ISBN-13 9781786468659
Length 224 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Greg Leonardo Greg Leonardo
Author Profile Icon Greg Leonardo
Greg Leonardo
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Getting Started with Azure FREE CHAPTER 2. Moving Existing Apps to Azure 3. Building Solutions in Azure 4. Understanding the Infrastructure behind Solutions Built in Azure 5. Developing Solutions the Right Way in Azure 6. Deploying Solutions to Azure 7. Putting It All Together 8. Best Practices to Make Your Life Easier in Azure 9. Assessments 10. Other Books You May Enjoy

Understanding service lifetimes

Let’s take a look at the following points to better understand service lifetimes:

  • Transient, great for lightweight, stateless services are created each time they are requested
  • Scoped, created once per request.
  • Singleton, created the first time they are requested or when ConfigureService is run. Every call subsequent call leverages the same instance.

As we discussed and looked at earlier in the chapter, selecting of your data source is a decision to be based on what you are looking to get out of it. Let’s take another look below. This is how I recommend which system to use, based on functional needs:

Azure SQL becomes your default relational data system for Azure, because it is fully managed and offers you automatic tuning and monitors. You can also leverage other systems, such as MySQL, PostgreSQL, and MariaDB as manager service...

lock icon The rest of the chapter is locked
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 $19.99/month. Cancel anytime
Banner background image