예제 #1
0
 // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
 public static void Configure(IApplicationBuilder app, IWebHostEnvironment env)
 {
     CatalystApplicationBuilder.CreateApplicationBuilder(app, env)
     .UseSwaggerUI(c =>
     {
         c.SwaggerEndpoint($"/swagger", $"API v1");
         c.RoutePrefix = string.Empty;
     });
 }
예제 #2
0
 // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
 public virtual void Configure(IApplicationBuilder app, IWebHostEnvironment env)
 {
     CatalystApplicationBuilder.CreateApplicationBuilder(app, env);
 }