.NET Containers advancements in .NET 8 | .NET Conf 2023

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ย. 2023
  • .NET 8 brings new advancements in performance in security not just for your apps, but for the containers that run them. Learn more about changes to the Microsoft base images to support rootless execution, new container images that support more secure deployment and entirely new scenarios like Ahead of Time compilation. Then, see how the SDK Container publishing tooling that builds on these to make container deployments easier than ever.
    Download .NET 8 - aka.ms/get-dotnet-8
    Hack Together - aka.ms/hacktogether/dotnet
    Learn collection - aka.ms/learn-dotnet-8
    .NET 8 Survey - aka.ms/dotnet-survey
    Local Events - aka.ms/dotnetconf-local-event
    Hero blog - aka.ms/dotnet8blog
    Blog: aka.ms/dotnet/blog
    Twitter: aka.ms/dotnet/twitter
    TikTok: aka.ms/dotnet/tiktok
    Mastodon: aka.ms/dotnet/mastodon
    LinkedIn: aka.ms/dotnet/linkedin
    Facebook: aka.ms/dotnet/facebook
    Docs: learn.microsoft.com/dotnet
    Forums: aka.ms/dotnet/forums
    🙋‍♀️Q&A: aka.ms/dotnet-qa
    👨‍🎓Microsoft Learn: aka.ms/learndotnet
    #dotnet
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 21

  • @attilah
    @attilah 7 หลายเดือนก่อน +4

    Cannot be happier of not having to mess with a dockerfile for a lot the scenarios, thanks for making it easier and showing it to us!

  • @OeHomestead
    @OeHomestead 3 หลายเดือนก่อน +1

    Been running a couple of .net core solutions using Alpine-images in a production environment for years, and they've been nothing but rock solid. I'll definitely check out the new advancements.

  • @WeijieJIN
    @WeijieJIN 6 หลายเดือนก่อน

    Thanks for the work! Quite exciting to see you guys are working on that 2 M reduction to push to the limit! Respect!

  • @synthmania7275
    @synthmania7275 7 หลายเดือนก่อน +1

    🎉🎉🎉🎉 great stuff! Can’t wait to try it.

  • @josefromspace
    @josefromspace 6 หลายเดือนก่อน

    Thank you both, great stuff!

  • @keshavsingh4522
    @keshavsingh4522 6 หลายเดือนก่อน

    Thanks guys.

  • @cheebadigga4092
    @cheebadigga4092 7 หลายเดือนก่อน

    dotnet is getting better and better!

  • @nedeilse6994
    @nedeilse6994 6 หลายเดือนก่อน

    cool,very cool

  • @acodersjourney
    @acodersjourney 7 หลายเดือนก่อน

    Your channel has become a reliable source of knowledge.

  • @TheChonsey
    @TheChonsey 7 หลายเดือนก่อน +3

    Thanks for a demo! Was really useful. A question- when would one prefer sdk path vs dockerfile?

    • @davidfowl
      @davidfowl 7 หลายเดือนก่อน +1

      Sdk

    • @orlandomco
      @orlandomco 7 หลายเดือนก่อน

      I assume you choose the Dockerfile approach if you have customizations that need to be built in. For example, you have a special file that is required to be built into the container's image. Otherwise, you should be fine with using the publish container approach (sdk, runtime, runtime-deps).

    • @ChetHusk
      @ChetHusk 7 หลายเดือนก่อน +4

      I should make a FAQ for this 😅 I think 80% of .Net web/console/etc apps should default to the SDK feature. The main reason you should eject to a Dockerfile is if you have some specific Linux packages that you need installed on the underlying OS. However, with the aot and extra package variants we talked about in this tall, even that use case may be covered already!

  • @keigezellig
    @keigezellig 6 หลายเดือนก่อน

    Very cool this. Is it also possible to have for example a nginx base image and put the .net application on top of it? (in case of a webapp)

  • @sebastienmoulin
    @sebastienmoulin 6 หลายเดือนก่อน

    Can you please confirm that we can have the same builded container without using the dotnet command but the regular docker build command?
    I assume I would need to precise the right targeted dotnet base docker image and Arch and ensure that my project is set for AOT and build it or publish it myself.

  • @fradius1
    @fradius1 หลายเดือนก่อน

    What about ci/cd where it expects a dockerfile ?

  • @Rolan18111
    @Rolan18111 7 หลายเดือนก่อน +1

    Will this affect our ability to install dotnet counters and other tools onto the image while it's running? Or is that one of the tradeoffs with this type of containerization?

    • @ChetHusk
      @ChetHusk 7 หลายเดือนก่อน +2

      Great question - chiseled images will have a hard time installing the trace tools. For that you'd probably want to run the trace tools in a sidecar container, and point them to the trace pipe locations. Or bundle the apps into a custom base image of your own.

  • @alexander-kastil
    @alexander-kastil 6 หลายเดือนก่อน

    I wonder how Azure Container Reg Build Tasks support this? can I instruct it to use dotnet publish instead of dockerfile?

  • @peperudpeperudski1911
    @peperudpeperudski1911 7 หลายเดือนก่อน +3

    I like where this is going! But please rehearse. Seems like anytime I watch a MS presentation these days, something (or multiple things) doesn’t go as it should.