Senparc.Ncf.Utility
0.21.3-preview5
Prefix Reserved
dotnet add package Senparc.Ncf.Utility --version 0.21.3-preview5
NuGet\Install-Package Senparc.Ncf.Utility -Version 0.21.3-preview5
<PackageReference Include="Senparc.Ncf.Utility" Version="0.21.3-preview5" />
<PackageVersion Include="Senparc.Ncf.Utility" Version="0.21.3-preview5" />
<PackageReference Include="Senparc.Ncf.Utility" />
paket add Senparc.Ncf.Utility --version 0.21.3-preview5
#r "nuget: Senparc.Ncf.Utility, 0.21.3-preview5"
#:package Senparc.Ncf.Utility@0.21.3-preview5
#addin nuget:?package=Senparc.Ncf.Utility&version=0.21.3-preview5&prerelease
#tool nuget:?package=Senparc.Ncf.Utility&version=0.21.3-preview5&prerelease
Senparc.Ncf.Utility
Senparc.Ncf.Utility is the shared utility layer for NCF applications and modules. It groups DI, HTTP context, localization, reflection, expression, stream, file, and compatibility helpers.
Features
- NCF DI and application-pipeline extensions.
- Culture normalization and scoped language helpers.
- Reflection and expression/predicate composition utilities.
- HTTP request metadata, path mapping, stream wrappers, file names, ID-card validation, and legacy encryption helpers.
Installation
<PackageReference Include="Senparc.Ncf.Utility" Version="0.26.0-preview3" />
Key API
UseSenparcMvcDI(...)and theDIhelpers connect common services to the host container.NcfLocalizationOptions.TryNormalizeCulture(...)andGetSystemLanguage(...)normalize request culture.GlobalCulture.Create(...)provides scoped language callbacks such asSetEnglish(...)andSetChinese(...).PredicateBuilder,SenparcExpressionHelper<TEntity>, andSenparcIQueryableExtensioncompose query expressions.SenparcHttpContext.MapPath(...),MapWebPath(...), and request extensions expose safe host-aware paths and request metadata.ReflectionHelper.CreateInstance(...)/GetTypeFromName(...)support controlled plug-in discovery.
Review the security implications of path, reflection, DES, and request helpers before exposing them to untrusted input. Prefer modern authenticated encryption and allowlisted types for new code.
| Product | Versions 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. |
-
net10.0
- Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (>= 8.0.10)
- Microsoft.Extensions.Caching.Memory (>= 8.0.1)
- Senparc.CO2NET (>= 4.2.0)
- Senparc.Ncf.Log (>= 0.20.2-preview2)
NuGet packages (15)
Showing the top 5 NuGet packages that depend on Senparc.Ncf.Utility:
| Package | Downloads |
|---|---|
|
Senparc.Ncf.Core
Senparc.Ncf.Core |
|
|
Senparc.Ncf.Database
Senparc.Ncf.Database |
|
|
Senparc.Ncf.Service
Senparc.Ncf.Service |
|
|
Senparc.Ncf.AreaBase
Senparc.Ncf.AreaBase |
|
|
Senparc.Ncf.DatabasePlant
Senparc.Ncf.DatabasePlant database. database, addcondition, : <PackageReference Condition=" 'Release' != 'Release' " Include="Senparc.Ncf.DatabasePlant" Version="0.2.200.102-beta1" /> |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.21.3-preview5 | 303 | 11/19/2026 |
| 0.21.2-preview4 | 488 | 11/11/2026 |
| 0.21.1-preview3 | 4,520 | 7/31/2026 |
| 0.21.0-preview2 | 693 | 7/26/2026 |
| 0.20.1-preview1 | 643 | 6/17/2026 |
| 0.19.10.1-preview | 687 | 5/9/2026 |
| 0.19.9-preview.1 | 211 | 2/13/2026 |
| 0.19.8.4-preview | 407 | 12/28/2025 |
| 0.19.8.2-preview | 444 | 12/28/2025 |
| 0.19.8-preview.1 | 302 | 11/1/2025 |
| 0.19.6.7-preview1 | 651 | 8/20/2025 |
| 0.19.6.5-preview1 | 548 | 8/18/2025 |
| 0.19.6.4-preview1 | 592 | 7/14/2025 |
| 0.19.6.3-preview1 | 659 | 7/2/2025 |
| 0.19.6.2-preview1 | 605 | 7/2/2025 |
| 0.19.6.1-preview1 | 866 | 6/6/2025 |
| 0.19.6-preview1 | 943 | 4/29/2025 |
| 0.19.5-preview1 | 646 | 4/12/2025 |
| 0.19.4.5-preview1 | 505 | 4/12/2025 |
| 0.19.2-preview | 442 | 6/16/2026 |
v0.1.0 initial release
[2024-10-07] delete AESEncryptionUtility , unify CO2NET feature.
[2024-10-26] 0.18.6-preview1 add GlobalCulture
[2025-04-29] v0.19.6-preview1 Update CO2NET and AIKernel
[2025-11-01] update basic libraries, including Senparc.AI
[2026-07-17] v0.21.0-preview2 Updated module behavior and related support.
1. Updated module behavior and related support.
2. Updated module behavior and related support.
[2026-07-31] v0.21.1-preview3 Updated module behavior and related support.
1. Updated module behavior and related support.
[2026-11-11] v0.21.1-preview3 Updated module behavior and related support.
1. Updated module behavior and related support.
2. Updated module behavior and related support.
[2026-11-12] v0.21.2-preview4 Updated module behavior and related support.
1. Updated module behavior and related support.
2. Updated module behavior and related support.
[2026-11-19] v0.21.3-preview5 Updated module behavior, localization metadata, and English source comments
1. Updated localized labels, resource fallbacks, and user-facing messages across affected surfaces.
2. Standardized related English source comments and package metadata for the current release.