ASP.NET MVC 2 controller-url problems
Posted
by cc0
on Stack Overflow
See other posts from Stack Overflow
or by cc0
Published on 2010-04-15T17:06:38Z
Indexed on
2010/05/01
19:27 UTC
Read the original article
Hit count: 233
ASP.NET
|asp.net-mvc-2
I am still very new to the MVC framework, but I managed to create a controller that reads from a database and writes JSON to an url;
host.com/Controllername?minValue=something&maxValue=something
However when I move the site to a subfolder;
host.com/mvc/
it doesn't seem to be able to call the controller from there when I do it like this;
host.com/mvc/Controllername?minValue=something&maxValue=something
Did I forget to do something somewhere to make this url call valid from that subfolder? Any help here would be greatly appreciated.
© Stack Overflow or respective owner