Xameer
Xameer

Reputation: 31247

Can ASP.NET vNext with .NET core be hosted outside of IIS?

For Mono, it is explicit that ASP.NET can be hosted outside IIS on Apache or Nginx

Since the 1.0.0 release is nearby, I was looking at the publishing aspects of open source ASP.NET vNext.

Can ASP.NET vNext be hosted outside of IIS on a *nix server such as Ubuntu?

Upvotes: 1

Views: 1431

Answers (3)

Pawel
Pawel

Reputation: 31610

AspNet Core has its own web server called Kestrel. Anytime you run an Asp.Net Core web app you run it using this server. IIS or Nginx are used as reverse proxies you can use when you want to expose your app in the wild (they can handle authentication etc.). During development you can just Kestrel directly without have to set up IIS or Nginx.

Upvotes: 1

mqueirozcorreia
mqueirozcorreia

Reputation: 943

Yes, ASP.NET Core can be hosted at linux. Have you tried this documentation, in which helps to install in Ubuntu 14.04?

Upvotes: 2

Hühnergott
Hühnergott

Reputation: 76

I dont know if it is working with Nginx, but Apache Server has a module called mod_asp which is a bridging component to the .NET runtime. Maybe that one is worth a try.

Upvotes: 1

Related Questions