What is .NET Aspire? Why do you NEED it in every .NET app? How to get started in minutes!

preview_player
Показать описание
.NET Aspire is an opinionated, cloud ready stack for building observable, production ready, distributed applications, and it is AWESOME! You may have seen a lot of demos about what .NET Aspire is and how to get started with the amazing templates, but let's look at how to add .NET Aspire to an existing .NET API back-end, Blazor front-end, and then add in Redis Cache, Garnet, Open Telemetry, and Postgres!

Links:

Chapters:
00:00 - Intro & project walkthrough
02:15 - Add .NET Aspire Orchestration to .NET API
05:25 - Exploring Dashboard and Telemetry
06:58 - Add .NET Aspire to Blazor app and enable Service Discovery
12:45 - Adding Redis Cache to .NET Aspire
16:00 - Adding PostgresSQL and PgAdmin
18:30 - Adding Garnet to existing Redis Client
20:30 - Wrap-up

Join this channel to get access to perks:

Follow:

Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.

My Setup:

Using links I provide I may receive a commission if you buy something which helps support the channel.

#dotnet #dotnetaspire #aspire #visualstudio #blazor #aspnetcore
Рекомендации по теме
Комментарии
Автор

Thanks James, your demo makes .NET Aspire interesting and easy to understand :D

benjsoft
Автор

This is crazy simple. Thanks for this video, as always a fantastic tutorial.

Mr
Автор

Hope next time you can demo how to add .NET MAUI application in .NET Aspire

benjsoft
Автор

That's amazing. Even just for local development as a first step for adoption 👍

kabal
Автор

Great video!
Can you make a video on how to deploy it?
Afaik, the aspire projet reference the hardcoded .csproj file

danielbub
Автор

As always you have been excellent James! Thanks!

alkishadjinicolaou
Автор

A similar question I have with Aspire as I did with Dapr. Every example shows things in the same solution. Our services and front ends are all in different solutions and deployed separately. Are there any good resources for this?

shakes
Автор

Thank for this video. I am curious to understand how Aspire would work with micro-services that are in different solutions? To use Aspire, do all the related apps have to be under the same solution?

komilp
Автор

That looks awesome. I would like to see more, eg using a reverse proxy like Nginx, configuring SSL with letsencrypt and deploying all that to a virtual maschine.

LosWochos
Автор

thanks for this detailed informative video. I need more samples about deploying to kubernetes also, can you describe this too? There is not enough information about this.

onurbarlik
Автор

Great video.
A question : In your example, does this mean you can use a postgre database from your backend after having configured .net aspire ? Then, how to use it from your backend ?

sacalbal
Автор

Hey James, nice work. Would be great if you show the deployment process using .Net Aspire.

paragraut
Автор

what kind of visual studio is that ?? Looks cool i have always hated the square pointy tabs in the editor. How to get it ?

fps
Автор

Nice video, but the "Add Aspire to any App" title seems odd when maui is not supported. Any chance of you doing a video on where we are with maui aspire support. I appreciate that this is a "Cloud First" technology but 95% plus maui apps need a back end and I can see how this would be very useful.

davidmasterson
Автор

Watching a video with Fowler and Edwards they say Aspire is for the local development environment only and you dont deploy anything. But you modified your two existing projects with AddServiceDefaults so now you do need to deploy the project that provides that into say production and what happens if all the ServiceDefaults are not valid for production?

stevehiggin
Автор

How do you publish to use a custom azure vnet?!

jportugal
Автор

Is it possible to use this with Blazor WASM?

nerdydragon
Автор

I don't see where you added a js app

king-cog
Автор

It's all very cool. But the missing piece is the deployment to the Cloud Platform, which was the last sentence in your presentation. I realize it is a preview, but frankly, it will remain a preview until that part is demonstrable.
I am looking forward to your future video covering that.

allied-data
Автор

They should have pushed Orleans more, it's really underrated

tsooooooo