title: Launching a WebApi application from a Windows App
body: <p>I have a simple WebApi2 app that handles various REST requests. It's essentially a front end for various CRUD operations on an SQL Server Database. Up until now, I've never run it from outside of Visual Studio yet though and I usually don't do Windows specific stuff, but here I am.</p>
  
  <p>My goal is to build this webapp's functionality into a Windows Desktop application (or at least be able to control the webapp from the windows program), mostly so the user can start the Webapp, stop it, see who is connecting to it, etc, but I've got no idea how to go about connecting this particular set of dots. It's actually a pretty tough thing to google.</p>
  
  <p>The WebApp part also needs to be told some things at startup (just strings, so if the answer(s) involve executing various system command lines to tell the WebApp to start/stop/etc and I can pass in what I need on a command line somehow, that's fine). </p>
  
  <p>Ultimately, the goal is to hand the user an install program and he doesn't have to know there is a webserver involved unless he really wants to.</p>
  
  <p>So how would I go about accomplishing this part? (If this question is too vague, tell me why and I'll modify it as necessary).</p>