Browse by Tags

Related Posts

  • Routing Validation Based On HTTP Headers

    In Scott Guthrie's post on Routing , he mentions that you can use the Validation property of a Route to specify an HTTP Header. "The ASP.NET MVC Framework allows you to use regular expressions to validate each parameter argument in the URL, as well as allows you to evaluate HTTP headers (to...
    Posted to ASP.NET MVC (Forum) by ghotiman on 01-07-2008, 12:00 AM
    Filed under: MVC, Routes, routing, httpheader
  • Deeper URL Routes

    How can I form deeper url routes? I want to have something like: {controller}/{action}/{id} and if a URL like /Home/View/2008/Spring/Easter/Morning I would like id = "2008/Spring/Easter/Morning" to be put into the ID. Currently I get a resource not found. I can't figure out how to express...
    Posted to ASP.NET MVC (Forum) by ChrisKinsman on 03-12-2008, 12:00 AM
    Filed under: Routes, routing, MVC Preview 2
  • Config based routing

    I suspect I can figure this out on my own after using the framework for a bit, but I was wondering if anyone had developed a web.config based routing implementation? Something like: < routing > < route command= "EditEmployee" controller= "Employee" action= "Edit"...
    Posted to ASP.NET MVC (Forum) by Chicago_Dave on 03-13-2008, 12:00 AM
    Filed under: routing
  • Re: I need an explanation of MVC routing.

    Hi bulgarian, I am not sure if I understood you completely right, but are you looking for something likes this: routes.Add( new Route( "Default.aspx" , new MvcRouteHandler()) { Defaults = new RouteValueDictionary( new { controller = "Admin" , action = "RoleManager" , id...
    Posted to ASP.NET MVC (Forum) by johannes.hiemer on 03-27-2008, 12:00 AM
    Filed under: MVC, routing
  • Is this route possible

    I want to make a route that could ckeck the end of the url for a pattern and if matched pass the entire url to the action as the parameter. The point of this is to catch things like /something/something / robots.txt or something/something /sitemap.xml an than pass the url to an action that generates...
    Posted to ASP.NET MVC (Forum) by srulyt on 03-29-2008, 12:00 AM
    Filed under: routing
  • Routing with querystring parameters

    I'm replacing an existing asp.net app, with an asp.net mvc app. The old app used a lot of querystring params, and I need to map those into controller actions, everytime I stick ? or & into a route i get a runtime error. Here's what I'm trying to do. www.myapp.com/Products/Review.aspx...
    Posted to ASP.NET MVC (Forum) by netstruc65 on 04-01-2008, 12:00 AM
    Filed under: ASP.NET MVC, routing, RESTFul
  • WebFormRouting tool NOT working with IIS7

    My title may turn out to not be exactly correct - but I was trying to be concise. I am using the "WebFormRouting" tool created by Phil Haack which can be found here: http://haacked.com/archive/2008/03/11/using-routing-with-webforms.aspx I've been using it successfully for a while - but...
    Posted to ASP.NET MVC (Forum) by leftend on 04-05-2008, 12:00 AM
    Filed under: Routes, routing, webformrouting, haack
  • MVC Route URL Patterns

    Hi, I was wondering what the different urlpatterns are that can be used. So far I know that a variable can only come after or before a '/'. These are correct : /test/{category} /test/{category}.html This is however wrong and is not being routed : /test/test{category}.html I need a way of getting...
    Posted to ASP.NET MVC (Forum) by Peter Meir on 04-09-2008, 12:00 AM
    Filed under: MVC, routing, url pattern, route
  • MVC URL Routing overrides Directory Listing

    Hi, I have been playing around for quite a while now with the MVC Routing classes and have implemented a near perfectly working alternative solution for url rewriting. One last issue to overcome is the following: When you want to route from http://myurl.com/animals to http://myurl.com/themehome.aspx...
    Posted to ASP.NET MVC (Forum) by Peter Meir on 04-22-2008, 12:00 AM
    Filed under: MVC, routing, directory listing, url rewriting
  • Routing with IIS6.0 with extension mapping - requires .mvc.aspx on hosted domain

    Hi all, I have built a working MVC app (with preview 2) and all is good except that my URLs contain .mvc.aspx in order to work. I had anticipated this (and tested with IIS6 locally), however it will only work with the extended mapping. I found this by chance on another post in these forums, and tried...
    Posted to ASP.NET MVC (Forum) by Praetorian22 on 05-01-2008, 12:00 AM
    Filed under: routing, MVC ASP.NET, extension mapping, IIS
Page 1 of 2 (14 items) 1 2 Next >