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.
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.
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
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?
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?
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 ?
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.
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
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?
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)?
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.
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
No i don't, there are more 'Dev Friendly' Frames, with Aspire i need to write a 150% of Code: 50% of the project until i see that i don't have the tools needed, then delete all and start from 0 to 100% All others Frames out there Say: 'Build in a week or wekeend', .NET Say 'Build in 6 months, debug in other 3 months, deploy en 2 months and mantain a month, because .NET it's updated' (Do while Loop). Don't use Blazor! Even MS use that Framework. (Same with MAUI, Even has support for Bing Maps! 😂😂😂). It's a shame for MS
Thanks James, your demo makes .NET Aspire interesting and easy to understand :D
Great to hear!
Great video!
Can you make a video on how to deploy it?
Afaik, the aspire projet reference the hardcoded .csproj file
Hope next time you can demo how to add .NET MAUI application in .NET Aspire
As always you have been excellent James! Thanks!
That is super cool. Thanks James!
This is crazy simple. Thanks for this video, as always a fantastic tutorial.
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.
You can easily use YARP for reverse proxy - see github.com/dotnet/eshop
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.
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
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?
Works great just reference them by path: learn.microsoft.com/en-us/dotnet/aspire/reference/aspire-faq#how-to-add-projects-to--net-aspire-
That's amazing. Even just for local development as a first step for adoption 👍
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?
Just manually reference them learn.microsoft.com/en-us/dotnet/aspire/reference/aspire-faq#how-to-add-projects-to--net-aspire-
Hey James, nice work. Would be great if you show the deployment process using .Net Aspire.
Coming up in future video
Very informative, thank you!
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 ?
Use the resource id ('db') in connection string. I think he missed .WithDatabase() part.
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.
what kind of visual studio is that ?? Looks cool i have always hated the square pointy tabs in the editor. How to get it ?
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
Awesome James, Thanks!
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?
The apphost project is not deployed. Service defaults are used by your applications and are deployed.
Awesome tech, awesome presentation with that zooming and nice tempo!
How easily can we then deploy this to a self-hosted linux server?
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)?
Those packages depend solely on configuration. They are not for local development only.
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.
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
What about a dotnet cli version?
You can create and configure via cli. Check documentation
Will it work on .Net Framework 4.7.2?
No needs .net 8
What can I say ! You are the best :)
I don't see where you added a js app
Here ya go learn.microsoft.com/en-us/dotnet/aspire/get-started/build-aspire-apps-with-nodejs
They should have pushed Orleans more, it's really underrated
They are pretty different but can be used together learn.microsoft.com/en-us/dotnet/aspire/frameworks/orleans?tabs=dotnet-cli
How do you publish to use a custom azure vnet?!
It's unfortunate that you have to add specific to aspire packages to your projects
How is this unfortunate and not 100% expected?
This is interesting ❤
How do we add user access/control for net Aspire for production environment?
It’s just a .NET app so the same way as normal. Aspire just adds to your app. It isn’t a new app
How to deploy the Aspire app to Azure. Please do a video.
Do you have any videos on monorepos?
I don't anything specific?
Can this be used with React or other Javascript technology?
Absolutely! check this out: learn.microsoft.com/en-us/dotnet/aspire/get-started/build-aspire-apps-with-nodejs
Amazing !!!
Is it possible to use this with Blazor WASM?
Should be able to yeah
@JamesMontemagno sorry meant WASM Standalone, not that new one
AMAZING!
How do you deploy it? Will it automatically deploy all the services?
Will have a video soon but check the docs to show you deployments
we should do a collage of all of james hair styles and beards lol 😂
But you didn't explain how to access those containers in backemd app.
Each component is documented and I showed how to add the component via nuget. Will be in my next video
👍👍👍👍
No i don't, there are more 'Dev Friendly' Frames, with Aspire i need to write a 150% of Code:
50% of the project until i see that i don't have the tools needed, then delete all and start from 0 to 100%
All others Frames out there Say: 'Build in a week or wekeend', .NET Say 'Build in 6 months, debug in other 3 months, deploy en 2 months and mantain a month, because
.NET it's updated' (Do while Loop).
Don't use Blazor! Even MS use that Framework. (Same with MAUI, Even has support for Bing Maps! 😂😂😂).
It's a shame for MS
such a beta thumbnail why the soy face?