Senparc.Ncf.Service 0.23.7-preview7

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

Senparc.Ncf.Service

Senparc.Ncf.Service supplies the service layer that connects NCF entities, repositories, DTOs, AutoMapper, and application workflows.

Features

  • Generic ServiceBase<TEntity>, ClientServiceBase<TEntity>, and DtoServiceBase<...> foundations.
  • Entity lookup, paging, mapping, change detection, and transaction helpers.
  • Resilient transaction execution and common system services for menus, roles, permissions, and XNCF modules.
  • PagedList<TEntity>.ToDtoPagedList(...) mapping convenience.

Installation

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

Key API

  • ServiceBase<TEntity>.GetObject(...) and GetObjectAsync(...) retrieve entities with optional ordering and includes.
  • GetObjectList(...)/GetObjectListAsync(...) provide paged queries.
  • TryDetectChange(...) and IsInsert(...) coordinate EF Core entity state.
  • ResilientTransaction.New(DbContext).ExecuteAsync(...) executes an operation with the configured transaction strategy.
  • ServiceExtension.ToDtoPagedList(...) maps a paged entity list through a service's Mapping<TDto>(...) method.

Register AutoMapper, repositories, and the relevant database context before resolving services. Service methods do not replace authorization or tenant-boundary checks.

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

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

Package Downloads
Senparc.Ncf.XncfBase

Senparc.Ncf.XncfBase

Senparc.Ncf.AreaBase

Senparc.Ncf.AreaBase

Senparc.Xncf.WeixinManager

NCF module: publishmanagement NCF . managementfeature, extend! SDK Senparc.Weixin SDK .

Senparc.Xncf.SenMapic

SenMapic Crawler Module

Senparc.Ncf.UnitTestExtension

Senparc.Ncf.UnitTestExtension unit testsextend

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.23.13-preview12 84 11/19/2026
0.23.12-preview11 377 11/11/2026
0.23.11-preview10 342 11/5/2026
0.23.10-preview9 553 10/4/2026
0.23.9-preview9 876 8/29/2026
0.23.8-preview8 811 8/14/2026
0.23.7-preview7 357 8/12/2026
0.23.6-preview6 350 8/8/2026
0.23.5-preview5 360 8/3/2026
0.23.4-preview4 356 7/31/2026
0.23.3-preview3 312 7/28/2026
0.23.2-preview2 302 7/26/2026
0.23.1-preview1 472 6/17/2026
0.22.13.1-preview 510 5/9/2026
0.22.12-preview.1 192 2/13/2026
0.22.11.4-preview 294 12/28/2025
0.22.11.2-preview 328 12/28/2025
0.22.11-preview.1 260 11/1/2025
0.22.9.7-preview1 518 8/20/2025
0.22.2-preview 280 6/16/2026
Loading failed

v0.1.0 创世
v0.11.7 优化 DeleteAllAsync() 方法,提供 deleteItemAction 参数
v0.14.0 解决模块安装后直接授权菜单问题
[2024-08-13] v0.20.0-preview1 优化 ServiceBase,提供 Mapping<T>(entity) 快捷方法;为 DynamicData 添加根据 Entity 类型自动创建表结构的功能
[2024-09-10] v0.20.3-preview1 升级缓存基础库
[2024-10-16] v0.21.0-preview1 为 ServiceBase 提供依赖注入快捷方法
[2025-01-12] v0.22.4-preview1 为 ServiceBase 提供 ToDto 扩展方法
[2025-01-25] v0.22.6-preview1 Update Agents functions, support for function calling
[2025-04-29] v0.22.8-preview1 Update CO2NET and AIKernel
[2025-05-18] v0.22.9-preview1 Update Installation
[2025-11-01] update basic libraries, including Senparc.AI
[2026-07-17] v0.23.2-preview2 同步上游项目版本并适配统一本地化能力
1、Dependency update from Senparc.Ncf.Core to 0.25.0-preview2
2、Dependency update from Senparc.Ncf.Repository to 0.20.2-preview2
3、Dependency update from Senparc.Ncf.SMS to 0.20.2-preview2
4、Dependency update from Senparc.Ncf.Utility to 0.21.0-preview2
[2026-07-29] v0.23.3-preview3 Dependency update from Senparc.Ncf.Core to 0.26.0-preview3
[2026-07-31] v0.23.4-preview4 Dependency update from Senparc.Ncf.Core to 0.27.0-preview4
[2026-08-04] v0.23.5-preview5 Dependency updates from upstream projects
1、Dependency update from Senparc.Ncf.Core to 0.28.0-preview5
2、Dependency update from Senparc.Ncf.Repository to 0.20.5-preview5
3、Dependency update from Senparc.Ncf.SMS to 0.20.5-preview5
[2026-08-08] v0.23.6-preview6 Dependency updates from upstream projects
1、Dependency update from Senparc.Ncf.Core to 0.28.1-preview6
2、Dependency update from Senparc.Ncf.Repository to 0.20.6-preview6
3、Dependency update from Senparc.Ncf.SMS to 0.20.6-preview6
[2026-08-13] v0.23.7-preview7 Dependency update from Senparc.Ncf.Core to 0.28.2-preview7; Senparc.Ncf.Repository to 0.20.7-preview7; Senparc.Ncf.SMS to 0.20.7-preview7