Senparc.Ncf.Utility 0.21.3-preview5

Prefix Reserved
This is a prerelease version of Senparc.Ncf.Utility.
dotnet add package Senparc.Ncf.Utility --version 0.21.3-preview5
                    
NuGet\Install-Package Senparc.Ncf.Utility -Version 0.21.3-preview5
                    
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="Senparc.Ncf.Utility" Version="0.21.3-preview5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Senparc.Ncf.Utility" Version="0.21.3-preview5" />
                    
Directory.Packages.props
<PackageReference Include="Senparc.Ncf.Utility" />
                    
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 Senparc.Ncf.Utility --version 0.21.3-preview5
                    
#r "nuget: Senparc.Ncf.Utility, 0.21.3-preview5"
                    
#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 Senparc.Ncf.Utility@0.21.3-preview5
                    
#: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=Senparc.Ncf.Utility&version=0.21.3-preview5&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Senparc.Ncf.Utility&version=0.21.3-preview5&prerelease
                    
Install as a Cake Tool

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 the DI helpers connect common services to the host container.
  • NcfLocalizationOptions.TryNormalizeCulture(...) and GetSystemLanguage(...) normalize request culture.
  • GlobalCulture.Create(...) provides scoped language callbacks such as SetEnglish(...) and SetChinese(...).
  • PredicateBuilder, SenparcExpressionHelper<TEntity>, and SenparcIQueryableExtension compose 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 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 (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
Loading failed

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.