CrestApps.Components 1.6.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package CrestApps.Components --version 1.6.2                
NuGet\Install-Package CrestApps.Components -Version 1.6.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CrestApps.Components" Version="1.6.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CrestApps.Components --version 1.6.2                
#r "nuget: CrestApps.Components, 1.6.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CrestApps.Components as a Cake Addin
#addin nuget:?package=CrestApps.Components&version=1.6.2

// Install CrestApps.Components as a Cake Tool
#tool nuget:?package=CrestApps.Components&version=1.6.2                

Features

Customizable User Display Name

Provides a way to change how the user name is displayed.

In order for the customizable user name or the avatar to show up in the LoginMenu, edit LoginMenu.cshtml find a line that looks like the following

<i class="fa-solid fa-user fa-fw" aria-hidden="true"></i> @User.Identity.Name<b class="caret"></b>

And replace it with the following

@if (IsSectionDefined("UserMenuTitle"))
{
    @await RenderSectionAsync("UserMenuTitle", required: false)
}
else
{
    <i class="fa fa-user fa-fw" aria-hidden="true"></i> @User.Identity.Name
}

User Avatar

Provides a way to display an avatar for each user.

In order for the customizable user name or the avatar to show up in the UserMenu, edit UserMenu.cshtml find a line that looks like the following

<i class="fa-solid fa-fw fa-user" aria-hidden="true" data-bs-toggle="tooltip" data-bs-original-title="@User.Identity.Name"></i>

And replace it with.

@if (IsSectionDefined("UserMenuTitle"))
{
    @await RenderSectionAsync("UserMenuTitle", required: false)
}
else
{
    <i class="fa fa-user fa-fw" aria-hidden="true"></i> @User.Identity.Name
}
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.10.0-preview-0023 504 9/9/2024
1.10.0-preview-0022 144 8/26/2024
1.10.0-preview-0021 80 8/26/2024
1.10.0-preview-0020 130 8/7/2024
1.10.0-preview-0005 106 7/22/2024
1.10.0-preview-0004 176 6/6/2024
1.10.0-preview-0003 232 5/7/2024
1.10.0-preview-0002 137 3/8/2024
1.10.0-preview-0001 95 3/7/2024
1.9.1 518 1/17/2024
1.9.0 105 1/17/2024
1.8.0 115 1/17/2024
1.7.1 471 9/1/2023
1.7.0 220 8/15/2023
1.6.10 167 8/15/2023
1.6.9 151 8/15/2023
1.6.8 157 8/15/2023
1.6.7 177 8/15/2023
1.6.6 128 8/15/2023
1.6.5 160 8/14/2023
1.6.4 173 8/14/2023
1.6.3 168 8/10/2023
1.6.2 166 8/10/2023
1.6.1 171 8/10/2023
1.6.0 357 4/26/2023
1.1.0-preview-3 334 1/30/2023
1.1.0-preview-2 151 1/28/2023
1.1.0-preview-1 310 9/30/2022
1.0.22 484 9/19/2022
1.0.21 613 8/22/2022
1.0.20 435 8/22/2022
1.0.19 686 5/26/2022
1.0.18 462 5/26/2022
1.0.17 431 5/20/2022
1.0.16 420 5/19/2022
1.0.15 428 5/19/2022
1.0.14 482 5/18/2022
1.0.13 429 5/17/2022
1.0.12 425 5/17/2022
1.0.11 412 5/17/2022
1.0.10 404 5/17/2022
1.0.8 530 5/16/2022
1.0.6 935 2/18/2022
1.0.5 885 2/16/2022
1.0.4 546 2/14/2022
1.0.3 630 2/1/2022
1.0.2 647 2/1/2022
1.0.1 606 2/1/2022
1.0.0 645 2/1/2022