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
  • 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
  • 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
  • Virtual Directories and Routing

    Hi all, I am using the CTP 2 version of MVC and was able to get started succesfully with the sample project you get when you use the MVC application template. Now I am trying to merge the proof of concept code I created with an existing ASP.Net application that is hosted under a virtual directory and...
    Posted to ASP.NET MVC (Forum) by MacroLinz on 05-09-2008, 12:00 AM
    Filed under: MVC, URLs, routing
  • Routing problem...doesnt work

    Hello friends! What is wrong if my code? Global.asax.cs 1 public class GlobalApplication : System.Web.HttpApplication 2 { 3 public static void RegisterRoutes(RouteCollection routes) 4 { 5 // Note: Change the URL to "{controller}.mvc/{action}/{id}" to enable 6 // automatic support on IIS6 and...
    Posted to ASP.NET MVC (Forum) by andrebtoda on 05-13-2008, 12:00 AM
    Filed under: MVC, Controller, routing, route
Page 1 of 1 (6 items)