How To Containerize a .NET App Without a Dockerfile

Поділитися
Вставка
  • Опубліковано 15 жов 2024

КОМЕНТАРІ • 31

  • @musaleem2
    @musaleem2 10 місяців тому +1

    Good video, i spent two to creating a docker file for my Solution, having multiple projects inside it. Atleat do it with this video. Thankyou you video, it was great resours for me

  • @ta-cvig
    @ta-cvig Рік тому

    Im So Glad I subscribed! I needed to see this so bad!
    Thank You So Much Julio!!

  • @ameetjayawant4114
    @ameetjayawant4114 Рік тому +1

    Excellent Julio! Thank you for such timely information. I hated the docker files for the very reason that you have illustrated.

    • @davestorm6718
      @davestorm6718 Рік тому

      Yeah, while Docker is cool, you have to take so many steps and do way too much troubleshooting. I was used to publishing directly to a running a webhost in 1 click (taking only seconds of my time), then went to Docker, and could spend 30 minutes trying to figure out what else was going on. It's nice MS created this. Now if they could build in authentication, that'd be even better. A publish should take less than 30 seconds.

    • @juliocasal
      @juliocasal  Рік тому

      You are welcome!

    • @juliocasal
      @juliocasal  Рік тому +1

      Agree, publishing a web app should be very straightforward. They are working on improving the authentication story in the next release, crossing fingers!

  • @alireza136211
    @alireza136211 Рік тому +1

    It was nicely explained and was informative. Thank you for sharing it.

  • @Guillen8606
    @Guillen8606 Рік тому +1

    How do we approach a docker-compose with this way of dealing since before we indicated the dockerfile in the docker-compose?

  • @okunlolaoluwaseun4390
    @okunlolaoluwaseun4390 Рік тому

    Thank you so much bro.....yo are a life saver

  • @Guillen8606
    @Guillen8606 Рік тому

    HI Julio, well explained. How can we deal with https in this case? I have seen several examples and they all show simply http. The certificates tend to throw error messages when we use this approach.

    • @juliocasal
      @juliocasal  Рік тому +1

      Honestly, can't tell. I usually don't use https in my containers. Better left to the API Gateway.

  • @RRR10
    @RRR10 Рік тому

    very well explained. will it support window container image also ?

    • @juliocasal
      @juliocasal  Рік тому

      Thank you! Yes, Windows containers should be supported eventually.

    • @ChetHusk
      @ChetHusk Рік тому

      @@juliocasal Happy to report that in version 0.4.0 of the package, Windows containers are fully-supported! You can use this version now, or wait for the 7.0.300 SDK in a month and a half or so.

    • @juliocasal
      @juliocasal  Рік тому

      @@ChetHusk That's awesome, thanks for the heads up Chet!

  • @kenjiobara
    @kenjiobara 6 місяців тому +1

    which tools did you use at 8:18?

    • @juliocasal
      @juliocasal  6 місяців тому

      Tools?

    • @kenjiobara
      @kenjiobara 6 місяців тому

      @@juliocasal to highlight on the fly

  • @abdelhakimbensalah1776
    @abdelhakimbensalah1776 Рік тому +1

    HI Julio, well explained.
    I have an error where the project is "Microsoft.NET.Sdk.Worker"
    --> "C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Publish.targets(124,5): warning NETSDK1198: A publish profile with the name 'DefaultContainer' was not found in the project. Set the PublishProfile property to a valid file name.".
    I have "DefaultContainer" on my "csproj" file.
    It's ok for "Microsoft.NET.Sdk.Web" type project

    • @juliocasal
      @juliocasal  Рік тому

      Check out this for a worker project: learn.microsoft.com/en-us/dotnet/core/docker/publish-as-container#publish-net-app

  • @kimrobertrozen5609
    @kimrobertrozen5609 Рік тому

    can you do a tutorial about jwt tokens and refresh tokens?

    • @juliocasal
      @juliocasal  Рік тому

      Kim, check out this one: ua-cam.com/video/wVFfPrB5kEw/v-deo.html

  • @manojlobo5099
    @manojlobo5099 Рік тому

    Nice

  • @انامسلموكفى
    @انامسلموكفى 3 місяці тому

    Hi thank you for your nice video. I would like to build an avalonia app in docker image ? Any help . I have created a Dockerfile and docker-compose.yml having 2 services avalonia app and the weston graphical compositor but when I run docker compose up it does not schow my application

    • @juliocasal
      @juliocasal  3 місяці тому

      Sorry, this video is about dockerizing .NET apps with no dockerfile