Configure() public static method

Configure Routing
public static Configure ( IApplicationBuilder app ) : void
app IApplicationBuilder
return void
Example #1
0
 public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
 {
     ConfigureCommon.Configure(app, env);
     ConfigureEndpoints.Configure(app);
 }
Example #2
0
 /// <summary>
 /// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
 /// </summary>
 /// <param name="app"></param>
 /// <param name="env"></param>
 /// <param name="mapper"></param>
 public void Configure(IApplicationBuilder app, IWebHostEnvironment env, AutoMapper.IConfigurationProvider mapper)
 {
     ConfigureCommon.Configure(app, env, mapper);
     ConfigureEndpoints.Configure(app);
 }
 /// <summary>
 ///     This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
 /// </summary>
 /// <param name="app"></param>
 /// <param name="env"></param>
 /// <param name="provider"></param>
 public void Configure(IApplicationBuilder app, IWebHostEnvironment env, IApiVersionDescriptionProvider provider)
 {
     ConfigureCommon.Configure(app, env, provider);
     ConfigureEndpoints.Configure(app);
 }