Пример #1
0
        public void Configuration(IAppBuilder app)
        {
            app.UseLogging();
            app.UseAuthentication();
            var options = new MyMiddlewareConfigOptions("Greetings!", "Kevin");
            options.IncludeDate = true;

            app.UseMyMiddelware(options);
            //app.UseMyOtherMiddleware();
        }