public static OwinHost Start <TStartup>(string url) { var server = new OwinHost(); server.Configure <TStartup>(new StartOptions { Urls = { url } }); return(server); }
public static OwinHost Start(string url, Action <IAppBuilder> app) { var server = new OwinHost(); server.Configure(app, new StartOptions { Urls = { url } }); return(server); }