dotnet / AspNetCore.Docs

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

How will request header be accessible in Blazor ASP.NET Core 8? #30575

Closed mrlife closed 1 year ago

mrlife commented 1 year ago

Since there is no longer a Pages/_Host.cshtml (or Pages/_Host.cshtml.cs), how will request header values be accessible without access to HttpContext?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

guardrex commented 1 year ago

Hello @mrlife ... This node of docs hasn't been updated yet. It's scheduled for post-RC2, pre-RTM. Can you post your question to engineering and add ...

cc: @guardrex https://github.com/dotnet/AspNetCore.Docs/issues/30575

... to the bottom of your opening comment?

https://github.com/dotnet/aspnetcore/issues

Updating this node is tracked by another issue. I'll make a cross-link on that issue to the issue that you open to make sure that we get the right guidance placed. This issue can be closed, as it will be tracked on https://github.com/dotnet/AspNetCore.Docs/issues/28161.

mrlife commented 1 year ago

Thank you! Just got an answer from Dan and will add the cc there.