IdentityBuilderUIExtensions.AddDefaultUI Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddDefaultUI(IdentityBuilder) |
Adds a default, self-contained UI for Identity to the application using Razor Pages in an area named Identity. |
AddDefaultUI(IdentityBuilder, UIFramework) |
Adds a default, self-contained UI for Identity to the application using Razor Pages in an area named Identity. |
AddDefaultUI(IdentityBuilder)
Adds a default, self-contained UI for Identity to the application using Razor Pages in an area named Identity.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Identity::IdentityBuilder ^ AddDefaultUI(Microsoft::AspNetCore::Identity::IdentityBuilder ^ builder);
public static Microsoft.AspNetCore.Identity.IdentityBuilder AddDefaultUI (this Microsoft.AspNetCore.Identity.IdentityBuilder builder);
static member AddDefaultUI : Microsoft.AspNetCore.Identity.IdentityBuilder -> Microsoft.AspNetCore.Identity.IdentityBuilder
<Extension()>
Public Function AddDefaultUI (builder As IdentityBuilder) As IdentityBuilder
Parameters
- builder
- IdentityBuilder
The IdentityBuilder.
Returns
The IdentityBuilder.
Remarks
In order to use the default UI, the application must be using Microsoft.AspNetCore.Mvc, Microsoft.AspNetCore.StaticFiles and contain a _LoginPartial
partial view that can be found by the application.
Applies to
AddDefaultUI(IdentityBuilder, UIFramework)
Adds a default, self-contained UI for Identity to the application using Razor Pages in an area named Identity.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Identity::IdentityBuilder ^ AddDefaultUI(Microsoft::AspNetCore::Identity::IdentityBuilder ^ builder, Microsoft::AspNetCore::Identity::UI::UIFramework framework);
public static Microsoft.AspNetCore.Identity.IdentityBuilder AddDefaultUI (this Microsoft.AspNetCore.Identity.IdentityBuilder builder, Microsoft.AspNetCore.Identity.UI.UIFramework framework);
static member AddDefaultUI : Microsoft.AspNetCore.Identity.IdentityBuilder * Microsoft.AspNetCore.Identity.UI.UIFramework -> Microsoft.AspNetCore.Identity.IdentityBuilder
<Extension()>
Public Function AddDefaultUI (builder As IdentityBuilder, framework As UIFramework) As IdentityBuilder
Parameters
- builder
- IdentityBuilder
The IdentityBuilder.
- framework
- UIFramework
The UIFramework.
Returns
The IdentityBuilder.
Remarks
In order to use the default UI, the application must be using Microsoft.AspNetCore.Mvc, Microsoft.AspNetCore.StaticFiles and contain a _LoginPartial
partial view that can be found by the application.