Book Image

Solution Architecture with .NET

By : Jamil Hallal
Book Image

Solution Architecture with .NET

By: Jamil Hallal

Overview of this book

Understanding solution architecture is a must to build and integrate robust systems to meet your client’s needs. This makes it crucial for a professional .NET software engineer to learn the key skills of a .NET solution architect to create a unique digital journey and build solutions for a wide range of industries, from strategy and design to implementation. With this handbook, developers working with the .NET technology will be able to put their knowledge to work. The book takes a hands-on approach to help you become an effective solution architect. You’ll start by learning the principles of the software development life cycle (SDLC), the roles and responsibilities of a .NET solution architect, and what makes a great .NET solution architect. As you make progress through the chapters, you’ll understand the principles of solution architecture and how to design a solution, and explore designing layers and microservices. You'll complete your learning journey by uncovering modern design patterns and techniques for designing and building digital solutions. By the end of this book, you'll have learned how to architect your modern web solutions with ASP.NET Core and Microsoft Azure and be ready to automate your development life cycle with Azure DevOps.
Table of Contents (15 chapters)
Section 1: Understanding the Responsibilities of a Solution Architect
Section 2: Designing a Solution Architecture
Section 3: Architecting Modern Web Solutions with DevOps Solutions

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...