Hello. I've written an ASP.NET Core Web API as a service for a desktop client I'm writing. I intend to publish it as a self-contained .NET Core app and just copy the folder over to the host computer. When I launch my WPF client I would like the web api to start as well. Is there a way for the desktop client to launch the server, specifying the port the server should start listening on?
↧