Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IdentityBuilderUIExtensions.AddDefaultUI Method
Definition
- Namespace:
- Microsoft.AspNetCore.Identity
- Assembly:
- Microsoft.AspNetCore.Identity.UI.dll
- Package:
- Microsoft.AspNetCore.Identity.UI v10.0.0
- Package:
- Microsoft.AspNetCore.Identity.UI v11.0.0-preview.4.26230.115
- Package:
- Microsoft.AspNetCore.Identity.UI v2.1.0
- Package:
- Microsoft.AspNetCore.Identity.UI v2.2.0
- Package:
- Microsoft.AspNetCore.Identity.UI v3.0.3
- Package:
- Microsoft.AspNetCore.Identity.UI v3.1.18
- Package:
- Microsoft.AspNetCore.Identity.UI v5.0.9
- Package:
- Microsoft.AspNetCore.Identity.UI v6.0.6
- Package:
- Microsoft.AspNetCore.Identity.UI v7.0.5
- Package:
- Microsoft.AspNetCore.Identity.UI v8.0.19
- Package:
- Microsoft.AspNetCore.Identity.UI v9.0.8
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
| Name | Description |
|---|---|
| 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.
Applies to
Feedback
Was this page helpful?
