.NET Cloud-native Development: Working with Docker and Aspire
Making a complex application easy to develop enables fast feature delivery. This course will teach you how to create and enable a great local developer experience for .NET solutions using cloud-native techniques including Aspire and Docker.
What you'll learn
Embracing cloud-native development techniques can greatly improve the local developer experience, which in turn improves the ability to make changes quickly and reliably. In this course, .NET Cloud-native Development with Docker and Aspire, you’ll learn to leverage cloud-native development tools to do just that. First, you’ll explore Docker and learn how it can help with local development. Next, you’ll discover Docker Compose and how to use it to do “orchestration” of multiple containers locally. Finally, you’ll learn how to use Aspire to create an even simpler solution that has all of the same benefits plus a few new ones. When you’re finished with this course, you’ll have the skills and knowledge of cloud-native development with .NET needed to create a clone/run/commit development experience second to none.
Table of contents
- Introduction, Background, and Approach 3m
- Course Overview 2m
- Version Check 1m
- Machine Setup 3m
- Our Application 3m
- The Developer Experience We Want 3m
- Demo: Running the Solution - Traditional Approach with Docker for Services 6m
- Demo: Useful Docker Commands and Functions 4m
- Shortcomings and Comments 2m
- Introduction and Problem Statement 2m
- Demo: Create an SSL Certificate with OpenSSL 4m
- Demo: Use SSL Certificate with Kestrel 4m
- Demo: Trust the Certificate in Docker Images 2m
- Networking in Docker Compose 3m
- Demo: Putting It All Together 3m
- Demo: Start, Stop, Compose Up and Down 2m
- DevEx Review: How'd We Do with Docker Compose Approach? 2m
- Introducing .NET Aspire 3m
- Demo: Add Aspire Orchestration Support for API and Postgres 6m
- Demo: Logging to Aspire Dashboard 4m
- Demo: Adding Database Trace Information to Aspire Dashboard 4m
- Demo: Adding Orchestration Support for the WebApp 3m
- Demo: Adding Orchestration Support for the Identity Server 4m
- Demo: More on Service Discovery 3m
- Demo: Trace Activity Cleanup 3m
- Demo: Adding Email Service as a Custom Resource in Aspire 4m
- What About Builds and Deployments? 1m
- Wrap Up and Closing Comments 1m