ghoulam
❔ ✅ Hand the connection string to a container
Hi,
I have an asp.net core webapi that I pushed to docker hub and as a logical thing you want put the connection string in there but the question is how to give that info to the container when I launch it?
5 replies
✅ Containers orchestration
Hello everyone,
I was wondering if anyone here has experience with container orchestration. I have been working on my graduation project, where I built an ASP.NET web API and launched it in a Docker container. I understand that the availability of my API is crucial, so I conducted some research and discovered that running a service across multiple servers can improve its reliability.
I'm seeking assistance from anyone who can help me get started in the field of container orchestration. Any guidance or advice would be greatly appreciated!
Thank you.
7 replies
❔ confused about Error controller
Hi,
i was following a tutorial about building APIs and the tutor used a new controller named it ErrorsController and just inherited ControllerBase and whenever a problem happens with the service it automatically call the error endpoint while it wasn't specified anywhere i tried looking at the call stack but didn't get much of it.
Here is the code:
https://github.com/GhoulamMB/BuberBreakfast/blob/master/BuberBreakfast/Controllers/ErrorsController.cs
Thanks in advance.
9 replies