title: How to set Asp.Net Core app as a service in Windows 10 IoT Core?
body: <p>I have successfully deployed an ASP.NET Core 2.0 (MVC) on Win IoT Core (running on Rasp Pi 3). The device is listening on 192.168.0.14:80.</p>
  
  <p><a href="https://i.stack.imgur.com/RHs5h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RHs5h.png" alt="enter image description here"></a></p>
  
  <p>I activate the application via PowerShell (from my host computer connected to the device) as follows.</p>
  
  <p><a href="https://i.stack.imgur.com/RBw5a.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RBw5a.png" alt="enter image description here"></a></p>
  
  <p>The problem is that if I close the PowerShell window, the server stop listening.</p>
  
  <h1>Question</h1>
  
  <p>How to active the web application as a service that is always running even after restarting the device? </p>