Answer the question
In order to leave comments, you need to log in
Is it possible to integrate IIS into a C# application?
The crux of the matter is as follows, without installing IIS, a web server should be raised along with the application, preferably on ASP. NET. The most important thing is that it shouldn't be a standalone program, everything should be "integrated" into the C# application. I have seen something like this for a long time, there were some experiments on integration, but now I tried to google nothing similar, I didn’t find anything similar, if anyone is in the subject, is it really possible to implement this?
Answer the question
In order to leave comments, you need to log in
First, you need to determine what exactly to do - integrate IIS into the application, which is practically impossible, I think, or simply raise a web server that would process requests for applications. The second is theoretically possible to do, here you should look towards HttpListener, Owin / Katana. I myself once made a primitive web server with support for aspx pages, though on the related vb.net. And I saw a lot of similar working projects on the same codeproject.
As far as I know ASP.NET can be compiled as a standalone application that doesn't need IIS to run.
There is also IIS express, it seems to be free, though with limitations.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question