title: asp.net MVC routing - javascript url 404 errors
body: <p>While developing my app (asp.net mvc3) locally everything was fine using the VS dev app server. The app was located at localhost/. However, I'm attempting to deploy the application on a IIS 7.5 server in a /Management directory and having a lot of routing issues as a few calls in my app rely on the app being at the route.</p>
  
  <p>I have some javascript code that calls my controller through an ajax call that looks like this:</p>
  
  <pre><code>url: "/en/Home/GetFormula/"
  </code></pre>
  
  <p>I would like it to go to: /Management/en/Home/GetFormula but instead it's going to the root of the site and looking for /en/Home/GetFormula and returning 404 errors.</p>
  
  <p>Any ideas on how I can fix my javascript routing to default /Management/ as the root of the site?</p>
  
  <p>Thanks</p>