title: IIS Virtual directory creates path issue
body: <p>I am using VS 2013 and MVC5
  To host the application in IIS, i have used Properties-&gt; Web -&gt;Servers -&gt;Local IIS and clicked on Create Virtual directory.
  So this created a VD for "MyPortal"</p>
  
  <p>But now i have a path problem.</p>
  
  <p>I have an api controller in my application.
  When i was using VS development server it was being accessed using the url : localhost:1553/api/menuapi  and the data was getting accessed correctly.</p>
  
  <p>But once it is hosted to IIS, it stopped working.
  When checked, it is trying to fetch the data from url i.e :
  localhost/api/menuapi and it gives a 404 error.</p>
  
  <p>But actually the api is fine and the data is accessible from the url :
  localhost/MyPortal/api/menuapi</p>
  
  <p>Why and how is this path problem created?
  The below is how i am doing the api call :
  1. In javascript file :
  $http.get('/api/menuapi/' + menuid).success(function (data) {});
  Please suggest if any alternatives.</p>