net9.0
namespace Microsoft.AspNetCore.Identity.UI.V5.Pages.Account.Internal
{
    [AllowAnonymous]
    public abstract class RegisterModel : PageModel
    {
        public class InputModel
        {
            [DataType(DataType.Password)]
            [Display(Name = "Password")]
            [Required]
            [StringLength(100, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
            public string! Password { get; set; }
        }
    }
}
.NET 8.09.0
Information specific to net9.0
Assemblies

Microsoft.AspNetCore.Identity.UI , Version=8.0.5.0, PublicKeyToken=adb9793829ddae60

Microsoft.AspNetCore.Identity.UI , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60

Referencing

Your project needs a package reference to Microsoft.AspNetCore.Identity.UI.

Package Microsoft.AspNetCore.Identity.UI net8.0
Platform Restrictions

The property getter is supported on all platforms.

The property setter is supported on all platforms.

  • Built-in API
  • Package-provided API

05/18/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙