Skip to content

Document using validation models from library in .NET 10 #36240

@oroztocil

Description

@oroztocil

[EDIT by guardrex to add the metadata]

We should provide guidance for the scenario where a .NET 10 Blazor app uses the new .NET 10 validation with models defined in another assembly (other than the assembly that does the application setup). For this to work, an AddValidation call needs to be done per assembly.

See the discussion in dotnet/aspnetcore#63626 (comment) for the pattern recommended for .NET 10. (We might streamline the usage in the future.)


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions