title: Running ASP.NET Web Api 2 application without Visual Studio
body: <p>I'm developing a asp web api 2 webservice for a private project.
  I created a webservice-project which includes all the folder (App_Data,App_Start,Controllers,...) and all my classes/functionallity.</p>
  
  <p>Now I would like to run it as a selfhosted windows service or from command line to test all the functionallity without running Visual Studio.</p>
  
  <p>All I found was a tutorial how to create a new command-line programm and create a new webservice (<a href="http://www.asp.net/web-api/overview/hosting-aspnet-web-api/use-owin-to-self-host-web-api" rel="nofollow">http://www.asp.net/web-api/overview/hosting-aspnet-web-api/use-owin-to-self-host-web-api</a>) ....
  But how can I just selfhost my created webservice-project and use its WebApiConfig??</p>
  
  <p><strong>UPDATE 1</strong></p>
  
  <p>at least I found out how to start the IISExpress from CommandLine to test my webservice without VisualStudio:
  I had to run this:</p>
  
  <pre><code>C:\Program Files\IIS Express\iisexpress.exe /config:"C:\Users\Tobias\Documents\IISExpress\config\applicationhost.config" /site:MyWebservicename
  </code></pre>