HttpContext Error~

httpContextAccessor.HttpContext.Session.SetString("1", "2");

Using that function will result in an error.

The code is attached to the image.

Not sure how this is related to Radzen.Blazor components. Please use our forum for relevant to Radzen questions only.

I am currently getting the corresponding error in Radzen.Blazor components.

An error occurs in a project using Radzen.Blazor components. I want to use Set function in session.

The Radzen.Blazor components do not use session. The problem you are experiencing doesn't seem to be caused by or related to Radzen.Blazor components. Neither is the highlighted code. If you think it is somehow related and have an active Radzen subscription you can send us your project to info@radzen.com.