c# - Controller requires lowercase in MVC3 -


i added new controller called "listcontroller" in mvc project

if write in browser url http://localhost:1509/list works fine

but if write in browser url "http://localhost:1509/list" erorr page

the difference if letter l in url capitalized or lowercase letter

what causes it

either case sensitive routing has been configured in global.asax file without knowing it, or missing something.

asp.net mvc routing urls not case sensitive default. "home", "home", "home", etc.. exact same far mvc routing engine concerned.

here url scottgu explains asp.net mvc url routing rules how work.

scottgu - asp.net mvc framework: url routing


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -