Skip to content

Support for non mvc web apis #26

Closed
@petterhoel

Description

@petterhoel

I have used this package to get language specific validation messages in dotnet core web apis. The client is usually a SPA on a separate js-framework app running on a separate domain. We expose the messages from ForEvolve on a custom property on an extended ProblemDetails object. This is handled by error handler middleware.

Dotnet core 3 does not use mvc anymore for these kinds of projects, so we are back to basic error messages provided by Microsoft.

I would love a general approach or custom extension for this use case. Something not scoped to mvc.

As a consumer something that looks something like this:
services.AddForEvolveLocalization(): in place of services.AddMvc().AddForEvolveMvcLocalization();

Would love to know if there are any plans for anything like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions