aspnet / Announcements

Subscribe to this repo to be notified about major changes in ASP.NET Core and Entity Framework Core
Other
1.65k stars 80 forks source link

Breaking change Identity UI uses the new static web assets #380

Open javiercn opened 5 years ago

javiercn commented 5 years ago

In ASP.NET Core 3.0 we've moved Identity UI to use the new static web assets feature introduced in 3.0. As part of this move there are a few API breaking changes to note.

Bootstrap4 is the default UI framework for Identity UI. (Bootstrap 3 has reached end of life and you should consider migrating to a supported version).

Selecting the framework is done by using the IdentityUIFrameworkVersion property in your project file.

The AddIdentityUI overload that takes a UIFramework parameter has been removed. If you are using Bootstrap4, simply call AddIdentityUI(). If you are using Bootstrap3, additionally add the following line to your project file inside a PropertyGroup.

<IdentityUIFrameworkVersion>Bootstrap3</IdentityUIFrameworkVersion>

[This announcement has been migrated to: dotnet/docs#14959]

WinThuGithub commented 4 years ago

Thank you so much. I'm using .net Core 3 and so bootstrap4. It works well with AddDefaultUI().