i need appropraite url .............in this way Home/Index/Student/Id.........
But my url is coming in such format Home/Index/34?CategoryName=Student/
please help me how to do it in mvc 4
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Abhilash J ARank #1,243 · 1.4K reputationPosted Jul 6, 2017, 3:21 AM EDT
Technically this concept comes under Routing in ASP.NET MVC.
For this you need to do an entry for route in
App_Start->RouteConfig.csfile underRegisterRoutes(RouteCollection routes)Manikandan MurugesanRank #300 · 8.4K reputationPosted Jul 6, 2017, 8:06 AM EDT