Responsive design was added to the dashboard for accessibility. The dashboard is still usable for people with vision issues who use the dashboard at 300%+ zoom. The dashboard being usable on mobile devices is a happy side effect.
Hi Nick, Great video! It was very well put together. You mentioned using Azure Functions for Dometrain-would you consider creating a video on the architecture or a similar topic? I think it would be fascinating to see how everything works behind the scenes.
The restart functionality is useful when you make changes to your services (projects). You can now reload them after building the code. That is a welcome addition.
@@modernkennnernthat works, or you can use visual studio, run without debugging and rebuild the individual project. That will kill the specific process and you can restart it from the dashboard
even while my solutions are not aspire ready (containers etc) I still atleast use the dashboard because it's easy to use. Still has some kinks to work out, but it's nice that i got traces, logs and metrics already.
That was a great video as always :D I already tried aspire a bit for small personal projects but not in production yet. I find it a great tool for developing getting a better overview of what is happening in my application. Could you perhaps make a video on the best way to deploy an aspire project to AWS ECS? Also maybe for cases, where the database or other resources that are normally configured with aspire are already present in the AWS environment.
I'm still ambivalent on Aspire. Is it anything more than an abstraction layer above Docker /w some telemetry + monitoring dashboards built in? I feel like it doesn't add anything to dev teams who are already docker/kubernetes mature and have figured out telemetry. If anything, I feel like the abstraction might complicate things. Am I missing anything? Perhaps it's useful & insightful to teams that haven't reached that maturity level yet.
Yeah, I'm on the same boat. Aspire doesn't seem to add any value to a team that already has telemetry/container/tracing in place. For me it ended being just a tool to write docker-compose files in dotnet instead of yaml. The dashboard with the container list is just showing data already available on the docker desktop or on the docker-cli, with less features. For my workflow, it doesn't make much sense to use Aspire.
@@jeanjcl that’s pretty reasonable POV. There are lots more projects that will be created with aspire in a fraction of the time it took you to figure out how to configure the project and all the various containers and cloud services you use. Though it may seem like a minus when you understand the details, abstraction is how we’re able to manage software at scale. I’m looking forward to the ecosystem of integrations growing for aspire!
@@jmoralesv03 the docker “syntax” will be usable on any stack, C# only not at all. No one will introduce another language just to orchestrate containers like compose can do
Hi Nick, I caught .NET Conf 2024 and was impressed by the upcoming AI additions. Your videos always stand out for their high quality and depth, and it got me thinking-a video from you on running OLLama locally, trained on a PDF or something similar, would be incredible. Looking forward to your thoughts!
Is there a reason why in Docker Desktop all of the Aspire services aren't in a group? When you deploy a docker compose, all of the things you deploy are in a collapsible group in Docker Desktop.
Hello, Nick! Thank you for the video. I would like to see a video about Aspire + Open Telemetry Collector + Prometheus. I didn't find any similar videos online. It would be interesting to see
Thanks for the Update Video on this topic. I also see the need for .Net Aspire, but for me currently it feel mainly like a improvement of the developer experience. But in a Enterprise world there is always the CI / CD aspect and even with the aspirat project, which generates some Kubernetes yml files, it is not directly usable from development to deploy to production. Or do I miss something? An additonal Video which extends this in usage of Azure Pipelines with the deployment to an Environment (Azure Cloud resource or external Kubernetes resource) would be really helpful.
How is this different than running the apps manually on Docker Desktop? We can do all that using the docker-compose file. So, Aspire is just another between your app and docker desktop with a few added features such as health checks.
That's a great video, Nick! My question is twofold. What if you already have a project built on, say, ASPNET? How do you add Aspire to it? And, is it still valuable to add it if your project is a monolith with dependencies on existing infrastructure like database management systems, existing Redis or Kafka servers, etc?
All great things.. thanks Nick for sharing the same . Only problem that I see is what you talked about the same in last that as soon as next version is launched, all previous versions will be scrapped.
Hi Nick, I was wondering if Aspire would be a good fit for me and the project I am working on. Essentially, I have a Blazoer front end that spins up over a dozen different custom IHostedLifecycleService services. There is an exposed Web API and of course there is a Database as well and logging. I get the DB, API and Logging, but wondering if I would get any benefit in Aspire around the services?
Thanks, aspire really looks appealing but until it can easly be hosted with other providers than Azure its still something we can't consider using at the moment. One question though does all the projects need to be in the same solution to be connected through aspire 🤔?
Nick, I would love to know how to deploy aspire projects properly with CI/CD. I mean the azd deploy is terrible for many reasons. Especially for those using terraform. What do you mean?
I don't know why everyone was able to upgrade so easily. When I went from version 8 to 9 (so after updating the aspire nuget packages not the .NET version) all health checks now fail for my integrations like redis or postgres. I saw the same error in one of the Aspire presentations from microsoft last week but even with a new sample project where I start from scratch my health checks fail. I was under the impression that there is a bug in the V9 libraries but now I see that it works perfectly fine for you.
Can I use both aspire and docker with kubernets/azure container apps hosted on azure? Im just about to jump into azure publishing stuff and got no idea how that would work.
Great video! I hope you can create another one explaining Aspire service names, service discovery, and reverse proxies. I'm currently struggling with a cross-origin issue and have to hard-code configurations. However, the client port is randomly assigned during debugging, which is really frustrating. Thanks in advance!
i really like the dashboard itself for logging windows services. i tried decoupling it from the IDE and without docker but the sourcegen fucks everything up. any idea how i would go about this. or a similar looking dashboard to manage windows services?
I am still thinking on how to use Aspire in production using something else other than Azure or AWS... I mean how to use it on something like Digital Ocean or Heroku
I struggle to see how to adapt Aspire in production. I can see Aspire being useful - but I just can't wrap my head around it working together with ADO pipelines deploying to DO droplets, for example. Maybe I need to search for some practical usage examples.
For those who debug on mobile Once I made whole release from mobile and there were no responsive design from start to end, via Jenkins and Octopus you never know when you'll need it Nice to have
It feels reasonable to assume the support policy for .NET Aspire will change once Microsoft completes all core features. It's also a sign that there might be breaking changes coming.
I don't personally mind the support policy , at least cuddly, but it's problematic that postgres didn't get updated to 9.0 yet, so it's either "use an EoL version of Aspire" or "Use a mismatched Postgres version" ( I chose the latter, for reference).
@@jprince1993 The Azure Service Bus emulator was released at MS Ignite. We've added support for the emulator in Aspire for 9.1 (coming out early next year).
Regardless of how many videos I've watched on .NET Aspire, I still don't get the hype around it. I'm not trying to dismiss it or anything like that; I'm just trying to understand the real benefits of using it. Is it supposed to replace the monorepo approach or something? Usually, we have many microservices and frontends in separate repositories. I can see a simple use case for .NET Aspire when I have an API, a database, and sometimes Redis running in the development environment. However, I can't see how it would be useful when we have multiple microservices spread across different Git repositories. Perhaps there's no intended use case for that scenario? Is it meant only for single-microservice local development?
Single repository at a time. Each microservice is an aspire enabled repository. Some people will make a mono repository and solution using submodules to run with their dependencies but it’s not the only pattern for making this work (if you need all of your deps in local dev)
i really don´t get aspire and the use cases for it. But ím not working in a big team or certain tech that i supposed this is for. I fear Aspire is made to sell, or even lure, customers into Azure. I hope i´m wrong.
This is my fault, but I have no idea what Aspire is... feels like something that is only for local development purposes, but I can't tell what it is or why I should be using it?!?!
The next "silverlight". Who knows, knows. I disagree with "boxing" people to use specific tools/solutions. Just let people develop their code and use whatever they want: asprie, docker, cloud, anything.
I know, that you dont know. Aspire is a way of doing things. Nobody boxes you into it. If you wanna use something else you can do that without problems
.NET Framework can run inside a windows container with IIS, but running Linux and windows containers side by side requires running preview versions of Containerd which would be a pain to automate with Aspire.
How much microsoft pays you for these videos? 😂 Aspire is not awesome now. It was useless and it still useless. If you say that something is awesome in software development, then tell me how i can make money using this feature? Or at least how i can solve real world problems with this feature? There is not a single job on the market right now that requires knowledge of Aspire. It has absolutely no use in production, and is generally only suitable for local development of some pet projects. I can do much more with Kubernetes, so I don't see any reason to waste time on Aspire.
@@nickchapsas that's even weirder then. Aspire is good if you want to do a simple PoC. Try to push it to production, have control over resources, deploy to ACA with custom VNet etc. Amount of hacks you have to do is enormous and the process of deployment using AZD CLI is even worse. If you're not paid for that claiming it's awesome, I'm very surprised
@@iuhshwth1634boi, you have zero understanding of software development. Read books first, get more experience, and then come here after few years and read my comment again. I don’t give a shit how long aspire is in the release or was in the preview. If it cannot solve real world problems it is useless. Having experience with k8 is much more useful than with aspire. This is a fact!
I am no longer biting the "awesomeness" from Microsoft. Couple of days ago you, Mr. Chapsas, released the video with your doubts about Blazor. Blazor was "awesome" five years ago in the same way Aspire is awesome now. I will wait until your channel publishes the video "Blazor is finally awesome in .Net 9". Until such video is published it is absolutely no Aspire for me and I strongly suggest to others not to even look in the Aspire direction. Microsoft should finish its fucking job and make Blazor great again so Mr. Chapsas can put his seal of approval on it.
@@jonasbarka Exactly. I want his seal of approval first. He is an influencer and trainer, why should we, mere mortals, suffer adoption hiccups and then hear "meh, Microsoft is not using it internally, there is something wrong with it".
Responsive design was added to the dashboard for accessibility. The dashboard is still usable for people with vision issues who use the dashboard at 300%+ zoom.
The dashboard being usable on mobile devices is a happy side effect.
People will still be using Newtonsoft.Json in 100 years from now 😂
This simply shows the dedication of team. Really great job
The responsive design is also useful if you have only one screen and you want to move the browser side-by-side with your IDE.
With this video I finally understood what Aspire is about :D
Hi Nick,
Great video! It was very well put together. You mentioned using Azure Functions for Dometrain-would you consider creating a video on the architecture or a similar topic? I think it would be fascinating to see how everything works behind the scenes.
If you guys are interested in that, I'd love to do that
@@nickchapsas +1
The restart functionality is useful when you make changes to your services (projects). You can now reload them after building the code. That is a welcome addition.
How do you do that exactly? Stop the resource, manually rebuild that project and then start the resource again?
@@modernkennnernthat works, or you can use visual studio, run without debugging and rebuild the individual project. That will kill the specific process and you can restart it from the dashboard
@@davidfowl Are there any plans to add a "Rebuild and restart" action in Aspire for .Net projects? Seems like something that could be done
We’re thinking through the various edit and restart workflows
thanks Nick, looking forward to the Aspire course on Dometrain.
even while my solutions are not aspire ready (containers etc) I still atleast use the dashboard because it's easy to use. Still has some kinks to work out, but it's nice that i got traces, logs and metrics already.
That was a great video as always :D
I already tried aspire a bit for small personal projects but not in production yet. I find it a great tool for developing getting a better overview of what is happening in my application.
Could you perhaps make a video on the best way to deploy an aspire project to AWS ECS? Also maybe for cases, where the database or other resources that are normally configured with aspire are already present in the AWS environment.
Dziękujemy.
I'm still ambivalent on Aspire. Is it anything more than an abstraction layer above Docker /w some telemetry + monitoring dashboards built in? I feel like it doesn't add anything to dev teams who are already docker/kubernetes mature and have figured out telemetry. If anything, I feel like the abstraction might complicate things. Am I missing anything? Perhaps it's useful & insightful to teams that haven't reached that maturity level yet.
It's a little easier for DOTNET devs to start with Aspire comparred to Docker. Otherwise - yes.
Yeah, I'm on the same boat. Aspire doesn't seem to add any value to a team that already has telemetry/container/tracing in place. For me it ended being just a tool to write docker-compose files in dotnet instead of yaml. The dashboard with the container list is just showing data already available on the docker desktop or on the docker-cli, with less features.
For my workflow, it doesn't make much sense to use Aspire.
@@jeanjcl that’s pretty reasonable POV. There are lots more projects that will be created with aspire in a fraction of the time it took you to figure out how to configure the project and all the various containers and cloud services you use.
Though it may seem like a minus when you understand the details, abstraction is how we’re able to manage software at scale. I’m looking forward to the ecosystem of integrations growing for aspire!
.NET Aspire was NOT release "a few years ago" but earlier in 2024.
He may be referring to the fact the GitHub repo was created in 2023 or that it's the successor to Project Tye
Lol, Nick really became just a narrator that's not even rechecking what's in the script.
It has been around as a usable preview for much longer
nah, I remember seeing it at least 2 years ago, dont be a nitpick
I was looking for this comment. Thanks.
Thanks for the video. Looking forward to the future Azure Functions + Aspire videos as well. ☁️
He goes into how great Aspire is, how to install it, and what can you do with it, but can someone tell me what is it for? What does it solve?
Check my previous video on it
docker compose watch can do ALOT of the stuff that is here.
You'll still need to wire up everything with connection strings
Yes but .NET Aspire enables devs to do the same with C# code, not docker syntax.
@@jmoralesv03 the docker “syntax” will be usable on any stack, C# only not at all. No one will introduce another language just to orchestrate containers like compose can do
@@jmoralesv03 so that the problem aspire tackles
The dashboard is available when deploying to Azure, somewhat useful to quickly see an error while you are away from the computer.
Is that a security issue? Wouldn't it be publicly viewable?
@@blackpaw29 No it will not be publicly reachable, that would be a security nightmare
@@blackpaw29 Not at all, you need to authenticate to the Azure Portal to be able to see the Aspire Dashboard
@@99MrX99 Ta, I might check it out then, the dashboard is quite useful
Correct
looks great locally.. but how I can I publish my app to my Docker Swarm server environment (using the existing server database, Redis etc)
Hi Nick,
I caught .NET Conf 2024 and was impressed by the upcoming AI additions.
Your videos always stand out for their high quality and depth, and it got me thinking-a video from you on running OLLama locally, trained on a PDF or something similar, would be incredible.
Looking forward to your thoughts!
Is there a reason why in Docker Desktop all of the Aspire services aren't in a group? When you deploy a docker compose, all of the things you deploy are in a collapsible group in Docker Desktop.
Maybe that grouping is only available with docker compose, which Aspire do not use.
@@jonasbarkathat’s correct
@@jonasbarka so then it should)
Hello, Nick! Thank you for the video. I would like to see a video about Aspire + Open Telemetry Collector + Prometheus. I didn't find any similar videos online. It would be interesting to see
Thanks for the Update Video on this topic. I also see the need for .Net Aspire, but for me currently it feel mainly like a improvement of the developer experience. But in a Enterprise world there is always the CI / CD aspect and even with the aspirat project, which generates some Kubernetes yml files, it is not directly usable from development to deploy to production. Or do I miss something? An additonal Video which extends this in usage of Azure Pipelines with the deployment to an Environment (Azure Cloud resource or external Kubernetes resource) would be really helpful.
Great job! Can you make a video how we can write Integration tests for Aspire projects.
How is this different than running the apps manually on Docker Desktop? We can do all that using the docker-compose file. So, Aspire is just another between your app and docker desktop with a few added features such as health checks.
That's a great video, Nick! My question is twofold. What if you already have a project built on, say, ASPNET? How do you add Aspire to it? And, is it still valuable to add it if your project is a monolith with dependencies on existing infrastructure like database management systems, existing Redis or Kafka servers, etc?
All great things.. thanks Nick for sharing the same . Only problem that I see is what you talked about the same in last that as soon as next version is launched, all previous versions will be scrapped.
They probably got the smaller view port support out of the box. Desktop and Tablet would be pretty cool.
Hi Nick, I was wondering if Aspire would be a good fit for me and the project I am working on. Essentially, I have a Blazoer front end that spins up over a dozen different custom IHostedLifecycleService services. There is an exposed Web API and of course there is a Database as well and logging. I get the DB, API and Logging, but wondering if I would get any benefit in Aspire around the services?
When can I apply custom styles/theme? I would love to be able to rebrand this.
Thanks, aspire really looks appealing but until it can easly be hosted with other providers than Azure its still something we can't consider using at the moment. One question though does all the projects need to be in the same solution to be connected through aspire 🤔?
Nick, I would love to know how to deploy aspire projects properly with CI/CD. I mean the azd deploy is terrible for many reasons. Especially for those using terraform. What do you mean?
I loved the last version. The con I have found - they broke postgres.
How did we break it?
I don't know why everyone was able to upgrade so easily. When I went from version 8 to 9 (so after updating the aspire nuget packages not the .NET version) all health checks now fail for my integrations like redis or postgres. I saw the same error in one of the Aspire presentations from microsoft last week but even with a new sample project where I start from scratch my health checks fail. I was under the impression that there is a bug in the V9 libraries but now I see that it works perfectly fine for you.
I didn't have any issues upgrading so it migth have been an issue when .NET 9 came out but now it should be fixed
@@nickchapsas Thank you I'll try again. I was upgrading on the day of the release so maybe there was still something flaky.
Keep in mind that Aspire 9 supports .NET 8
Can I use both aspire and docker with kubernets/azure container apps hosted on azure? Im just about to jump into azure publishing stuff and got no idea how that would work.
Great video! I hope you can create another one explaining Aspire service names, service discovery, and reverse proxies. I'm currently struggling with a cross-origin issue and have to hard-code configurations. However, the client port is randomly assigned during debugging, which is really frustrating. Thanks in advance!
Can it be viewed/argued that .NET Aspire is like a docker-compose file on steroids? 😆
👍🏾
i really like the dashboard itself for logging windows services. i tried decoupling it from the IDE and without docker but the sourcegen fucks everything up. any idea how i would go about this. or a similar looking dashboard to manage windows services?
curious about how something like this works in a company that cannot use docker (licensing/security issues) on their machines.
You can use podman
I am still thinking on how to use Aspire in production using something else other than Azure or AWS... I mean how to use it on something like Digital Ocean or Heroku
Just to say, Aspire 9 != .NET 9. You can run all the aspire 9 stuff with the .NET 8 sdk if you have to (for some reason)
Thank you for this! I'm newish to .NET and still having trouble learning all of the versioning nuances (esp b/c we also do Unity)
Hi Nick, When we expect Aspire course coming in Dometrain any ETA
I was hoping for it to be out before the 13th of December but it’s unlikely. It will probably be out early February
Is Aspire course coming on Dometrain?
Yes and it will be by me
@nickchapsas looking forward to this
I struggle to see how to adapt Aspire in production. I can see Aspire being useful - but I just can't wrap my head around it working together with ADO pipelines deploying to DO droplets, for example. Maybe I need to search for some practical usage examples.
first time being impressed by dotnet aspire
so cool , thanks
For those who debug on mobile
Once I made whole release from mobile and there were no responsive design
from start to end, via Jenkins and Octopus
you never know when you'll need it
Nice to have
It feels reasonable to assume the support policy for .NET Aspire will change once Microsoft completes all core features. It's also a sign that there might be breaking changes coming.
Can someone tell me how to embedd Aspire into my WinTray app as tool?
OR... dock it to a really small window at the edge of the screen?
More videos about aspire! :D
I don't personally mind the support policy , at least cuddly, but it's problematic that postgres didn't get updated to 9.0 yet, so it's either "use an EoL version of Aspire" or "Use a mismatched Postgres version" ( I chose the latter, for reference).
I always debug my projects on my nokia.
Does it have a service bus emulator?
I think MS released it finally
hahaha my first question too! Please let me leave rabbit! so weird having to have service bus per dev in azure
@@jprince1993 The Azure Service Bus emulator was released at MS Ignite. We've added support for the emulator in Aspire for 9.1 (coming out early next year).
You can add a host of rabbitmq, kafka or azure service bus, the first two create a container, the last one points to azure resource.
So basically Microsoft made a wrapper to docker-compose
Regardless of how many videos I've watched on .NET Aspire, I still don't get the hype around it. I'm not trying to dismiss it or anything like that; I'm just trying to understand the real benefits of using it. Is it supposed to replace the monorepo approach or something? Usually, we have many microservices and frontends in separate repositories.
I can see a simple use case for .NET Aspire when I have an API, a database, and sometimes Redis running in the development environment. However, I can't see how it would be useful when we have multiple microservices spread across different Git repositories. Perhaps there's no intended use case for that scenario? Is it meant only for single-microservice local development?
Single repository at a time. Each microservice is an aspire enabled repository.
Some people will make a mono repository and solution using submodules to run with their dependencies but it’s not the only pattern for making this work (if you need all of your deps in local dev)
@@davidfowl thanks for clarification!
i really don´t get aspire and the use cases for it. But ím not working in a big team or certain tech that i supposed this is for. I fear Aspire is made to sell, or even lure, customers into Azure. I hope i´m wrong.
Glad to hear that Aspire is finally here! Nick, it's time to add a course about Aspire at Dometrain, isn't it?
No mobile shaming please ;)
This is my fault, but I have no idea what Aspire is... feels like something that is only for local development purposes, but I can't tell what it is or why I should be using it?!?!
My plan is to simply ignore Aspire and eventually it will go away.
nice!
@nickchapsas I guess you can please some of the people some of the time, but not all of the people all of the time! 😂 Sheesh!
I still don't understand the point of Aspire. I must be seriously missing something.
The next "silverlight". Who knows, knows.
I disagree with "boxing" people to use specific tools/solutions. Just let people develop their code and use whatever they want: asprie, docker, cloud, anything.
I know, that you dont know. Aspire is a way of doing things. Nobody boxes you into it. If you wanna use something else you can do that without problems
Truly an aspiring video 😶🌫
Aspire is still useless to me when you cant run a .net framework container
Poor you. .NET framework depends on IIS, no way to self host. Making it to be controlled by aspire or run inside container.
.NET Framework can run inside a windows container with IIS, but running Linux and windows containers side by side requires running preview versions of Containerd which would be a pain to automate with Aspire.
Start showing people how to deploy stuff these tutorials are useless.
How much microsoft pays you for these videos? 😂 Aspire is not awesome now. It was useless and it still useless. If you say that something is awesome in software development, then tell me how i can make money using this feature? Or at least how i can solve real world problems with this feature?
There is not a single job on the market right now that requires knowledge of Aspire. It has absolutely no use in production, and is generally only suitable for local development of some pet projects. I can do much more with Kubernetes, so I don't see any reason to waste time on Aspire.
I wish I was paid 😂
@@nickchapsas that's even weirder then. Aspire is good if you want to do a simple PoC. Try to push it to production, have control over resources, deploy to ACA with custom VNet etc. Amount of hacks you have to do is enormous and the process of deployment using AZD CLI is even worse. If you're not paid for that claiming it's awesome, I'm very surprised
Are you dumb? Before .net 9 aspire was only on a preview, and you already whine about it not being pushed in productions irl?
@@iuhshwth1634boi, you have zero understanding of software development. Read books first, get more experience, and then come here after few years and read my comment again. I don’t give a shit how long aspire is in the release or was in the preview. If it cannot solve real world problems it is useless. Having experience with k8 is much more useful than with aspire. This is a fact!
I am no longer biting the "awesomeness" from Microsoft. Couple of days ago you, Mr. Chapsas, released the video with your doubts about Blazor. Blazor was "awesome" five years ago in the same way Aspire is awesome now. I will wait until your channel publishes the video "Blazor is finally awesome in .Net 9". Until such video is published it is absolutely no Aspire for me and I strongly suggest to others not to even look in the Aspire direction. Microsoft should finish its fucking job and make Blazor great again so Mr. Chapsas can put his seal of approval on it.
You won't use Aspire until Nick thinks Blazor is awesome?
@@jonasbarka Exactly. I want his seal of approval first. He is an influencer and trainer, why should we, mere mortals, suffer adoption hiccups and then hear "meh, Microsoft is not using it internally, there is something wrong with it".