воскресенье, 19 ноября 2017 г.

Microsoft.Owin.Hosting.Start and Stop

https://stackoverflow.com/questions/31562192/owin-stop-server-service


private IDisposable myServer;

public void Start() {
    myServer = WebApp.Start(URL);
}

public void Stop() {
    myServer.Dispose();
}

Комментариев нет:

Отправить комментарий