How do you get a query string in a razor page?

You can get query parameters by injecting IHttpContextAccessor into the Razor page . And get the value of any parameter with Request. Query object. Note that there maybe several query parameters with the same name therefore the values are stored in a collection.1 Ara 2015

Sizin İçin Seçtik  Can you live off staking crypto?

Leave a Reply

Your email address will not be published. Required fields are marked *