Description
This API has been marked as obsolete since ASP.NET Core 3.1 in dotnet/aspnetcore#15134. It has been removed in dotnet/aspnetcore#67077.
Version
.NET 11 Preview 7
Previous behavior
The API existed with obsoletion warning.
New behavior
The API no longer exists.
Type of breaking change
Reason for change
The API was marked obsolete since ASP.NET Core 3.1, with a better alternative overload that accepts PropertyInfo.
Recommended action
Use the ModelMetadataIdentity.ForProperty(PropertyInfo propertyInfo, Type modelType, Type containerType) overload instead.
Affected APIs
ModelMetadataIdentity.ForProperty(Type modelType, string name, Type containerType)
Description
This API has been marked as obsolete since ASP.NET Core 3.1 in dotnet/aspnetcore#15134. It has been removed in dotnet/aspnetcore#67077.
Version
.NET 11 Preview 7
Previous behavior
The API existed with obsoletion warning.
New behavior
The API no longer exists.
Type of breaking change
Reason for change
The API was marked obsolete since ASP.NET Core 3.1, with a better alternative overload that accepts
PropertyInfo.Recommended action
Use the
ModelMetadataIdentity.ForProperty(PropertyInfo propertyInfo, Type modelType, Type containerType)overload instead.Affected APIs
ModelMetadataIdentity.ForProperty(Type modelType, string name, Type containerType)