Silmoon.AspNetCore 3.1.0

Prefix Reserved
dotnet add package Silmoon.AspNetCore --version 3.1.0
                    
NuGet\Install-Package Silmoon.AspNetCore -Version 3.1.0
                    
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="Silmoon.AspNetCore" Version="3.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Silmoon.AspNetCore" Version="3.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Silmoon.AspNetCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Silmoon.AspNetCore --version 3.1.0
                    
#r "nuget: Silmoon.AspNetCore, 3.1.0"
                    
#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.
#:package Silmoon.AspNetCore@3.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Silmoon.AspNetCore&version=3.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Silmoon.AspNetCore&version=3.1.0
                    
Install as a Cake Tool

.NET

Silmoon.AspNetCore

AspNetCore related open source projects forked from Silmoon (44876f64eeb23c16bb86aa133f7ddc5ffdb95edb).

Requirement:

  • .net10 SDK

Many JS calls return objects that are generally the following (data is optional).

{ "success": true, "message": null, "data": { "user": { "id": 1, "name": "Silmoon Sone" } } }

or

{ "success": false, "message": "error message", "data": null }

User session or user authentication

Passkey authentication

Silmoon.AspNetCore.Test includes local DropdownSelect and DropdownMenu components; see the template component guide. Each component declares its JavaScript module for loading when used; the host must keep site.js, the application scoped CSS bundle, and Bootstrap Icons. DropdownMenu also requires the Bootstrap 5 bundle (including Popper).

DropdownMenu opens below the trigger from its start edge by default. Use AlignEnd for end alignment and OpenUpward to prefer opening above; available viewport space can change placement. Browsers with native Popover keep the menu in the top layer without moving its Blazor DOM, avoiding card clipping; the ordinary-position fallback cannot guarantee this.

MenuWidth now defaults to 12.5rem (200px with a 16px root font), replacing the earlier 15rem. Pass "200px" for a fixed pixel width or "auto" to fit the current menu level; viewport limits still apply. Rem widths follow root-font changes, including mobile themes. Opening fades in over 180ms and closing fades out over 140ms; reduced-motion preferences skip these animations. The component module is v4; refresh the scoped CSS cache together with it. The shared site.js is unchanged and needs no additional version for this component update.

DropdownSelect now uses module v3 and adds AlignEnd (false by default). It shares the four placement combinations, RTL behavior, viewport avoidance, and 180ms entrance / 140ms exit fades with DropdownMenu; callbacks and native links do not wait for animation. Browsers without ::details-content close immediately.

The template's former AuthFormCard is now the general-purpose ContentCard, supplied as a Razor/CSS pair with no JavaScript. Title, brand, description, and icon are optional, with no default user icon. It supports body content, FooterContent, Class, and additional HTML attributes. Width / MaxWidth default to 100%, Centered to false, and HeadingLevel to 2 (clamped to 1–6). Preserve the old authentication appearance with Centered="true" MaxWidth="480px" HeadingLevel="1" Icon="bi-person-circle". Form styles only apply through explicit classes such as card-form, card-fields, and card-actions. See the template guide linked above for complete usage and migration; refresh the scoped CSS cache when updating this card or Select.

The template's component demo source serves its /backend/components-demo route; this project does not add a separate copy of that page. The main area shows individual controls and a simple ContentCard; centered profile forms, multiple instances, and asynchronous combinations are grouped under the initially collapsed “更多交互示例” section. Nested cards use HeadingLevel="3", and select/menu parameter controls occupy separate rows.

For in-page navigation in Blazor pages with <base>, use an application-base-relative page route plus fragment, such as Href="backend/components-demo#input-heading", substituting the actual target route when reusing the example. A bare #input-heading may resolve against <base> to the application home page instead of the current demo.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Silmoon.AspNetCore:

Package Downloads
Silmoon.AspNetCore.Blazor

Reusable Blazor components and JavaScript interop for Silmoon.AspNetCore applications.

Silmoon.AspNetCore.Encryption

Silmoon SDK

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.1.0 135 11/1/2026
3.0.3 119 9/25/2026
3.0.2 129 9/12/2026
3.0.1 140 8/23/2026
3.0.0 193 3/1/2026
2.0.7 172 1/18/2026
2.0.6 201 11/29/2025
2.0.5 193 10/12/2025
2.0.4 247 9/29/2025
2.0.3 223 9/28/2025
2.0.0 261 9/21/2025
1.7.2 256 8/4/2025
1.7.1 206 8/3/2025
1.6.8 222 8/3/2025
1.6.7 685 7/23/2025
1.6.6 187 5/30/2025
1.6.5 315 5/8/2025
Loading failed