asp.net-mvc-routing
MVC Ajax action relative to current controller
I\'m trying to get an Ajax call from a link in a master page. So I want to specify only the action relative to the current page/controller.[详细]
2023-04-09 07:08 分类:问答mvc 2 - 404 error page not found
I am getting a 404 error when I start up my mvc 2 project. I followed the guide here: http://net.tutsplus.com/tutorials/asp-net/asp-net-from-scratch-mvc/[详细]
2023-04-08 14:09 分类:问答Differentiate Guid and string Parameters in MVC 3
Using the out-of-the-box method locators in ASP.NET MVC (3 or 4DP), is there a way to have the MVC framework differentiate between a string and Guid without needing to parse the parameter in the contr[详细]
2023-04-08 09:42 分类:问答MVC 3 Route problem
ActionLink result \"http://localhost:5089/Article/GetArticlesByCategory?category=ASP.NET&categoryId=2\". i want to show that link type \"http://localhost:5089/Blog/ASP.NET\". what is wrongroute na[详细]
2023-04-07 14:15 分类:问答Routing and reflection problem
I added routing to my solution in order to have a more user friendly URL in the address bar. I start the solution and when I rollover my Favorites link, I see the URL .../Affaire/Favorite (picture be[详细]
2023-04-07 05:16 分类:问答How do I redirect everything to a single controller?
I have three specific routes: routes.MapRoute( \"Home Page\", \"\", new { controller = \"Home\", action = \"Index\" }[详细]
2023-04-07 02:14 分类:问答MVC 3 Session.Abandon() called before setting a TempData["myvalue"] = "foo" causes the next controller to have TempData as null
I have a controller will logic that looks for a: Session value //checks value null etc..for existing record in session memory.[详细]
2023-04-06 21:43 分类:问答400 Bad Request for URLs containing "&" on IIS7 with UrlRoutingModule
I\'m setting up ASP.net MVC 2.0 on an old WebForms site that runs on IIS 7. The old site has a 404 handler set up like:[详细]
2023-04-06 20:57 分类:问答ASP MVC 3 - How to define a dynamic value to the base of url?
I would like to \"show\" a dynamic value to the base of the URL, so the url would be like this: host.com/SOME_VALUE/{area}/{controller}/{action}.[详细]
2023-04-06 19:43 分类:问答Open URL Into a View(MVC 3)
Hi I have a problem with my Application I am using the MVC 3 with C# and VS 2010. I have a old desktop application where in one form I added a control browser_Navigated for show one page where the us[详细]
2023-04-06 18:32 分类:问答