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-0003 156 5/7/2024
1.10.0-preview-0002 107 3/8/2024
1.10.0-preview-0001 74 3/7/2024
1.9.1 476 1/17/2024
1.9.0 74 1/17/2024
1.8.0 81 1/17/2024
1.7.1 442 9/1/2023
1.7.0 195 8/15/2023
1.6.10 144 8/15/2023
1.6.9 124 8/15/2023
1.6.8 130 8/15/2023
1.6.7 140 8/15/2023
1.6.6 102 8/15/2023
1.6.5 132 8/14/2023
1.6.4 149 8/14/2023
1.6.3 145 8/10/2023
1.6.2 139 8/10/2023
1.6.1 147 8/10/2023
1.6.0 323 4/26/2023
1.1.0-preview-3 306 1/30/2023
1.1.0-preview-2 130 1/28/2023
1.1.0-preview-1 274 9/30/2022
1.0.22 455 9/19/2022
1.0.21 584 8/22/2022
1.0.20 408 8/22/2022
1.0.19 658 5/26/2022
1.0.18 424 5/26/2022
1.0.17 397 5/20/2022
1.0.16 384 5/19/2022
1.0.15 402 5/19/2022
1.0.14 455 5/18/2022
1.0.13 397 5/17/2022
1.0.12 398 5/17/2022
1.0.11 387 5/17/2022
1.0.10 382 5/17/2022
1.0.8 495 5/16/2022
1.0.6 893 2/18/2022
1.0.5 864 2/16/2022
1.0.4 514 2/14/2022
1.0.3 603 2/1/2022
1.0.2 615 2/1/2022
1.0.1 572 2/1/2022
1.0.0 611 2/1/2022