-
Notifications
You must be signed in to change notification settings - Fork 25.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kestrel sample update to 5.0 #20836
Comments
Thanks @guardrex but I can't happen to find neither the button nor the feedback section in the topic. |
@joancafom ... It's here ... ... but I can just answer directly ... This topic has been continuously updated and includes known (AFAIK) any Kestrel updates that apply to 5.0 (for example, #20261). The problem is likely in the app. Create a new app using the 5.0 SDK and compare package references and framework in the project file of the new app to your app (and/or access the migration topics, for example: https://docs.microsoft.com/en-us/aspnet/core/migration/31-to-50?view=aspnetcore-5.0&tabs=visual-studio). Also, you might want to nuke the |
Can you provide a link to the topic (if not looking at the English-US version)? .... I'm curious if for some reason the Feedback section isn't showing up properly. Note: If a Feedback issue is opened for the English-US topic, it shows up here for the docs team. If a Feedback issue is opened from a non-English-US topic, it opens for the localization folks (translation issues). |
Hi @guardrex Thanks for your reply!
Yes you are right about the topic being updated. However, I am more precisely talking about the Kestrel Sample app that is available in this same git repository: Lines 1 to 7 in d57a751
As per your recommended migration guide, this file should be updated to: <Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
- <TargetFramework>netcoreapp3.1</TargetFramework>
+ <TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
</Project>
We are using the aforementioned KestreSample app, but only entries for |
Reloading the page seems to solve the issue, now it appears 🙂 |
Oh, yes ... I forgot about that. I used to work on this topic quite a bit, but others have taken it over since then because I work on Blazor topics now. I'll add the metadata for the topic manually to this issue. To update the sample, we usually create a new 5.x sample app. That sort of work needs to be done across the repo. I have a feeling that many sample apps are in the same boat for 5.0, given that 5.0 just came out a couple of weeks ago. I occasionally ... roughly annually ... update the sample tracking issue, and I probably need to do that again ... It's nice because it shows the exact state of samples, then the high visibility, most-used sample apps can be worked into the latest version. @Rick-Anderson will let us know if we should continue with that approach or if that issue should be closed in favor of a more ad-hoc process. There are even more samples on the repo now than there were the last time I updated that issue, so it might be intractable to continue maintaining a tracking issue. Rick, I can update that issue near my departure for 🏖️ ... which is a bit of a dud given that it's a pandemic stay-cation ... I ain't go'in nowhere! 😢 ... but yeah ... it takes a few hours to update it, and I'd have time to do that in a couple of weeks right before I |
Not enough changes from 3.1 to 5.x to warrant a new sample. |
[EDIT by guardrex to add the metadata]
Help us make content visible
Tell us what search terms you used and how you searched docs.
kestrel, 5.0, sample, servers
Tell us what docs you found that didn't address your concern.
https://github.com/dotnet/AspNetCore.Docs/blob/master/aspnetcore/fundamentals/servers/kestrel.md
Describe the new topic
Explain why this topic is needed.
As you provide samples for
2.X
and3.X
(take), it would be a good idea to support5.X
as well.Suggest a location in the Table of Contents.
NA.
Write an abstract. In one short paragraph, describe what this topic will cover.
The current release of .NET version
5.0
does not seem to be compatible with any of the Kestrel Samples available in the repository (see ref), resulting in the following error:I have seen you already addressed this issue in previous versions (for instance, in 3.1 Sample Updates #16170). Will you also be addressing this one?
Create an outline for the new topic. We'll help review the outline and approve it before anyone writes a topic.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: