Some background on what I\'m doing I usually like to have my pages return the u开发者_如何学编程rl needed to access it. So i will normally have a method like so
I have an ASP.NET MVC site where I want routes like /{controller}/{id}/{action}/{date}, where \"date\" is the mm/dd/yyyy portion of a date/time. (I\'m dealing with time-dimensioned data, so I need bot
I have a question similar to the one described here: ASP.NET URL Routing with WebForms - Using the SiteMap
I was wondering which is the best approach to get the catgeory ID when listing the posts within a particular category. Normally, the urls look something like this : www.example.com/?cat=4 and it is pr
I\'ve got a route that looks like this: routes.MapRoute( \"BlogTags\", \"Blog/Tags/{tag}\", new { controller = \"Blog\", action = \"BrowseTag\", viewRss 开发者_如何学Python= false }
I am trying to map a number of querystring variables into an array that is one of the parameters for an action method.
I am refactoring this algori开发者_如何学Gothm completely. Basically I am re-implementing the ASP.NET MVC in C++ for another framework.
I love the elegance of Zend_Controller_Router_Rewrite and the various route classes it 开发者_JAVA百科uses.
I have a route like this in my global.asax.cs: routes.MapRoute( \"NewsArticles\", \"News/{page}\", new { controller = \"News\", action = \"Index\", archive = false }
I\'m trying to do a site like http://example.com which goes to my SignIn action located at the Account controller.After signing in, I want to redirect to something like http://example.com/id where id