Dela via


IdentityBuilderUIExtensions.AddDefaultUI Method

Definition

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)

Source:
IdentityBuilderUIExtensions.cs
Source:
IdentityBuilderUIExtensions.cs
Source:
IdentityBuilderUIExtensions.cs
Source:
IdentityBuilderUIExtensions.cs
Source:
IdentityBuilderUIExtensions.cs
Source:
IdentityBuilderUIExtensions.cs
Source:
IdentityBuilderUIExtensions.cs
Source:
IdentityBuilderUIExtensions.cs
Source:
IdentityBuilderUIExtensions.cs

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

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)

Source:
IdentityBuilderUIExtensions.cs

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

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.

Applies to