Forums - C# Corner

Forum guidelines


  • 867
  • 1.2k
  • 96.9k

How to generate url for the action with attribute routing

Jun 18 2017 5:50 PM
public class HomeController : Controller
public ActionResult GotoAbout()
return View();
see i have many route defined for action GotoAbout(). now how could create route url in razor page programmatically when generate url for action like home/users/about ?

Answers (2)