Senparc.Ncf.AreaBase 0.23.12

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

Senparc.Ncf.AreaBase

Senparc.Ncf.AreaBase contains the ASP.NET Core MVC and Razor Page foundations used by NCF administration areas and XNCF modules.

Features

  • Base page models for regular and administrator-facing module pages.
  • Administrator authorization policies and API/page authorization attributes.
  • Authentication result filters, resource markers, and automatic anti-forgery conventions.
  • Shared hooks for building an NCF Area without duplicating security and page plumbing.

Installation

<PackageReference Include="Senparc.Ncf.AreaBase" Version="0.26.0-preview3" />

Key API

  • AdminPageModelBase and AdminXncfModulePageModelBase provide reusable page-model behavior.
  • NcfAdminAuthorizationExtensions.AddNcfAdminAuthorizationPolicies(...) registers the standard administrator policies.
  • AdminAuthorizeAttribute, ApiAuthorizeAttribute, AuthenticationAsyncPageFilterAttribute, and AuthenticationResultFilterAttribute apply the matching authorization and authentication behavior.
  • AutoValidateAntiForgeryTokenModelConvention enables the default anti-forgery convention for eligible page handlers.

The package is an ASP.NET Core integration layer. Register it inside the host application's MVC/Razor pipeline and keep the host's authentication scheme and authorization policy configuration consistent with NCF.

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 (29)

Showing the top 5 NuGet packages that depend on Senparc.Ncf.AreaBase:

Package Downloads
Senparc.Xncf.DatabaseToolkit

Module description.

Senparc.Xncf.PromptRange

Your Prompt Training Range

ML.Xncf.Docs

这是一个开发者文档项目,用于阐述NCF的架构,便于开发者快速上手并掌握NCF的使用规范及开发方法

Senparc.Xncf.SystemCore

System core module (required to run the system)

Senparc.Xncf.AIKernel

Module description.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.23.12 83 11/19/2026
0.23.11 352 11/11/2026
0.23.10 327 11/5/2026
0.23.9 547 10/4/2026
0.23.8 319 9/18/2026
0.23.7 289 9/16/2026
0.23.6 408 8/29/2026
0.23.5 507 8/23/2026
0.23.4-preview8 360 8/14/2026
0.23.3-preview7 328 8/12/2026
0.23.2-preview6 317 8/8/2026
0.23.1-preview5 357 8/3/2026
0.23.0-preview4 339 7/31/2026
0.22.0-preview3 276 7/28/2026
0.21.3-preview2 259 7/26/2026
0.21.2-preview1 259 7/3/2026
0.21.1-preview1 363 6/17/2026
0.20.15.1-preview 465 5/9/2026
0.20.14-preview.1 177 2/13/2026
0.20.2-preview 226 6/16/2026
Loading failed

v0.1.0 Updated module behavior and related support.
       [2024-09-10] v0.18.4-preview1 upgrade the cache foundation libraries
       [2024-10-16] v0.18.6-preview1 Updated module behavior and related support.
       [2024-11-15] v0.19.0-preview1 Updated module behavior and related support.
       [2024-11-21] v0.20.2-preview1 Updated module behavior and related support.
       [2024-11-28] v0.20.3-preview1 update CO2NET, use new SenparcSetting with UseLowerCaseApiName property
       [2025-01-25] v0.20.7-preview1 Update Agents functions, support for function calling
       [2025-04-29] v0.20.9-preview1 Update CO2NET and AIKernel
       [2025-05-18] v0.20.10-preview1 Update Installation
       [2025-06-20] v0.20.11-preview1 Add MCP functions in XncfRegisterBase class
       [2025-11-01] update basic libraries, including Senparc.AI
       [2026-07-02] v0.21.2-preview1 Updated module behavior and related support.
       1. Updated module behavior and related support.
       2. Updated module behavior and related support.
       [2026-07-17] v0.21.3-preview2 synchronize upstream project versions and adopt shared localization capabilities
       1. Dependency update from Senparc.Ncf.Mvc.UI to 0.21.2-preview2
       2. Dependency update from Senparc.Ncf.SMS to 0.20.2-preview2
       3. Dependency update from Senparc.Ncf.Service to 0.23.2-preview2
       4. Dependency update from Senparc.Ncf.Utility to 0.21.0-preview2
       5. Dependency update from Senparc.Ncf.XncfBase to 0.23.3-preview2
       [2026-07-29] v0.22.0-preview3 Updated module behavior and related support.
       1. Updated module behavior and related support.
       2. Updated module behavior and related support.
       [2026-07-31] v0.23.0-preview4 Updated module behavior and related support.
       1. Updated module behavior and related support.
       2. Updated module behavior and related support.
       [2026-08-04] v0.23.1-preview5 Dependency updates from upstream projects
       1. Dependency update from Senparc.Ncf.Mvc.UI to 0.22.1-preview5
       2. Dependency update from Senparc.Ncf.SMS to 0.20.5-preview5
       3. Dependency update from Senparc.Ncf.Service to 0.23.5-preview5
       4. Dependency update from Senparc.Ncf.XncfBase to 0.24.0-preview5
       [2026-08-08] v0.23.2-preview6 Dependency updates from upstream projects
       1. Dependency update from Senparc.Ncf.Mvc.UI to 0.22.2-preview6
       2. Dependency update from Senparc.Ncf.Service to 0.23.6-preview6
       3. Dependency update from Senparc.Ncf.SMS to 0.20.6-preview6
       4. Dependency update from Senparc.Ncf.XncfBase to 0.24.1-preview6
       [2026-08-13] v0.23.3-preview7 Updated module behavior and related support.
       1. Updated module behavior and related support.
       2. Updated module behavior and related support.
       [2026-08-15] v0.23.4-preview8 Dependency update from Senparc.Ncf.Mvc.UI to 0.22.4-preview8; Senparc.Ncf.SMS to 0.20.8-preview8; Senparc.Ncf.Service to 0.23.8-preview8; Senparc.Ncf.XncfBase to 0.25.1-preview8
       [2026-08-22] v0.23.5-preview9 synchronize Senparc.Ncf.AreaBase dependency version
       1. Updated module behavior and related support.
       [2026-08-29] v0.23.6 Dependency updates from Senparc.Ncf.Mvc.UI to 0.22.5-preview9; Dependency update from Senparc.Ncf.SMS to 0.20.9-preview9; Dependency update from Senparc.Ncf.Service to 0.23.9-preview9; Dependency update from Senparc.Ncf.XncfBase to 0.26.1
       1. Dependency update from Senparc.Ncf.Mvc.UI to 0.22.5-preview9
       2. Dependency update from Senparc.Ncf.SMS to 0.20.9-preview9
       3. Dependency update from Senparc.Ncf.Service to 0.23.9-preview9
       4. Dependency update from Senparc.Ncf.XncfBase to 0.26.1
       [2026-09-16] v0.23.7 Dependency updates from Senparc.Xncf.AIKernel to 0.16.1; Senparc.Xncf.AgentsManager to 0.17.2; Senparc.Xncf.NeuCharWorkflow to 0.4.1; Senparc.Xncf.WeixinManager to 0.24.7; [5970]Senparc.Xncf.SystemManager to 0.15.9; Senparc.Areas.Admin to 0.9.0; Senparc.Xncf.Installer to 0.5.7; Template_OrgName.Xncf.Template_XncfName to 1.1.8
       [2026-09-17] v0.23.8 Dependency updates from Senparc.Ncf.XncfBase to 0.28.0
       1. Updated module behavior and related support.
       2. Updated module behavior and related support.
       [2026-11-03] v0.23.9 Merge remote-tracking branch 'origin/Developer-MAF-V3' into Developer-MAF-V3-Spark
       1. Updated Senparc.Ncf.AreaBase project behavior and integration for the latest feature and reliability improvements.
       2. chore: update package versions and dependencies across multiple projects
       3. Dependency update from Senparc.Ncf.Mvc.UI to 0.22.6-preview10
       4. Dependency update from Senparc.Ncf.SMS to 0.20.10-preview10
       [2026-11-05] v0.23.10 synchronize direct dependency project versions
       1. Dependency update from Senparc.Ncf.Mvc.UI to 0.22.7-preview11
       2. Dependency update from Senparc.Ncf.Service to 0.23.11-preview10
       3. Dependency update from Senparc.Ncf.SMS to 0.20.11-preview11
       4. Dependency update from Senparc.Ncf.XncfBase to 0.28.2
       [2026-11-12] v0.23.11 Dependency updates from Senparc.Ncf.Utility to 0.21.2-preview4;Senparc.Ncf.XncfBase to 0.29.0
       [2026-11-19] v0.23.12 Improved administration page and authorization support
       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.