Asp.Net MVC2 in VS 2010
C#
3
Posts
2
Posters
1
Views
1
Watching
-
If you open a new MVC2 App in VS 2010 in the HomeController in the Details action method you get this:
// GET: /Home/Details/5
public ActionResult Details(int id) { return View(); }
Can anyone tell me what the /5 is for? Thanks Darrall
-
I think 5 is just a sample id. That URL is the equivalent of /Home/Details.aspx?id=5.
ShamWow