WebListener web server implementation in ASP.NET Core

۰۳/۱۳/۲۰۱۸ ۵ minutes to read Contributors In this article By Tom Dykstra and Chris Ross Note This topic applies only to ASP.NET Core 1.x. In ASP.NET Core 2.0, WebListener is named HTTP.sys. WebListener is a web server for ASP.NET Core that runs only[…]

Development-time IIS support in Visual Studio for ASP.NET Core

۰۵/۱۴/۲۰۱۸ ۲ minutes to read Contributors In this article By Sourabh Shirhatti and Luke Latham This article describes Visual Studio support for debugging ASP.NET Core apps running behind IIS on Windows Server. This topic walks through enabling this feature and setting up a[…]

ASP.NET Core Web Host

۰۵/۱۶/۲۰۱۸ ۱۷ minutes to read Contributors In this article By Luke Latham ASP.NET Core apps configure and launch a host. The host is responsible for app startup and lifetime management. At a minimum, the host configures a server and a request processing[…]

Configure Windows authentication in ASP.NET Core

۱۰/۲۴/۲۰۱۷ ۴ minutes to read Contributors In this article By Steve Smith and Scott Addie Windows authentication can be configured for ASP.NET Core apps hosted with IIS, HTTP.sys, or WebListener. What is Windows authentication? Windows authentication relies on the operating system to authenticate[…]

Kestrel web server implementation in ASP.NET Core

Note ASP.NET Core 2.1 is in preview and not recommended for production use. By default, ASP.NET Core binds to: http://localhost:5000 https://localhost:5001 (when a local development certificate is present) A development certificate is created: Some browsers require that you grant explicit permission to the browser to trust the local development certificate. ASP.NET Core 2.1 and later[…]

Hosting in ASP.NET Core

۰۹/۲۱/۲۰۱۷ ۱۷ minutes to read Contributors In this article By Luke Latham ASP.NET Core apps configure and launch a host. The host is responsible for app startup and lifetime management. At a minimum, the host configures a server and a request processing pipeline. Setting up a[…]

ASP.NET Core fundamentals

۰۹/۳۰/۲۰۱۷ ۷ minutes to read Contributors In this article An ASP.NET Core application is a console app that creates a web server in its Main method: using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namespace aspnetcoreapp public class Program public static void Main(string[] args) BuildWebHost(args).Run(); public static IWebHost BuildWebHost(string[] args)[…]

Handle errors in ASP.NET Core

۱۱/۳۰/۲۰۱۶ ۴ minutes to read Contributors In this article By Steve Smith and Tom Dykstra This article covers common appoaches to handling errors in ASP.NET Core apps. View or download sample code (how to download) The developer exception page To configure an app to display a[…]