1

In the attribute routing feature of MVC5 there is a option in attribute routing syntax for "Name" parameter e.g : [Route("Register/SetPassword", Name="SetPasswordGet")]

My question is what is this "Name="SetPasswordGet" parameter ? and how to use it?

ekad
  • 14,436
  • 26
  • 44
  • 46
Mitesh Antala
  • 69
  • 1
  • 1
  • 4

1 Answers1

1

You can use the name as the parameter in the RedirectToRoute() method, see msdn and this question

Community
  • 1
  • 1
Stephen
  • 2,027
  • 2
  • 22
  • 26