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

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

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!
@Mr767267
@Mr767267 5 ай бұрын
This is crazy simple. Thanks for this video, as always a fantastic tutorial.
@benjsoft
@benjsoft 5 ай бұрын
Hope next time you can demo how to add .NET MAUI application in .NET Aspire
@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
@danielbub
@danielbub 5 ай бұрын
Great video! Can you make a video on how to deploy it? Afaik, the aspire projet reference the hardcoded .csproj file
@macmcmillen6282
@macmcmillen6282 25 күн бұрын
That is super cool. Thanks James!
@kabal911
@kabal911 2 ай бұрын
That's amazing. Even just for local development as a first step for adoption 👍
@alkishadjinicolaou5831
@alkishadjinicolaou5831 5 ай бұрын
As always you have been excellent James! Thanks!
@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
@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
@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?
@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.
@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?
@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 ?
@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
@timur2887
@timur2887 3 ай бұрын
Very informative, thank you!
@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
@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.
@dotnetdevni
@dotnetdevni 5 ай бұрын
we should do a collage of all of james hair styles and beards lol 😂
@amit141307
@amit141307 5 ай бұрын
Awesome James, Thanks!
@ashwinikumar13
@ashwinikumar13 13 күн бұрын
Will it work on .Net Framework 4.7.2?
@olivier0003
@olivier0003 5 ай бұрын
What can I say ! You are the best :)
@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.
@cristovaomorgado
@cristovaomorgado 5 ай бұрын
AMAZING!
@ozory
@ozory 4 ай бұрын
Amazing !!!
@CubiqleSystems
@CubiqleSystems 5 ай бұрын
How to deploy the Aspire app to Azure. Please do a video.
@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.
@krishnankuppaswamy7553
@krishnankuppaswamy7553 4 ай бұрын
This is interesting ❤
@jportugal100
@jportugal100 3 ай бұрын
How do you publish to use a custom azure vnet?!
@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.
@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
@friedwishes
@friedwishes 24 күн бұрын
What about a dotnet cli version?
@JamesMontemagno
@JamesMontemagno 24 күн бұрын
You can create and configure via cli. Check documentation
@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
@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
@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
@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
@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
@AmirHosseinBagheri
@AmirHosseinBagheri 5 ай бұрын
Do you have any videos on monorepos?
@JamesMontemagno
@JamesMontemagno 5 ай бұрын
I don't anything specific?
@xBodro
@xBodro 3 ай бұрын
It's unfortunate that you have to add specific to aspire packages to your projects
@itsamonkey1
@itsamonkey1 11 күн бұрын
How is this unfortunate and not 100% expected?
@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 М.
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 15 МЛН
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 48 МЛН
Secrets, Security, and Keycloak in .NET Aspire
30:48
dotnet
Рет қаралды 4,7 М.
Starting .NET MAUI Development in 2024 - What You Need To Know
35:18
James Montemagno
Рет қаралды 71 М.
What is OpenTelemetry?
12:55
Highlight
Рет қаралды 7 М.
Build Better Apps with .NET Aspire - Complete Beginner's Guide & Tutorial
1:12:47
Why I think .NET Aspire is Overhyped
21:16
Raw Coding
Рет қаралды 14 М.
.NET and C# are in trouble. Here is what I'd do.
10:57
Ed Andersen
Рет қаралды 75 М.
How .NET Aspire will save .NET (and its not about "the cloud")
8:54
Deployment Options for .NET Aspire Apps
26:38
dotnet
Рет қаралды 2,6 М.
First Look at .NET Aspire - Distributed Applications in .NET 8
12:56
Milan Jovanović
Рет қаралды 33 М.
Bu telefonda oyun oynamak ister misiniz?
0:15
Hakkı Alkan
Рет қаралды 2,3 МЛН
Скучнее iPhone еще не было!
10:48
itpedia
Рет қаралды 616 М.
Самые крутые школьные гаджеты
0:46
veloloh
Рет қаралды 1,1 МЛН