In Azure Web App, you cannot get around IIS.
But in the general case, you can precisely launch Kestrel directly. In the end, this is just dnx web , and it is precisely that the XPlat version (Linux, OSX) will end up using (almost).
What did you lose due to using IIS
- Security (new feature compared to IIS)
- Easy SSL setup
- The kernel module that processes the file / cache and other things (kernel = faster)
- Application Monitoring / Keep -Alive (what happens if Kestrel crash)
- Multiple Single-Port (80) Reuse Host Names
- and etc.
What do you get from using IIS
- Full control over the process.
- Higher overall performance
- Simplified installation / execution
What you must do if you do not want to use IIS
If everything is okay with the βlostβ points, I will still go and keep your Kestrel behind a reverse proxy or NGINX server. Kestrel was made "ready for production," but it is not NGINX or IIS.
He will not keep himself alive, as far as I know.
If I missed something, let me know.
Maxime rouler
source share