Skip to content

Instantly share code, notes, and snippets.

@jesuscampos
Last active May 12, 2018 21:19
Show Gist options
  • Save jesuscampos/4958552f2898120e44177201ca25d509 to your computer and use it in GitHub Desktop.
Save jesuscampos/4958552f2898120e44177201ca25d509 to your computer and use it in GitHub Desktop.
Método Configure
public void Configure(IApplicationBuilder app)
{
app.UseAuthentication();
app.UseMyMiddleware(Configuration);
app.UseMvc();
}
public void Configure(IApplicationBuilder app, IHostingEnvironment environment, ILoggerFactory loggerFactory)
{
app.UseAuthentication();
app.UseMyMiddleware(Configuration);
app.UseMyOtherMiddleware(environment, loggerFactory);
app.UseMvc();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment