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

[Breaking Change] Add duplicate constructor for HSTS middleware #339

Closed Tratcher closed 6 years ago

Tratcher commented 6 years ago

See https://github.com/aspnet/BasicMiddleware/pull/338#issuecomment-397109240

Add a duplicate constructor. Make sure to place it second because DI has ordering issues.

muratg commented 6 years ago

@Tratcher it looks like https://github.com/aspnet/BasicMiddleware/pull/327 made the constructor change. Please do the needful.

cc @ryanbrandenburg

ryanbrandenburg commented 6 years ago

Once you do this you'll need to remove the breakingchanges file we added in aspnet/BasicMiddleware#338.