Introduction to .NET Aspire
Learn more about the .NET Aspire stack in .NET 8 and how you can use it to simplify and accelerate the development of cloud-native web applications.
- Introduction
- What is .NET Aspire?
- Learn more about .NET Aspire components
- Learn more about .NET Aspire tools
- Tutorial: Using the .NET Aspire eShop
Creating a .NET Aspire project
Learn how to build cloud-native applications from scratch or add to an existing app using the .NET Aspire stack in .NET 8 Orchestration.
- Introduction
- Information on creating a new .NET Aspire project
- Exercise: Creating a new .NET Aspire project
- How to add orchestration to an existing .NET app
- Exercise - Integrating an existing ASP.NET Core web app
Using telemetry in a .NET Aspire app
Learn how to use telemetry in a .NET Aspire app to log data and investigate the behaviour of a cloud-native application.
- Introduction
- Telemetry APIs in .NET
- Using OpenTelemetry in .NET Aspire
- Using the .NET Aspire dashboard
- Using a logger to add custom log messages
- Lab: Using telemetry in a .NET Aspire project
Using databases in a .NET Aspire project
Learn about the database systems that .NET Aspire can connect to with built-in components. You will then learn how to connect to and store data in relational and non-relational databases.
- Introduction
- Storing data in SQL-compliant databases
- Storing data in NoSQL databases
- Exercise: Using database services to store data from a .NET Aspire project
- Creating tests with .NET Aspire
Improving performance with a cache in a .NET Aspire project
Learn more about using Redis caching to improve performance in a cloud-native application. Plus, learn how .NET Aspire makes it easier for your microservices to access Redis cache services.
- Introduction
- Caches and Redis
- Using a Redis distributed cache
- Using a Redis output cache
- Customising connection strings using .NET Aspire manifests
- Lab: Caching data in Redis
Sending messages with RabbitMQ in a .NET Aspire project
Learn how to use message queues on RabbitMQ exchange servers to decouple microservices and manage communication in a cloud-native application built with .NET Aspire.
- Introduction
- What is RabbitMQ?
- Sending messages with RabbitMQ
- Exercise: Sending messages between microservices via RabbitMQ