# Building Cloud Native apps with .NET 8 | .NET Conf 2023

# .Net Cloud Native

.Net has had the aspirational goal of being the most productive platform for building Cloud Native apps for some time.

* Health Checks
    
* Kestrel
    
* HTTP Client Factory
    
    * Polly
        
* gRPC
    
* YARP
    
* Container Builds
    
* Native AOT
    

Running distributed applications locally is very hard. Microsoft has developed .Net Aspire for this purpose.

# .Net Aspire

* .Net Aspire is a stack for building resilient, observable, and configurable cloud-native applications for .NET
    
* .Net Aspire includes a curated set of components enhanced for cloud-native fundamentals including Telemetry, Resilience, Configuration, Health Checks, and Composition
    
* .Net Aspire makes it easy to discover, acquire, and configure essential dependencies for cloud-native applications on day 1 and day 100
    

# Setup

To work with .NET Aspire, you'll need the following installed locally:

* [.NET 8.0](https://dotnet.microsoft.com/download/dotnet/8.0)
    
* [.NET Aspire workload](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-workload-install)
    
* [Docker Desktop](https://www.docker.com/products/docker-desktop/)
    
* Integrated Developer Environment (IDE) or code editor, such as:
    
    * [Visual Studio 2022 Preview](https://visualstudio.microsoft.com/vs/preview/) version 17.9 or higher (Optional)
        
    * [Visual Studio Code](https://code.visualstudio.com/) (Optional)
        

# Demo

[https://www.youtube.com/watch?v=z1M-7Bms1Jg&list=PLdo4fOcmZ0oULyHSPBx-tQzePOYlhvrAU&index=4](https://www.youtube.com/watch?v=z1M-7Bms1Jg&list=PLdo4fOcmZ0oULyHSPBx-tQzePOYlhvrAU&index=4)

## Reference

* [https://www.youtube.com/watch?v=z1M-7Bms1Jg&list=PLdo4fOcmZ0oULyHSPBx-tQzePOYlhvrAU&index=4](https://www.youtube.com/watch?v=z1M-7Bms1Jg&list=PLdo4fOcmZ0oULyHSPBx-tQzePOYlhvrAU&index=4)
    
* [https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/setup-tooling?tabs=visual-studio#install-net-aspire](https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/setup-tooling?tabs=visual-studio#install-net-aspire)
    
* [https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/setup-tooling?tabs=visual-studio](https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/setup-tooling?tabs=visual-studio)
