Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

How to get the Route Name ?

$
0
0

Hello:
In ASP .NET Core 1.x, I have the following:

 [HttpGet]
        [Route("GetLookupInfo"), Authorize("Bearer")]
        public IActionResult GetLookupInfo(string lookupName)
        {
            try
            {
...

Inside the method, I would like to get the Route name .. How would I get that programatically?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>