https://stackoverflow.com/questions/31562192/owin-stop-server-service
private IDisposable myServer;
public void Start() {
myServer = WebApp.Start(URL);
}
public void Stop() {
myServer.Dispose();
}
private IDisposable myServer;
public void Start() {
myServer = WebApp.Start(URL);
}
public void Stop() {
myServer.Dispose();
}