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
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Solution Architecture with .NET

You're reading from   Solution Architecture with .NET Learn solution architecture principles and design techniques to build modern .NET solutions

Arrow left icon
Product type Paperback
Published in Aug 2021
Publisher Packt
ISBN-13 9781801075626
Length 238 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Jamil Hallal Jamil Hallal
Author Profile Icon Jamil Hallal
Jamil Hallal
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Section 1: Understanding the Responsibilities of a Solution Architect
2. Chapter 1: Principles of the Software Development Life Cycle FREE CHAPTER 3. Chapter 2: Team Roles and Responsibilities 4. Chapter 3: What Makes an Effective Solution Architect? 5. Section 2: Designing a Solution Architecture
6. Chapter 4: Designing a Solution Architecture 7. Chapter 5: Exploring Architecture Design Patterns 8. Chapter 6: Architecture Considerations 9. Chapter 7: Securing ASP.NET Web Applications 10. Chapter 8: Testing in Solution Architecture 11. Section 3: Architecting Modern Web Solutions with DevOps Solutions
12. Chapter 9: Architecting Modern Web Solutions with ASP.NET Core and Azure 13. Chapter 10: Designing and Implementing Microsoft DevOps Solutions 14. Other Books You May Enjoy

Caching in web applications

Caching is a technique that allows us to store frequently used data in memory. Instead of querying the database multiple times to get the same content, we often use caching to store this content and then retrieve it from the memory the next time we request the same content.

Caching is essential to improve performance in ASP.NET Core and the overall user experience of the product. In ASP.NET Core, there are different techniques to cache data. Here is an overview of these techniques:

  • In-memory caching: In this technique, the memory of the server is used to store the data.
  • Distributed caching: This technique is used when our app is deployed to Azure or when it is hosted on a farm environment. The cache is distributed across the servers contributing to this farm.

Let's learn how to implement caching in ASP.NET Core.

Implementing caching in ASP.NET Core

In ASP.NET Core, there are two built-in main interfaces that you can use to...

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