Request.querystring in .net core

Request.querystring in .net core

You can try

@inject Microsoft.AspNetCore.Http.IHttpContextAccessor HttpContextAccessor;
string email= HttpContext.Request.Query["email"].ToString();

2021-10-03