Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If you need one-way communication from the application to the server, then make an API.
If two-way then websockets
In my applications (console, win, services) for access via http I raise self-host webAPI inside the same application. Accordingly, simple web forms can also be given there.
Creating a self-host WebAPI is done in one line: WebApp.Start(url: baseAddress);
Accordingly, neither IIS nor any other web server is needed.
Of course, you can, it does not matter what the server is on, it is important whether you can run the application (corresponding OS).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question