Hello,
I'm trying to define the route for my application and so far I've set the following route

routes.MapRoute(
                 "Default", // Route name
                 "{controller}/{action}/{id}", // URL with parameters
                 new { controller = "Home", action = "Start", id = UrlParameter.Optional } // Parameter defaults
            );

This allows me to do things like

myapplication.com/
myapplication.com/en
myapplication.com/pt

I wanted to add new routes that would allow me to access specific methods acording to the language chosen so that

myapplication.com/ -> method A
myapplication.com/en -> method B
myapplication.com/pt -> method C

Is this possible to do? How?

Asp.net language is most popular nowdays first choice of users this language many benefits are available

This post is intersting about asp.net language.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.