How to get a page name in .net core .
Loading
How to get a page name in .net core .
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Uttam KumarPosted Apr 21, 2022, 4:46 PM
You can check this link where Microsoft has explained beautifully to get url value
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/http-context?view=aspnetcore-6.0
Muhammad Imran AnsariPosted Apr 21, 2022, 11:08 AM
RohanPosted Apr 21, 2022, 10:24 AM
Satya KarkiPosted Apr 21, 2022, 10:22 AM
RohanPosted Apr 21, 2022, 9:59 AM
for e.g
https://localhost:255252/PageName
How to get PageName from this url.