Skip to content

Error in new Asp.net core MVC app #4375

Discussion options

You must be logged in to vote

I think you need to add
builder.Services.AddHttpContextAccessor() so the accessor is registered.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ajohnstone-ks
Comment options

Answer selected by ajohnstone-ks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants