.NET Aspire is a technology that completely revolutionized the .NET ecosystem. Nobody expected it, but it took the software engineering community by storm when it was released.
This technology makes developing, building, and deploying orchestrated distributed applications incredibly easy. Compared to other distributed application development frameworks, it’s very straightforward to set up and learn.
Combined with containerization technology, Aspire allows developers to run whole distributed applications on a local development machine the same way as they would run in production. There is no longer any need to set up emulators or disable certain services. The whole thing can be run locally and that includes the services that would normally only be hosted in the cloud, such as Azure Service Bus.
This book will teach you how to use .NET Aspire in an easy-to-understand fashion. By the end of it, you will be able to build your own distributed applications.
It will start with the basics, such as the structure of an Aspire application, the usage of Aspire components, etc. We will then move on to more advanced topics, such as the usage of databases, message brokers, distributed cache, authentication and authorization, and so on. Finally, we will go through a few examples of realistic applications that can be built in Aspire, including a social media platform and a food delivery app. You will be able to use those as cookbook recipes for building your own applications of similar types.
Table of Contents:
- Anatomy of an Aspire Application
- Monitoring Aspire Apps
- Health Checks and Their Importance
- Integration-testing Distributed Applications
- Application Security in Aspire
- Hosting Containers in Aspire
- Introduction to Aspire Components
- SQL Database Components
- Using NoSql Database Components
- Working With Distributed Cache Components
- Using Message Brokers With Aspire
- Deploying Aspire Apps to Production
- Building a Food Delivery App
- Hosting an E-commerce System
- Managing a Social Media Platform