.NET 8 .🚀🔥: Integrating Docker with a .NET Web API - A Step-by-Step Guide

  Рет қаралды 45,713

Mohamad Lawand

Mohamad Lawand

Күн бұрын

Пікірлер: 49
@guy9800
@guy9800 7 ай бұрын
I like how this covers the essential base points needed without being too specific to a certain application or application type. Thank you. More videos like this style are needed out there.
@azizhmidi5835
@azizhmidi5835 5 ай бұрын
You're a gift to humanity thank you so much Mohamad ♥♥♥
@derrickc2823
@derrickc2823 19 күн бұрын
Great tutorial!
@larissamxl
@larissamxl 4 ай бұрын
Explicação rápida e pratica, eu estava com problema na configuração da porta do meu docker e consegui resolver meu problema com esse vídeo, obriga a você e ao chatgpt! Quick and practical explanation, I was having a problem configuring my docker port and I was able to solve this problem by watching this video, thanks to you and chatgpt!
@codewithirshad
@codewithirshad 10 ай бұрын
Much awaited video 🎉 thanks again
@rajneeshrocks2977
@rajneeshrocks2977 9 ай бұрын
I am not able to access .net 8 webapi from docker.I did the same but not able to access. thanks for sharing
@Maerthyr
@Maerthyr 10 ай бұрын
Very nice and up to date content. Thank you !
@OzoezeUtobonny
@OzoezeUtobonny 7 ай бұрын
I love all your tutorials, you have helped me really greatly in my career as a developer. Please how can i get closer and more in touch with you?
@robypeng
@robypeng 8 ай бұрын
Hi Mohamad, would you mind to give us a tutorial on how to deploy any .NET application using Podman, instead of Docker? As we know, Docker Desktop is not fully free and I see Podman is on a rising trend these days.
@sametsahin6193
@sametsahin6193 10 ай бұрын
Such a great video thanks!
@DinidiDeeds
@DinidiDeeds 9 ай бұрын
All work perfeckly, but when i try to acces to page , i get error. not page found. swagger dont appear. how i can fix it please
@parkerwarner8688
@parkerwarner8688 8 ай бұрын
I think he said this is a production build so you wouldn’t have access to swagger. I think you could change this by changing from “Release” to “Debug” or in the application you could allow swagger in prod and not just dev? Not 100% though
@mwagihsobhy
@mwagihsobhy 3 ай бұрын
I have same problem. Did you find solution to browse using local host then the mapped port??
@hamzagorcevic8443
@hamzagorcevic8443 Ай бұрын
if (app.Environment.IsDevelopment()) { app.UseSwagger(); app.UseSwaggerUI(); } , you probably have something like this in your code, its why is swagger showing only in development mode
@willgordon5737
@willgordon5737 2 ай бұрын
Salaam brother amazing content i subscribed to you
@nouchance
@nouchance 28 күн бұрын
Thank you very much for the tutorials! I wanted to ask you: I want to buy a MacBook M1 Pro 16/512 for .NET development. Can Macs with M1/M2 chips have some compatibility issues, since some containers or images may not support ARM architecture?
@mohammaditani9249
@mohammaditani9249 24 күн бұрын
Thx Man ❤
@tonym5857
@tonym5857 7 ай бұрын
Thank you....
@smeta72
@smeta72 6 ай бұрын
Thanks bro. Great work!
@raagediriye9229
@raagediriye9229 9 ай бұрын
Great content
@float128
@float128 5 ай бұрын
Can you show if your app was running after executing docker run. I did the same and app is not running
@SantoshAcharya-pl5bb
@SantoshAcharya-pl5bb 6 күн бұрын
Thanks for a video, is it possible to run the dotnet ef migrations inside a docker container, if possible can someone help me with this.
@zmoo759
@zmoo759 10 ай бұрын
good video😀, thank you
@alaael-greatly5200
@alaael-greatly5200 10 ай бұрын
Hi Mohamad, on a previous video you said that you should have the encryption Key for jwt removed from AppSettings.json and put in Key Vault in Azure, I have a local project with docker-compose and I want to do that exactly on azure, to get the encryption key and connection string for the database from key vault, could you please do a video on that? Thanks for the effort ❤
@MohamadLawand
@MohamadLawand 10 ай бұрын
Will look into it :)
@alaael-greatly5200
@alaael-greatly5200 10 ай бұрын
Great, thanks a lot. I really enjoy your videos and appreciate your effort :)@@MohamadLawand
@mohammedabdalla6452
@mohammedabdalla6452 10 ай бұрын
Thanks, can you make another version and add database to docker
@nematullahhussaini1518
@nematullahhussaini1518 Ай бұрын
How about connecting the local image to the local Db to see getting data from db in browser? is there any way?
@sandanuwan4441
@sandanuwan4441 10 ай бұрын
Thanks for the video and its very helpfull. I have one question to ask. I created simple .NET API using 8.0 (selected https when create the app) and created the docker file and its perfectly working with http. but when i try with https it was not working. Is there any reason no working with the HTTPS.
@MohamadLawand
@MohamadLawand 10 ай бұрын
It requires additional configuration for HTTPS, it will not work directly. You need to have certificates configured check the following video Les go through it perfectly kzbin.info/www/bejne/opTEdXeuf9tlbJI
@sandanuwan4441
@sandanuwan4441 10 ай бұрын
Thanks @@MohamadLawand for the support
@mariomandzukic8676
@mariomandzukic8676 5 ай бұрын
thank you legend!
@viniciuscarvalho5029
@viniciuscarvalho5029 6 ай бұрын
Thank you.
@akashrokade12
@akashrokade12 10 ай бұрын
can you explain more about docker commands
@codewithirshad
@codewithirshad 10 ай бұрын
It would nice if you add docker compose for same project.
@dLocalFood
@dLocalFood 2 ай бұрын
Kindly help for below error error CS5001: Program does not contain a static 'Main' method suitable for an entry point -- getting error while docker build
@rahmansaleh
@rahmansaleh Ай бұрын
Move your Dockerfile on folder up to your solution folder and edit the different paths in the Dockerfile
@firmanjamal2871
@firmanjamal2871 6 ай бұрын
How do I apply EF Migrations and DB Update on the docker?
@muhammadshoaibkhan8957
@muhammadshoaibkhan8957 9 ай бұрын
how i can use .yml file with my docker image please make part2 on that video
@Selconag
@Selconag 8 ай бұрын
Bro I like your tutorial but your website is down I was curious to check it.
@MohamadLawand
@MohamadLawand 8 ай бұрын
www.mohamadlawand.com/#home
@davisdimalen3912
@davisdimalen3912 8 ай бұрын
do you have a copy of your Dockerfile?
@khoao5799
@khoao5799 6 ай бұрын
how to using swagger in Docker ?
@ShaneBowers-t6x
@ShaneBowers-t6x 8 ай бұрын
Will you please display the full lines for line15, "RUN dotnet build" and line 19 "RUN dotnet publish" in your Dockerfile? I'm getting an error during the build the "RUN dotnet build" task that says, "dotnet build "PersonnelModule.RestApi/PersonnelModule.RestApi.csproj" -c $BUILD_CONFIGURATION -o /app/build". Please advise. Thank you!
@SILASGAH
@SILASGAH 8 ай бұрын
RUN dotnet publish "API.csproj" -c $BUILD_CONFIGURATION -o /app/publish
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4,9 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 150 МЛН
Dockerize .NET 6 in 10 Minutes
13:33
Wes Doyle
Рет қаралды 148 М.
Dockerize Your .NET Application in 5 Minutes!
7:42
Amichai Mantinband
Рет қаралды 16 М.
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
TechWorld with Nana
Рет қаралды 1,8 МЛН
Docker Compose with .NET 8, PostgreSQL, and Redis (step by step)
13:41
Milan Jovanović
Рет қаралды 57 М.
167. Should I Create A Minimal API Or Full API?
7:40
IAmTimCorey
Рет қаралды 39 М.
Deploy a .NET Core API with Docker (Step-by-Step)
36:17
Les Jackson
Рет қаралды 259 М.
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4,9 МЛН