Is it possible to run ASP.NET MVC without IIS?

1

Is it possible to run an ASP.NET MVC application without IIS?

I wanted the user to run this ASP.NET MVC application without having to configure IIS, I found #

asked by anonymous 29.08.2016 / 21:12

2 answers

-2
  

Is it possible to run an asp.net mvc application without IIS?

In summary, no. ASP.NET MVC4 is very dependent on IIS.

  

I wanted the user to run this asp.net mvc application without having to configure IIS, I found #

Note that Hostable WebCore (HWC) is still an extension of IIS, but in order to allow its own application to be part of an indirect implementation of IIS as well.

The sample code is in full here .

The big problem with this approach is that it is very old. This type of approach only exists for IIS7, and requires you to mount a separate console application just to run a server that implements a good portion of IIS7.

    
29.08.2016 / 22:24
1

Yes, it is possible

It may not be what you want, but it is possible.

You need the .NET Core where you have the new ASP.NET MVC that does not need an external server .

More information on What is ASP.Net vNext? What is the correct name? .

Study it and understand that it is a different product. Of course you will have to adapt your application. Only you can tell whether you compensate or not.

You can also run traditional ASP.NET MVC with Mono . You have a deeper OS scan .

Otherwise this is not possible, the original ASP.NET was not designed to run without an integrated HTTP server, but it does not have to be IIS.

    
29.08.2016 / 21:57