Esempio n. 1
0
        public void Configure(IApplicationBuilder app)
        {
            if (HostingEnvironment.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }

            SwaggerConfig.ConfigureApp(app, HostingEnvironment);
            MvcConfig.ConfigureApp(app);
        }
Esempio n. 2
0
 public void ConfigureServices(IServiceCollection services)
 {
     MvcConfig.ConfigureServices(services);
     SwaggerConfig.ConfigureServices(services, HostingEnvironment);
 }