.NET Aspire is Finally Awesome in .NET 9

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 125

  • @newtonki
    @newtonki Місяць тому +94

    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.

    • @robl39
      @robl39 Місяць тому

      People will still be using Newtonsoft.Json in 100 years from now 😂

    • @winchester2581
      @winchester2581 29 днів тому

      This simply shows the dedication of team. Really great job

  • @ozontm
    @ozontm Місяць тому +32

    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.

  • @kidservice
    @kidservice Місяць тому +30

    With this video I finally understood what Aspire is about :D

  • @stefancfefo
    @stefancfefo Місяць тому +26

    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.

    • @nickchapsas
      @nickchapsas  Місяць тому +69

      If you guys are interested in that, I'd love to do that

    • @jmoralesv03
      @jmoralesv03 Місяць тому

      @@nickchapsas +1

  • @marna_li
    @marna_li Місяць тому +4

    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.

    • @modernkennnern
      @modernkennnern Місяць тому +2

      How do you do that exactly? Stop the resource, manually rebuild that project and then start the resource again?

    • @davidfowl
      @davidfowl Місяць тому +1

      @@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

    • @modernkennnern
      @modernkennnern Місяць тому

      @@davidfowl Are there any plans to add a "Rebuild and restart" action in Aspire for .Net projects? Seems like something that could be done

    • @davidfowl
      @davidfowl Місяць тому +1

      We’re thinking through the various edit and restart workflows

  • @KrzysiekDerkowski
    @KrzysiekDerkowski Місяць тому

    thanks Nick, looking forward to the Aspire course on Dometrain.

  • @kvloover
    @kvloover Місяць тому +2

    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.

  • @Animage100
    @Animage100 Місяць тому +2

    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.

  • @piotrpoczmanski2996
    @piotrpoczmanski2996 Місяць тому +1

    Dziękujemy.

  • @michaelgaziotis2538
    @michaelgaziotis2538 Місяць тому +19

    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.

    • @MagicNumberArg
      @MagicNumberArg Місяць тому +1

      It's a little easier for DOTNET devs to start with Aspire comparred to Docker. Otherwise - yes.

    • @jeanjcl
      @jeanjcl Місяць тому +3

      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.

    • @davidfowl
      @davidfowl Місяць тому +4

      @@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!

  • @StuBonham
    @StuBonham Місяць тому +50

    .NET Aspire was NOT release "a few years ago" but earlier in 2024.

    • @mynameisshadywhat
      @mynameisshadywhat Місяць тому

      He may be referring to the fact the GitHub repo was created in 2023 or that it's the successor to Project Tye

    • @ВладиславДараган-ш3ф
      @ВладиславДараган-ш3ф Місяць тому +3

      Lol, Nick really became just a narrator that's not even rechecking what's in the script.

    • @JayVal90
      @JayVal90 Місяць тому

      It has been around as a usable preview for much longer

    • @vmachacek
      @vmachacek Місяць тому +7

      nah, I remember seeing it at least 2 years ago, dont be a nitpick

    • @VoroninPavel
      @VoroninPavel Місяць тому

      I was looking for this comment. Thanks.

  • @GiovanniOrlandoi7
    @GiovanniOrlandoi7 Місяць тому

    Thanks for the video. Looking forward to the future Azure Functions + Aspire videos as well. ☁️

  • @Vallecaucanisimo
    @Vallecaucanisimo Місяць тому +10

    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?

    • @nickchapsas
      @nickchapsas  Місяць тому +3

      Check my previous video on it

  • @metaltyphoon
    @metaltyphoon Місяць тому +9

    docker compose watch can do ALOT of the stuff that is here.

    • @MatthijsWagemakers
      @MatthijsWagemakers Місяць тому +5

      You'll still need to wire up everything with connection strings

    • @jmoralesv03
      @jmoralesv03 Місяць тому +2

      Yes but .NET Aspire enables devs to do the same with C# code, not docker syntax.

    • @metaltyphoon
      @metaltyphoon Місяць тому

      @@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

    • @sulaimantriarjo8097
      @sulaimantriarjo8097 17 днів тому

      @@jmoralesv03 so that the problem aspire tackles

  • @PticostaricaGS
    @PticostaricaGS Місяць тому +4

    The dashboard is available when deploying to Azure, somewhat useful to quickly see an error while you are away from the computer.

    • @blackpaw29
      @blackpaw29 Місяць тому

      Is that a security issue? Wouldn't it be publicly viewable?

    • @99MrX99
      @99MrX99 Місяць тому +2

      ​@@blackpaw29 No it will not be publicly reachable, that would be a security nightmare

    • @PticostaricaGS
      @PticostaricaGS Місяць тому

      @@blackpaw29 Not at all, you need to authenticate to the Azure Portal to be able to see the Aspire Dashboard

    • @blackpaw29
      @blackpaw29 Місяць тому

      @@99MrX99 Ta, I might check it out then, the dashboard is quite useful

    • @davidfowl
      @davidfowl Місяць тому +1

      Correct

  • @aitchvee
    @aitchvee Місяць тому +1

    looks great locally.. but how I can I publish my app to my Docker Swarm server environment (using the existing server database, Redis etc)

  • @Azagatoth
    @Azagatoth Місяць тому

    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!

  • @pippin_mole
    @pippin_mole Місяць тому +4

    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.

    • @jonasbarka
      @jonasbarka Місяць тому +1

      Maybe that grouping is only available with docker compose, which Aspire do not use.

    • @davidfowl
      @davidfowl Місяць тому

      @@jonasbarkathat’s correct

    • @timur2887
      @timur2887 Місяць тому +1

      @@jonasbarka so then it should)

  • @alexzeeker696
    @alexzeeker696 Місяць тому

    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

  • @danielsun0402
    @danielsun0402 Місяць тому

    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.

  • @durmisi07
    @durmisi07 Місяць тому

    Great job! Can you make a video how we can write Integration tests for Aspire projects.

  • @komilp8310
    @komilp8310 16 днів тому

    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.

  • @eugenpaval
    @eugenpaval Місяць тому

    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?

  • @Manvik15
    @Manvik15 Місяць тому

    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.

  • @icewolf1911
    @icewolf1911 Місяць тому

    They probably got the smaller view port support out of the box. Desktop and Tablet would be pretty cool.

  • @ThatKevinGrigsby
    @ThatKevinGrigsby Місяць тому

    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?

  • @MichaelBattaglia
    @MichaelBattaglia Місяць тому

    When can I apply custom styles/theme? I would love to be able to rebrand this.

  • @waitingforyou2082
    @waitingforyou2082 Місяць тому +1

    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 🤔?

  • @Alexander-by4uv
    @Alexander-by4uv Місяць тому

    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?

  • @yakovkemer5062
    @yakovkemer5062 Місяць тому

    I loved the last version. The con I have found - they broke postgres.

    • @davidfowl
      @davidfowl Місяць тому

      How did we break it?

  • @Weini123
    @Weini123 Місяць тому +1

    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.

    • @nickchapsas
      @nickchapsas  Місяць тому +1

      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

    • @Weini123
      @Weini123 Місяць тому

      @@nickchapsas Thank you I'll try again. I was upgrading on the day of the release so maybe there was still something flaky.

    • @fredimachadonet
      @fredimachadonet Місяць тому

      Keep in mind that Aspire 9 supports .NET 8

  • @iuhshwth1634
    @iuhshwth1634 Місяць тому

    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.

  • @tensorflow5330
    @tensorflow5330 Місяць тому

    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!

  • @NiKRuLeZ
    @NiKRuLeZ Місяць тому +6

    Can it be viewed/argued that .NET Aspire is like a docker-compose file on steroids? 😆

  • @LlamaNL
    @LlamaNL Місяць тому

    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?

  • @stevendall7958
    @stevendall7958 Місяць тому

    curious about how something like this works in a company that cannot use docker (licensing/security issues) on their machines.

    • @davidfowl
      @davidfowl Місяць тому

      You can use podman

  • @ErickCastrilloArroyo
    @ErickCastrilloArroyo Місяць тому

    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

  • @mip83
    @mip83 Місяць тому +2

    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)

    • @lldadb664
      @lldadb664 Місяць тому +1

      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)

  • @SachinDewan12
    @SachinDewan12 Місяць тому

    Hi Nick, When we expect Aspire course coming in Dometrain any ETA

    • @nickchapsas
      @nickchapsas  Місяць тому +1

      I was hoping for it to be out before the 13th of December but it’s unlikely. It will probably be out early February

  • @antonmartyniuk
    @antonmartyniuk Місяць тому +1

    Is Aspire course coming on Dometrain?

  • @TehGM
    @TehGM Місяць тому

    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.

  • @Nonenone-rj9yp
    @Nonenone-rj9yp Місяць тому

    first time being impressed by dotnet aspire

  • @gerahambe1
    @gerahambe1 Місяць тому

    so cool , thanks

  • @OlegDekhtiarenko
    @OlegDekhtiarenko Місяць тому

    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

  • @lordmetzgermeister
    @lordmetzgermeister Місяць тому

    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.

  • @akknaodinden
    @akknaodinden Місяць тому

    Can someone tell me how to embedd Aspire into my WinTray app as tool?

  • @burtonrodman
    @burtonrodman Місяць тому

    OR... dock it to a really small window at the edge of the screen?

  • @alfredosevero80
    @alfredosevero80 Місяць тому +5

    More videos about aspire! :D

  • @modernkennnern
    @modernkennnern Місяць тому

    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).

  • @woistdasniveau8290
    @woistdasniveau8290 Місяць тому +3

    I always debug my projects on my nokia.

  • @peteralmanzar
    @peteralmanzar Місяць тому

    Does it have a service bus emulator?

    • @nickchapsas
      @nickchapsas  Місяць тому +1

      I think MS released it finally

    • @jprince1993
      @jprince1993 Місяць тому +2

      hahaha my first question too! Please let me leave rabbit! so weird having to have service bus per dev in azure

    • @MitchDenny
      @MitchDenny Місяць тому

      @@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).

    • @Midicifu
      @Midicifu Місяць тому

      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.

  • @haggainewman4212
    @haggainewman4212 Місяць тому

    So basically Microsoft made a wrapper to docker-compose

  • @judgementofsouls
    @judgementofsouls Місяць тому

    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?

    • @davidfowl
      @davidfowl Місяць тому

      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)

    • @judgementofsouls
      @judgementofsouls Місяць тому +1

      @@davidfowl thanks for clarification!

  • @ventricity
    @ventricity Місяць тому

    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.

  • @dcernach
    @dcernach Місяць тому

    Glad to hear that Aspire is finally here! Nick, it's time to add a course about Aspire at Dometrain, isn't it?

  • @martinprohn2433
    @martinprohn2433 Місяць тому

    No mobile shaming please ;)

  • @codefoxtrot
    @codefoxtrot Місяць тому

    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?!?!

  • @paarma1752
    @paarma1752 Місяць тому +8

    My plan is to simply ignore Aspire and eventually it will go away.

  • @tipsybroom2
    @tipsybroom2 Місяць тому

    nice!

  • @Bennevisie
    @Bennevisie Місяць тому

    @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!

  • @kurtnelle
    @kurtnelle Місяць тому

    I still don't understand the point of Aspire. I must be seriously missing something.

  • @GeorgeGeorge-u5k
    @GeorgeGeorge-u5k Місяць тому +2

    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.

    • @TheJoeIaut
      @TheJoeIaut Місяць тому +1

      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

  • @evanboltsis
    @evanboltsis Місяць тому

    Truly an aspiring video 😶‍🌫

  • @DennisHaney
    @DennisHaney Місяць тому

    Aspire is still useless to me when you cant run a .net framework container

    • @fakhrulhilal
      @fakhrulhilal Місяць тому

      Poor you. .NET framework depends on IIS, no way to self host. Making it to be controlled by aspire or run inside container.

    • @gabrielsadaka
      @gabrielsadaka Місяць тому

      .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.

  • @helleyequeue
    @helleyequeue Місяць тому

    Start showing people how to deploy stuff these tutorials are useless.

  • @babayka888
    @babayka888 Місяць тому +14

    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
      @nickchapsas  Місяць тому +16

      I wish I was paid 😂

    • @mateuszpeczek5101
      @mateuszpeczek5101 Місяць тому +1

      @@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

    • @iuhshwth1634
      @iuhshwth1634 Місяць тому +3

      Are you dumb? Before .net 9 aspire was only on a preview, and you already whine about it not being pushed in productions irl?

    • @babayka888
      @babayka888 Місяць тому

      @@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!

  • @mibli2935
    @mibli2935 Місяць тому +1

    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
      @jonasbarka Місяць тому

      You won't use Aspire until Nick thinks Blazor is awesome?

    • @mibli2935
      @mibli2935 Місяць тому

      @@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".