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

  Рет қаралды 31,321

James Montemagno

James Montemagno

Күн бұрын

Пікірлер: 67
@benjsoft
@benjsoft 5 ай бұрын
Thanks James, your demo makes .NET Aspire interesting and easy to understand :D
@JamesMontemagno
@JamesMontemagno 5 ай бұрын
Great to hear!
@danielbub
@danielbub 5 ай бұрын
Great video! Can you make a video on how to deploy it? Afaik, the aspire projet reference the hardcoded .csproj file
@benjsoft
@benjsoft 5 ай бұрын
Hope next time you can demo how to add .NET MAUI application in .NET Aspire
@Mr767267
@Mr767267 5 ай бұрын
This is crazy simple. Thanks for this video, as always a fantastic tutorial.
@LosWochos76
@LosWochos76 4 ай бұрын
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.
@JamesMontemagno
@JamesMontemagno 4 ай бұрын
You can easily use YARP for reverse proxy - see github.com/dotnet/eshop
@macmcmillen6282
@macmcmillen6282 26 күн бұрын
That is super cool. Thanks James!
@paragraut3504
@paragraut3504 5 ай бұрын
Hey James, nice work. Would be great if you show the deployment process using .Net Aspire.
@JamesMontemagno
@JamesMontemagno 5 ай бұрын
Coming up in future video
@kabal911
@kabal911 2 ай бұрын
That's amazing. Even just for local development as a first step for adoption 👍
@appomobi
@appomobi 5 ай бұрын
Awesome tech, awesome presentation with that zooming and nice tempo! How easily can we then deploy this to a self-hosted linux server?
@alkishadjinicolaou5831
@alkishadjinicolaou5831 5 ай бұрын
As always you have been excellent James! Thanks!
@allied-data
@allied-data 5 ай бұрын
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.
@JamesMontemagno
@JamesMontemagno 5 ай бұрын
Lots of docs: learn.microsoft.com/en-us/dotnet/aspire/deployment/overview Have a video on the way as well. Many devs will only end up using aspire for development purposes if they already had deployment setup as well, which is totally valid
@davidmasterson883
@davidmasterson883 Ай бұрын
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.
@grant_vine
@grant_vine 5 ай бұрын
Please look at an example with DAPR or any service that fails to start without a referenced service running yet (I.e. the database isn’t yet up). Or even just explain some mitigations for this scenario? Otherwise short and simple and informative video thanks
@onurbarlik5451
@onurbarlik5451 Ай бұрын
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.
@JamesMontemagno
@JamesMontemagno Ай бұрын
if you already have manifests just keep deploying like you do today. Just add some more or update connection strings. if you want something generated off the manifest you can use Aspir8: learn.microsoft.com/en-us/dotnet/aspire/deployment/overview#deploy-to-kubernetes
@40fps143
@40fps143 Ай бұрын
what kind of visual studio is that ?? Looks cool i have always hated the square pointy tabs in the editor. How to get it ?
@sacalbal
@sacalbal 5 ай бұрын
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 ?
@solalem2001
@solalem2001 5 ай бұрын
Use the resource id ('db') in connection string. I think he missed .WithDatabase() part.
@saroshwadia
@saroshwadia 5 ай бұрын
Can we use .Net Aspire with a Azure Static Web App with Blazor WASM (Client) and Azure Functions (Api) - Will it replace GIT hub Actions?
@timur2887
@timur2887 3 ай бұрын
Very informative, thank you!
@manusidler
@manusidler 5 ай бұрын
Great tutorial, thank you! How would you handle a scenario where Aspire is used for local development only? Do you still integrate the Aspire NuGet packages into your projects (eg. Aspire.Npgsql for Postgres)?
@davidfowl
@davidfowl 4 ай бұрын
Those packages depend solely on configuration. They are not for local development only.
@amit141307
@amit141307 5 ай бұрын
Awesome James, Thanks!
@ashwinikumar13
@ashwinikumar13 14 күн бұрын
Will it work on .Net Framework 4.7.2?
@dotnetdevni
@dotnetdevni 5 ай бұрын
we should do a collage of all of james hair styles and beards lol 😂
@CubiqleSystems
@CubiqleSystems 5 ай бұрын
How to deploy the Aspire app to Azure. Please do a video.
@tsooooooo
@tsooooooo 2 ай бұрын
They should have pushed Orleans more, it's really underrated
@JamesMontemagno
@JamesMontemagno 2 ай бұрын
They are pretty different but can be used together learn.microsoft.com/en-us/dotnet/aspire/frameworks/orleans?tabs=dotnet-cli
@stevehiggin
@stevehiggin 5 ай бұрын
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?
@davidfowl
@davidfowl 5 ай бұрын
The apphost project is not deployed. Service defaults are used by your applications and are deployed.
@olivier0003
@olivier0003 5 ай бұрын
What can I say ! You are the best :)
@Paul-uo9sv
@Paul-uo9sv 4 ай бұрын
How do we add user access/control for net Aspire for production environment?
@JamesMontemagno
@JamesMontemagno 4 ай бұрын
It’s just a .NET app so the same way as normal. Aspire just adds to your app. It isn’t a new app
@ozory
@ozory 4 ай бұрын
Amazing !!!
@friedwishes
@friedwishes 25 күн бұрын
What about a dotnet cli version?
@JamesMontemagno
@JamesMontemagno 25 күн бұрын
You can create and configure via cli. Check documentation
@AmirHosseinBagheri
@AmirHosseinBagheri 5 ай бұрын
Do you have any videos on monorepos?
@JamesMontemagno
@JamesMontemagno 5 ай бұрын
I don't anything specific?
@jportugal100
@jportugal100 3 ай бұрын
How do you publish to use a custom azure vnet?!
@cristovaomorgado
@cristovaomorgado 5 ай бұрын
AMAZING!
@zoiobnu
@zoiobnu 5 ай бұрын
Can i add Aspire to a .NET app that is hosted at AWS or Azure ?
@JamesMontemagno
@JamesMontemagno 5 ай бұрын
Yup, they added CDK support in the latest preview
@sigma_z
@sigma_z 3 ай бұрын
I think you will lose a few features hosting with AWS than with Azure.
@nerdydragon42
@nerdydragon42 5 ай бұрын
Is it possible to use this with Blazor WASM?
@JamesMontemagno
@JamesMontemagno 5 ай бұрын
Should be able to yeah
@nerdydragon42
@nerdydragon42 5 ай бұрын
@JamesMontemagno sorry meant WASM Standalone, not that new one
@king-cog
@king-cog Ай бұрын
I don't see where you added a js app
@JamesMontemagno
@JamesMontemagno Ай бұрын
Here ya go learn.microsoft.com/en-us/dotnet/aspire/get-started/build-aspire-apps-with-nodejs
@krishnankuppaswamy7553
@krishnankuppaswamy7553 4 ай бұрын
This is interesting ❤
@thiagomatu
@thiagomatu 5 ай бұрын
Can this be used with React or other Javascript technology?
@JamesMontemagno
@JamesMontemagno 5 ай бұрын
Absolutely! check this out: learn.microsoft.com/en-us/dotnet/aspire/get-started/build-aspire-apps-with-nodejs
@xBodro
@xBodro 3 ай бұрын
It's unfortunate that you have to add specific to aspire packages to your projects
@itsamonkey1
@itsamonkey1 12 күн бұрын
How is this unfortunate and not 100% expected?
@R0ckyRocket
@R0ckyRocket 5 ай бұрын
How do you deploy it? Will it automatically deploy all the services?
@JamesMontemagno
@JamesMontemagno 5 ай бұрын
Will have a video soon but check the docs to show you deployments
@ramasamynagappan7586
@ramasamynagappan7586 5 ай бұрын
But you didn't explain how to access those containers in backemd app.
@JamesMontemagno
@JamesMontemagno 5 ай бұрын
Each component is documented and I showed how to add the component via nuget. Will be in my next video
What Is .NET Aspire? The Insane Future of .NET!
18:35
Nick Chapsas
Рет қаралды 272 М.
Starting .NET MAUI Development in 2024 - What You Need To Know
35:18
James Montemagno
Рет қаралды 71 М.
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 21 МЛН
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 8 МЛН
Офицер, я всё объясню
01:00
История одного вокалиста
Рет қаралды 6 МЛН
What is OpenTelemetry?
12:55
Highlight
Рет қаралды 8 М.
First Look at .NET Aspire - Distributed Applications in .NET 8
12:56
Milan Jovanović
Рет қаралды 33 М.
.NET and C# are in trouble. Here is what I'd do.
10:57
Ed Andersen
Рет қаралды 76 М.
My First look at .NET Aspire. What's with the Hype?
12:16
CodeOpinion
Рет қаралды 16 М.
What is Span in C# and why you should be using it
15:15
Nick Chapsas
Рет қаралды 256 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 54 М.
The Problem With Microservices
17:47
Continuous Delivery
Рет қаралды 434 М.
Скучнее iPhone еще не было!
10:48
itpedia
Рет қаралды 620 М.
Давайте поцарапаем iPhone 16 Pro Max!
0:57
Wylsacom
Рет қаралды 3,4 МЛН
iPhone or Samsung?
0:28
Kan Andrey
Рет қаралды 1,7 МЛН
Куда пропал Kodak?
1:01
MOTIVESSION
Рет қаралды 9 МЛН
The damaged battery head isrepaired. #Battery #Repair
0:21
Hak Hang
Рет қаралды 20 МЛН