Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abstract Presentation.Web related extension methods #16

Open
3 of 9 tasks
wintondeshong opened this issue Jun 16, 2020 · 0 comments
Open
3 of 9 tasks

Abstract Presentation.Web related extension methods #16

wintondeshong opened this issue Jun 16, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@wintondeshong
Copy link
Contributor

wintondeshong commented Jun 16, 2020

There are a few key extension methods we heavily use across projects that could be extracted into the AndcultureCode.CSharp.Web package.

  • IApplicationBuilderExtensions#ConfigureSeedData
  • ModelStateExtensions
  • AuthorizationFilterContextExtensions
  • IServiceCollectionExtensions.AddAndcultureCodeLocalization
  • IServiceCollectionExtensions.AddMiddleware -> make a more specific optional AddRequestThrottling that allows a project to 'enable' rate limiting functionality. Should not remain as generic AddMiddleware
  • IServiceCollectionExtensions.ConfigureRequestLocalizationOptions
  • IServiceCollectionExtensions.ConfigureRewriteOptions - Should be either bundled with another similarily named or pulled into its own that spells out what rewrite options it is configuring. Not kept generic
  • IServiceCollectionExtensions.ConfigureRouteOptions - Same as above, should be grouped with similar and explicitly named functionality around localization
  • IServiceCollectionExtensions.ConfigureForwardedHeaders - fixed by New controller interfaces and Cookie Auth handling AndcultureCode.CSharp.Web#6
@wintondeshong wintondeshong added the enhancement New feature or request label Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant