I'm trying to get a query string value using:
_httpContextAccessor.HttpContext.Request.QueryString["data"]
but it fails with error:
Cannot apply indexing with [] to an expression of type 'QueryString'
QueryString is from the Microsoft.AspNetCore.Http
namespace.