TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
tri_inn
NA
1.2k
235.4k
How to generate url for the action with attribute routing
Jun 18 2017 5:50 PM
public class HomeController : Controller
{
[Route("Users/about")]
[Route("Users/WhoareWe")]
[Route("Users/OurTeam")]
[Route("Users/aboutCompany")]
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 ?
thanks
Reply
Answers (
2
)
How to set rights for DynamicallyLoadingMenus and buttonsMVC
online payment to bank account through voucher in asp.net c#