Пример #1
0
        public static InProcessWebApp Start <TStartup>(short port)
        {
            InProcessWebApp app = new InProcessWebApp(port);

            app.Start <TStartup>();
            return(app);
        }
Пример #2
0
 public static void AssemblyInit(TestContext context)
 {
     // AppDomain.CurrentDomain.Load(typeof(Microsoft.Owin.Host.HttpListener.OwinHttpListener).Assembly.GetName());
     InProcess = InProcessWebApp.Start <SelfHostedStartup>(Port); // public const string InProcess_LocalHttp = "http://localhost:9011";
 }