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.
Comments
Post a Comment