#Kestrel #hostingModel #aspnetcore
In this Video we discuss what is Kestrel Web Server in ASP.NET Core. In ASP .NET Core there are 2 web servers i.e. one internal web server and one external web server. The internal web server is called as Kestrel and the external web server can be IIS, Apache or Nginx.
What is a Kestrel Web Server ?
Kestrel is a cross-platform web server for ASP.NET Core that means it supports developed and run applications on different types of operating systems such as Windows, Linux, or Mac. It is supported on all platforms and versions that .NET Core supports. It is included by default as internal server in ASP.NET Core. Kestrel can be used, by itself as an edge server i.e Internet-facing web server that can directly process the incoming HTTP requests from the client. In Kestrel, the process used to host the app is dotnet.exe.
How to run .NET Core application using .NET Core CLI ?
When we run an ASP.NET Core application using the .NET Core CLI, then the .NET Core run-time uses Kestrel as the web-server. The .NET Core CLI (Command Line Interface) is a cross-platform tool that is used for developing ASP.NET core applications on cross-platform such as windows, mac or Linux.
Open command prompt and type “dotnet --” and press enter as shown below.
For more details Please visit below link:
[ Ссылка ]
Don't forget to subscribe to "CoreSpider" !
Website : [ Ссылка ]
Facebook : [ Ссылка ]
Twitter : [ Ссылка ]
Instagram : [ Ссылка ]
Github : [ Ссылка ]
Ещё видео!