title: WebAPI - Attribute routing to remove virtual directory from URL
body: <p>I am using WebAPI 2 with Attribute routing in my project. I deployed my project under a virtual directory in IIS.  I need to remove virtual Directory name from the URL.
  Now  my URL is api.mydomain.com/virtualdirectory/{controllerName}/{Version}
  In my Route Prefix  I am passing controllerName/Version.
  I need to change the URL to 
  api.mydomain.com/{controllerName}/{Version}
  Please  help me how can i achieve this using attribute routing.</p>