aspnet / BasicMiddleware

[Archived] Basic middleware components for ASP.NET Core. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
169 stars 84 forks source link

Use new Hosting APIs #227

Closed JunTaoLuo closed 7 years ago

JunTaoLuo commented 7 years ago

https://github.com/aspnet/Hosting/pull/1035

davidfowl commented 7 years ago

Agreed with @Tratcher. It's not like we're removing the other one.

JunTaoLuo commented 7 years ago

We are obsoleting the ConfigureLogging overload that only takes the ILoggerFactory. The one we probably won't deprecate is the UseLoggerFactory overload. I add the context with an explicit name instead _ since this is a sample and it would probably make more sense to be explicit with what that parameter is.

JunTaoLuo commented 7 years ago

shouldn't need this anymore