IdentityBuilderUIExtensions.AddDefaultUI 方法

定义

重载

AddDefaultUI(IdentityBuilder)

在名为 Identity 的区域使用 Razor Pages 将默认的标识自包含 UI 添加到应用程序。

AddDefaultUI(IdentityBuilder, UIFramework)

在名为 Identity 的区域使用 Razor Pages 将默认的标识自包含 UI 添加到应用程序。

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

在名为 Identity 的区域使用 Razor Pages 将默认的标识自包含 UI 添加到应用程序。

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

参数

返回

IdentityBuilder

注解

若要使用默认 UI,应用程序必须使用 Microsoft.AspNetCore.MvcMicrosoft.AspNetCore.StaticFiles 并且必须包含 _LoginPartial 应用程序可以找到的部分视图。

适用于

AddDefaultUI(IdentityBuilder, UIFramework)

Source:
IdentityBuilderUIExtensions.cs

在名为 Identity 的区域使用 Razor Pages 将默认的标识自包含 UI 添加到应用程序。

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

参数

返回

IdentityBuilder

注解

若要使用默认 UI,应用程序必须使用 Microsoft.AspNetCore.MvcMicrosoft.AspNetCore.StaticFiles 并且必须包含 _LoginPartial 应用程序可以找到的部分视图。

适用于