-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
area-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresbreaking-changeThis issue / pr will introduce a breaking change, when resolved / merged.This issue / pr will introduce a breaking change, when resolved / merged.feature-session
Description
From @HaoK on Thursday, June 29, 2017 6:47:53 PM
Since the session middleware is using IOptions, we should mirror how we normally configure options... It should instead always use IOptions and apply the action to it afterwards (basically a PostPostConfigureOptions)
We should revisit any other middleware that are using this pattern and using IOptions
UseSession(new SessionOptions())
=> UseSession(o => { })
Copied from original issue: aspnet/Session#174
Metadata
Metadata
Assignees
Labels
area-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresbreaking-changeThis issue / pr will introduce a breaking change, when resolved / merged.This issue / pr will introduce a breaking change, when resolved / merged.feature-session