Beispiel #1
0
        public void Configure(IApplicationBuilder app, IHostingEnvironment env, IRunner runner)
        {
            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }

            app.Run(async(context) => { await context.Response.WriteAsync(runner.DoAction(nameof(Startup))); });
        }