Welcome to Aspire
Press space to navigate.
Press left arrow to go back.
Press right arrow to go forward.

Online at https://ignatandrei.github.io/Presentations/AspireAdvancedprez.html
For download https://ignatandrei.github.io/Presentations/AspireAdvanced.zip

About me

ignat Andrei Ignat http://msprogrammer.serviciipeweb.ro/

						System.Console.WriteLine("Ignat Andrei");
						System.Console.WriteLine("Aspire");							
						  

YouTube 5 minutes .NET and tools : http://bit.ly/5MinTools

Book Making Open Source Component : http://bit.ly/NetOpenSourceComponent

Book Copy Paste from StackOverflow : https://amzn.to/2PQ8EDc

Roslyn Source Code Generators with examples : https://ignatandrei.github.io/RSCG_Examples/

Monthly meetings: https://www.meetup.com/Bucharest-A-D-C-E-S-Meetup/

For notes press S
For print ?print-pdf
For all slides press ESC

What is Aspire ?

https://learn.microsoft.com/en-us/dotnet/aspire/get-started/aspire-overview
.NET Aspire is an opinionated, cloud ready stack for building observable, production ready, distributed applications.
Orchestration : .NET Aspire provides features for running and connecting multi-project applications and their dependencies for local development environments.
Integrations: .NET Aspire integrations are NuGet packages for commonly used services, such as Redis or Postgres, with standardized interfaces ensuring they connect consistently and seamlessly with your app.
Tooling: .NET Aspire comes with project templates and tooling experiences for Visual Studio, Visual Studio Code, and the dotnet CLI to help you create and interact with .NET Aspire projects.

Uses of Aspire

If you have external dependencies( Database, caching, others ) and you want to load , maybe you need Aspire.
If you have at least 2 projects to run ( e.g. WebAPI and UI ) - Aspire is for you
Sample1: App with WebAPI and Database . Adding automatically SqlServer and creating DB from docker container .Also Test for webAPI!
Sample2: App with WebAPI and Angular . Coordinating the 2 projects . E2E test: Screenshot with the page with Playwright
More samples at https://github.com/dotnet/aspire-samples - node, python, go ... Documentation:
https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/integrations-overview
https://github.com/davidfowl/WaitForDependenciesAspire
Coordinating/testing 2 WebAPIs with one AspireProject
ignat

Questions ?

Thank you for your time