Question: Which web server should be used in production for asp.net 5 on Linux and/or Mac?

Question

Which web server should be used in production for asp.net 5 on Linux and/or Mac?

Answers 1
Added at 2016-01-05 20:01
Tags
Question

With the release date of ASP.NET 5 fast approaching, I was wondering what the best hosting option is for Linux and Mac environments. Is there any production grade web server under active development?

The only one I'm aware of is Kestrel that ships with the framework. From the docs, it appears that Kestrel is missing several features in comparison with IIS

enter image description here

This Stackoverflow answers suggests that .NET 5 apps would work with any HTTP server. Does this mean it will work with say, Apache? Would it be missing any features if so? I was under the impression that it works only with OWIN based servers. Am I missing something?

Answers to

Which web server should be used in production for asp.net 5 on Linux and/or Mac?

nr: #1 dodano: 2016-01-05 21:01

Use Kestrel, it's the way going forward. Refer to this: Change to IIS hosting model.

Does this mean it will work with say, Apache?

Yes and indeed that's the recommended approach. However, never expose Kestrel to outside world directly. Always put it behind a web server like nginx, IIS, HAProxy or Apache. More about Kestrel:

Source Show
◀ Wstecz