I have an Winforms app that host an ASP.NET Core Web API.
The main idea of the project is that from the winforms textbox I pass a database connection string to the dbContext
of the ASP.NET Core API, and I start the IWebHost
with the Startup
so on..
I need this ASP.NET Core to be a datagram listener to when I start the host any idea or approach can help me to achieve this ?