AZ-2009: Build distributed apps with .NET Aspire

Length: 1 Day(s)     Cost:$895 + GST

= Scheduled class     = Guaranteed to run     = Fully booked

Click on the date to book online
Please wait as we are loading the schedules...
LOCATION January February March April
Auckland
Hamilton
Christchurch
Wellington
Virtual Class

This course, Build Distributed Apps with .NET Aspire, equips developers with the knowledge and tools to create robust cloud-native distributed applications. Through hands-on labs and practical scenarios, learners will explore .NET Aspire's integration capabilities, telemetry tools, database interactions, caching strategies, and message brokering with RabbitMQ. By leveraging Visual Studio and the .NET Aspire stack, participants will enhance application performance, scalability, and maintainability.


This course is for Cloud Architects and Developers.


Students should have experience building web applications using .NET and C#


After completing this course, students will be able to:

  • Learn how .NET Aspire supports cloud-native distributed app development.
  • Implement .NET Aspire integrations for functional application needs. Build and troubleshoot .NET Aspire projects using Visual Studio.
  • Monitor app performance with OpenTelemetry and .NET Aspire telemetry tools.
  • Connect and use databases like PostgreSQL, MySQL, SQL Server, and MongoDB.
  • Boost performance with Redis caching in .NET Aspire applications.
  • Enable microservice communication using RabbitMQ message brokering.

1) Introduction to NET Aspire

  • Describe how NET Aspire makes it easier to develop cloudnative distributed applications
  • Select the right NET Aspire integration to address a functional requirement in a cloudnative application
  • Use Visual Studio to create and run a new NET Aspire project
  • Lab Use the NET Aspire eShop

2) Create a NET Aspire project

  • Create new cloudnative apps by using the NET Aspire templates in Visual Studio
  • Add the NET Aspire stack to an existing NET app for orchestration and simple cloudnative integrations
  • Use the NET Aspire dashboard to diagnose connection issues between services
  • Lab Create a new NET Aspire project
  • Lab Integrate an existing ASPNET Core web app

3) Use telemetry in a NET Aspire project

  • • Understand the relationship between NET Aspire and OpenTelemetry
  • • Understand the telemetry data sources available in NET
  • • Use the NET Aspire dashboard to monitor the telemetry data from a cloudnative application
  • • Add ILogger messages to the application
  • • Lab Use telemetry in a NET Aspire project

4) Use databases in a NET Aspire project

  • Describe the database systems that NET Aspire can connect to using builtin integrations
  • Use NET Aspire integrations to read and write data to PostgreSQL MySQL and Microsoft SQL Server databases
  • Use NET Aspire integrations to read and write data to MongoDB databases
  • Understand the basics of testing in NET Aspire
  • Create a test project using xUnit
  • Write and run tests for NET Aspire projects
  • Utilize the NET Aspire testing project templates
  • Lab Use database services to persist data from a NET Aspire project

5) Improve performance with a cache in a NET Aspire project

  • Choose a type of Redis caching for a specific performance optimization requirement
  • Use a Redis distributed cache to increase performance in a NET Aspire project
  • Use a Redis output cache to complete HTML responses in a NET Aspire project
  • Lab Cache data in Redis

6) Send messages with RabbitMQ in a NET Aspire project

  • Select from the work queues topics subscriptions and routes available on a RabbitMQ server to send messages to the intended recipient microservices
  • Add messages to a queue on a RabbitMQ exchange server by using the NET Aspire RabbitMQ client message broker
  • Lab Send messages between microservices through RabbitMQ