{"repo":"VictorTzeng/Zxw.Framework.NetCore","free":true,"listed":false,"github":"https://github.com/VictorTzeng/Zxw.Framework.NetCore","clone":"git clone https://github.com/VictorTzeng/Zxw.Framework.NetCore.git","description":"基于EF Core的Code First模式的DotNetCore快速开发框架，其中包括DBContext、IOC组件autofac和AspectCore.Injector、代码生成器（也支持DB First）、基于AspectCore的memcache和Redis缓存组件，以及基于ICanPay的支付库和一些日常用的方法和扩展，比如批量插入、更新、删除以及触发器支持，当然还有demo。欢迎提交各种建议、意见和pr~","language":"C#","stars":754,"topics":["dotnetcore","efcore","codefirst","autofac","sqlite","sqlserver","mysql","postgresql","mongodb","aspectcore"],"license":"MIT","category":"databases-storage","readme_excerpt":"Zxw.Framework.NetCore 基于 EF Core 的 Code First 模式 .NET 快速开发框架 NuGet [最新版本：7.0.0] Zxw.Framework.NetCore Install-Package Zxw.Framework.NetCore -Version 7.0.0 dotnet add package Zxw.Framework.NetCore --version 7.0.0 Zxw.Framework.AI（可选） Install-Package Zxw.Framework.AI -Version 7.0.0 dotnet add package Zxw.Framework.AI --version 7.0.0 内置 LLM 网关选项：OrcaRouter（OpenAI 兼容，默认 orcarouter/auto ） 开发环境 Visual Studio 2022 / VS Code / Cursor .NET SDK 8 / 9 / 10 目标框架 net8.0 / net9.0 / net10.0 （已移除 net6 / net7） 支持的数据库 SQL Server MySQL（net8/net9：Pomelo；net10：MySql.EntityFrameworkCore，待 Pomelo 正式支持 EF10 后切回） Sqlite InMemory PostgreSQL Oracle MongoDB（已移除） 日志组件 log4net（建议业务侧优先使用 ILogger ） DI 组件 Microsoft.Extensions.DependencyInjection（默认） Autofac（可选） AspectCore（可选 AOP） AOP 缓存组件使用 本项目可采用 AOP 中间件：AspectCore.Extensions.Cache 示例 Zxw.Framework.NetCore.Demo .net framework版本地址 Zxw.Framework.Nfx 项目说明 请参考我的博客：http://www.cnblogs.com/zengxw/p/7673952.html 更新日志 2026/08/19 — 7.0.0（破坏性升级） Breaking 1. 目标框架改为 net8.0 / net9.0 / net10.0 ，移除对 net6.0 / net7.0 的支持 2. IRepository / IService / IWebContext 生命周期改为 Scoped （不再使用 Transient / Singleton 承载请求态依赖） 3. ASP.NET Core 改为 FrameworkReference ，移除 Microsoft.AspNetCore. 2.2 兼容包 4. 淘汰 Jil ， JsonConvertor 统一为 System.Text.Json （原 Jil.Options 参数改为 JsonSerializerOptions ；已移除 DeserializeDynamic ） 数据访问 / 工作单元 5. 新增 IUnitOfWork / EfUnitOfWork ； DbContextOption.AutoSaveChanges （默认 true 兼容旧行为，设为 false 后需显式提交以支持跨仓储事务） 6. 仓储构造函数不再调用 EnsureCreated() ；生产环境请使用迁移 7. 仓储 Dispose 不再释放共享 DbC","default_branch":null,"files":null,"tree":[],"storefront":"/r/VictorTzeng","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/VictorTzeng/Zxw.Framework.NetCore/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}