Skip to content

Create IApplicationBuilderextensions methods #7

Closed
@Carl-Hugo

Description

@Carl-Hugo

Create an UseForEvolveRequestLocalization extension method that automatically register RequestLocalizationOptions.

var locOptions = app.ApplicationServices.GetService<IOptions<RequestLocalizationOptions>>();
app.UseRequestLocalization(locOptions.Value);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions