Slide 102
Slide 102 text
STARTUP
.CS
public void Configure(
IApplicationBuilder app, IHostingEnvironment env)
{
app.UseHttpsRedirection();
app.Use(async (context, next) =>
{
// do some inbound logic on the request
await next();
// do some outbound logic on the response
});
app.UseStaticFiles();
}