'dotnet run command asp.net dll - call specific api
I have an ASP.NET Core Web Api, with some Web API controllers.
I want to call one of the Web APIs right after the server starts run.
Something like:
dotnet run myserver.dll -run_this_Web_api_after_start.
The real usecase is when server runs in Docker.
the ENTRYPOINT is ["dotnet", "MyServerName.dll"]
But I need to run automatically some Web API when it starts.
Any idea?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
