T
T
trace82016-07-31 03:31:55
C++ / C#
trace8, 2016-07-31 03:31:55

Is it possible to link a c# console application to a web muzzle?

Apache server. Is it possible to stir up so that through the browser you can run and communicate with a console application written in c #. Not asp.net

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
Peter, 2016-07-31
@petermzg

If you need one-way communication from the application to the server, then make an API.
If two-way then websockets

O
Ogoun Er, 2016-08-15
@Ogoun

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.

R
Rou1997, 2016-07-31
@Rou1997

Of course, you can, it does not matter what the server is on, it is important whether you can run the application (corresponding OS).

N
none7, 2016-07-31
@none7

Is the CGI/FastCGI interface okay? If not, then you need a wrapper that transforms the set of parameters and the input stream if necessary.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question