-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Allow Use of IConfigureOptions Consistently Everywhere #39251
Copy link
Copy link
Closed
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedinvestigateold-area-web-frameworks-do-not-use*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Milestone
Metadata
Metadata
Assignees
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedinvestigateold-area-web-frameworks-do-not-use*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Type
Fields
Give feedbackNo fields configured for issues without a type.
Is your feature request related to a problem? Please describe.
IConfigureOptions<T>allows you to move your configuration code to a separate class. However, it cannot be used with certain API's which require us to pass anAction<T>:This is not an exhaustive list, there may be others.
Describe the solution you'd like
All API's in ASP.NET Core should be consistent and allow us to configure them using
IConfigureOptions<T>. The following overloads should be added: