Hosting models comparison of ASP.NET Core application

Kamil Zdanikowski

kamil.zdanikowski@pollub.edu.pl
Institute of Computer Science, Lublin University of Technology, Nadbystrzycka 36B, 20-618 Lublin, Poland (Poland)

Beata Pańczyk


Institute of Computer Science, Lublin University of Technology, Nadbystrzycka 36B, 20-618 Lublin, Poland (Poland)

Abstract

The article presents hosting models comparison of ASP.NET Core application. Available hosting models were described and compared and then performance comparison was carried out. For each model the same test scenarios were executed and their performance was determined by number of requests per second which host was able to process. The results obtained show that standard model is the least efficient one and using one of the other configurations, for example, IIS with Kestrel (in-process), Kestrel or HTTP.sys might provide even several times better performance compared to standard model.


Keywords:

asp.net core; .net; hosting model; iis; kestrel

[1] A. Freeman, Pro ASP.NET Core MVC, Apress, 2016
[2] https://docs.microsoft.com/enus/aspnet/core/fundamentals/servers/?view=aspnetcore2.0&tabs=aspnetcore2x [20.05.2018]
[3] https://odetocode.com/blogs/scott/archive/2016/10/25/asp-netcore-and-the-enterprise-part-2-hosting.aspx [12.06.2018]
[4] https://docs.k6.io/docs [20.05.2018]
[5] A. Lock, ASP.NET Core in Action, Manning, 2017
[6] https://docs.microsoft.com/enus/aspnet/core/fundamentals/servers/aspnet-coremodule?view=aspnetcore-2.0 [20.05.2018]
[7] https://blogs.msdn.microsoft.com/webdev/2018/02/28/asp-netcore-2-1-0-preview1-improvements-to-iis-hosting/ [20.05.2018]
[8] https://github.com/aspnet/IISIntegration/issues/878 [12.06.2018]
Download


Published
2018-11-30

Cited by

Zdanikowski, K., & Pańczyk, B. (2018). Hosting models comparison of ASP.NET Core application. Journal of Computer Sciences Institute, 8, 258–262. https://doi.org/10.35784/jcsi.692

Authors

Kamil Zdanikowski 
kamil.zdanikowski@pollub.edu.pl
Institute of Computer Science, Lublin University of Technology, Nadbystrzycka 36B, 20-618 Lublin, Poland Poland

Authors

Beata Pańczyk 

Institute of Computer Science, Lublin University of Technology, Nadbystrzycka 36B, 20-618 Lublin, Poland Poland

Statistics

Abstract views: 270
PDF downloads: 363