dotnet / AspNetCore.Docs

Documentation for ASP.NET Core
https://docs.microsoft.com/aspnet/core
Creative Commons Attribution 4.0 International
12.57k stars 25.3k forks source link

Restructure Kestrel docs #19986

Open JamesNK opened 4 years ago

JamesNK commented 4 years ago

The docs page for using Kestrel has grown over time and is now too long - 69 minutes. And more content is coming for .NET 5. It needs to be split up and thought be put into how content is organized.

https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel

Mostly this work will be reorganizing existing content, but I think a new Overview page that introduces Kestrel and summarizes features and links to other pages would be needed.

I don't have a proposal for content layout yet.


Associated WorkItem - 61201

Rick-Anderson commented 4 years ago

@JamesNK when you have a proposed outline paste it here and I'll try to implement it.

JamesNK commented 4 years ago

Here is a TOC that @Tratcher @halter73 and I came up with.

Most of the content exists today. Existing content could all use more work, but lets focus on splitting up what we have first. Future improvements can come later.

// @davidfowl

Rick-Anderson commented 4 years ago

Why use Kestrel (new)

It’s true that in-proc means you no longer need to use Kestrel when running in IIS, but there are plenty of other scenarios for using Kestrel directly. A) Performance B) Quicker feature updates (e.g. gRPC) C) More customizable D) Cross platform (it’s the only AspNetCore server on Linux)

JamesNK commented 3 years ago

Why use Kestrel (new)

It’s true that in-proc means you no longer need to use Kestrel when running in IIS, but there are plenty of other scenarios for using Kestrel directly. A) Performance B) Quicker feature updates (e.g. gRPC) C) More customizable D) Cross platform (it’s the only AspNetCore server on Linux)

Yes, those are all good reasons to use Kestrel. Additionally, Kestrel has security hardening that makes it ready to use as an edge server (i.e. it can serve apps directly without requiring a proxy)

Rick-Anderson commented 1 year ago

cc @tdykstra if you're interested.

JamesNK commented 1 year ago

Some of the Kestrel pages have been split out. However, there is lots in the proposed TOC that hasn't been done.