Zxw.Framework.NetCore
2.0.0-beta
.NET Core 2.1
This package targets .NET Core 2.1. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
This is a prerelease version of Zxw.Framework.NetCore.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Zxw.Framework.NetCore --version 2.0.0-beta
NuGet\Install-Package Zxw.Framework.NetCore -Version 2.0.0-beta
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="Zxw.Framework.NetCore" Version="2.0.0-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Zxw.Framework.NetCore --version 2.0.0-beta
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Zxw.Framework.NetCore, 2.0.0-beta"
#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.
// Install Zxw.Framework.NetCore as a Cake Addin #addin nuget:?package=Zxw.Framework.NetCore&version=2.0.0-beta&prerelease // Install Zxw.Framework.NetCore as a Cake Tool #tool nuget:?package=Zxw.Framework.NetCore&version=2.0.0-beta&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
* 最新功能请参考dev分支
* Demo地址:Zxw.Framework.NetCore.Demo
Zxw.Framework.NetCore
基于EF Core的Code First模式的DotNetCore快速开发框架
开发环境
- VS2017 / VS Code
- .net core 2.1
支持的数据库
- SQL Server
- MySQL
- Sqlite
- InMemory
- PostgreSQL
日志组件
- log4net
DI组件
- Autofac
缓存组件使用
本项目采用的AOP中间件 :AspectCore-Framework
- MemoryCacheAttribute :基于MemoryCache的缓存拦截组件
- RedisCacheAttribute :基于Redis的缓存拦截组件
如何使用:
public interface ITutorClassTypeRepository:IRepository<TutorClassType, Int32>
{
[MemoryCache]//使用MemoryCache,缓存有效时间默认10分钟
IList<TutorClassType> GetByMemoryCached(Expression<Func<TutorClassType, bool>> where = null);
[RedisCache(Expiration = 5)]//使用Redis,缓存有效时间为5分钟
IList<TutorClassType> GetByRedisCached(Expression<Func<TutorClassType, bool>> where = null);
}
.net framework版本地址
项目说明
2018/07/06 合并dev分支到master
- 1.添加EFCore直接返回DataTable功能
- 2.DBFirst功能,目前仅支持SQL Server、MySQL、NpgSQL三种数据库。根据已存在的数据表直接生成实体代码,详见CodeGenerator
- 3.添加单元测试项目,并完成对以上两点新功能的测试
- 4.引入IOC容器Aspectcore.Injector,详见AspectCoreContainer.cs
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.1
- AspectCore.Extensions.Autofac (>= 0.7.0)
- AspectCore.Extensions.DependencyInjection (>= 0.7.0)
- Autofac.Extensions.DependencyInjection (>= 4.2.2)
- DotNetCore.NPOI (>= 1.0.2)
- EntityFrameworkCore.Triggers (>= 1.1.1)
- Jil (>= 2.16.0)
- log4net (>= 2.0.8)
- Microsoft.AspNetCore.Mvc (>= 2.1.1)
- Microsoft.EntityFrameworkCore (>= 2.1.1)
- Microsoft.EntityFrameworkCore.InMemory (>= 2.1.1)
- Microsoft.EntityFrameworkCore.Relational (>= 2.1.1)
- Microsoft.EntityFrameworkCore.Sqlite (>= 2.1.1)
- Microsoft.EntityFrameworkCore.SqlServer (>= 2.1.1)
- Microsoft.VisualStudio.Web.CodeGeneration.Tools (>= 2.0.4)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 2.1.1)
- Pomelo.EntityFrameworkCore.MySql (>= 2.1.0-rc2-final)
- StackExchange.Redis.Extensions.JilCore (>= 1.0.1)
- System.Reflection (>= 4.3.0)
- System.Runtime.Loader (>= 4.3.0)
- Z.EntityFramework.Plus.EFCore (>= 1.8.4)
-
.NETStandard 2.0
- AspectCore.Extensions.Autofac (>= 0.7.0)
- AspectCore.Extensions.DependencyInjection (>= 0.7.0)
- Autofac.Extensions.DependencyInjection (>= 4.2.2)
- DotNetCore.NPOI (>= 1.0.2)
- EntityFrameworkCore.Triggers (>= 1.1.1)
- Jil (>= 2.16.0)
- log4net (>= 2.0.8)
- Microsoft.AspNetCore.Mvc (>= 2.1.1)
- Microsoft.EntityFrameworkCore (>= 2.1.1)
- Microsoft.EntityFrameworkCore.InMemory (>= 2.1.1)
- Microsoft.EntityFrameworkCore.Relational (>= 2.1.1)
- Microsoft.EntityFrameworkCore.Sqlite (>= 2.1.1)
- Microsoft.EntityFrameworkCore.SqlServer (>= 2.1.1)
- Microsoft.VisualStudio.Web.CodeGeneration.Tools (>= 2.0.4)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 2.1.1)
- Pomelo.EntityFrameworkCore.MySql (>= 2.1.0-rc2-final)
- StackExchange.Redis.Extensions.JilCore (>= 1.0.1)
- System.Reflection (>= 4.3.0)
- System.Runtime.Loader (>= 4.3.0)
- Z.EntityFramework.Plus.EFCore (>= 1.8.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.1.0 | 910 | 11/20/2022 |
6.0.0 | 1,227 | 1/5/2022 |
5.0.0 | 2,136 | 11/12/2020 |
3.1.4.8 | 2,260 | 10/10/2020 |
3.1.4.7 | 2,142 | 8/7/2020 |
3.1.4.6 | 2,237 | 6/24/2020 |
3.1.4.5 | 2,179 | 6/18/2020 |
3.1.4.4 | 2,121 | 6/13/2020 |
3.1.4.1 | 1,966 | 5/17/2020 |
3.1.4 | 2,141 | 5/16/2020 |
3.1.3.6 | 2,190 | 3/30/2020 |
3.1.3.5 | 2,323 | 2/27/2020 |
3.1.3.3 | 2,504 | 1/17/2020 |
3.1.3.2 | 2,246 | 1/14/2020 |
3.1.3.1 | 2,078 | 1/6/2020 |
3.1.3 | 2,281 | 12/17/2019 |
3.1.2 | 2,437 | 12/17/2019 |
3.1.1 | 2,199 | 12/7/2019 |
3.1.0 | 2,134 | 12/6/2019 |
3.0.0 | 2,151 | 9/28/2019 |
2.2.3.3 | 2,288 | 9/22/2019 |
2.2.3.2 | 2,100 | 9/16/2019 |
2.2.3.1 | 2,160 | 9/15/2019 |
2.2.3 | 2,242 | 9/1/2019 |
2.2.2.5 | 2,229 | 8/29/2019 |
2.2.2.4 | 2,124 | 8/29/2019 |
2.2.2.3 | 2,328 | 8/28/2019 |
2.2.2.2 | 2,155 | 8/11/2019 |
2.2.2.1 | 2,165 | 7/16/2019 |
2.2.2 | 2,560 | 7/10/2019 |
2.2.0 | 2,253 | 7/8/2019 |
2.1.4.62502-rtm-1 | 1,431 | 6/25/2019 |
2.1.4.62501-rtm-1 | 1,514 | 6/25/2019 |
2.1.4.62401-rtm-1 | 1,079 | 6/24/2019 |
2.1.4.62101-rtm-1 | 1,136 | 6/21/2019 |
2.1.4.61405-rtm-1 | 1,162 | 6/14/2019 |
2.1.4.61305-rtm-1 | 1,216 | 6/13/2019 |
2.1.4.61201-rtm-1 | 1,279 | 6/12/2019 |
2.1.4.61101-rtm-1 | 1,126 | 6/11/2019 |
2.1.4.61002-rtm-1 | 1,518 | 6/10/2019 |
2.1.4.61001-rtm-1 | 1,264 | 6/10/2019 |
2.1.4.60501-rtm-1 | 1,202 | 6/5/2019 |
2.1.4.60402-preview2-t007bc... | 1,296 | 6/4/2019 |
2.1.4.60401-preview2-t007bc... | 1,321 | 6/4/2019 |
2.1.4.60301-preview2-t007bc... | 1,516 | 6/3/2019 |
2.1.4.53001-preview2-t007bc... | 1,268 | 5/30/2019 |
2.1.4.52202-preview2-t007bc... | 1,328 | 5/22/2019 |
2.1.4.52201-preview2-t007bc... | 1,522 | 5/22/2019 |
2.1.4.52101-preview2-t007bc... | 1,286 | 5/21/2019 |
2.1.4.52001-preview2-t007bc... | 1,251 | 5/20/2019 |
2.1.4.43002-preview2-t007bc... | 1,479 | 4/30/2019 |
2.1.4.7081-rtm-1 | 1,185 | 7/8/2019 |
2.1.4.429-preview2-t007bc0fad | 1,348 | 4/29/2019 |
2.1.3-preview2-t007bc0fad | 1,145 | 4/18/2019 |
2.1.1-preview2-t007bc0fad | 1,131 | 4/14/2019 |
2.1.0-preview2-t007bc0fad | 1,808 | 2/18/2019 |
2.0.1 | 2,896 | 8/27/2018 |
2.0.0 | 3,240 | 8/16/2018 |
2.0.0-beta2 | 1,676 | 7/7/2018 |
2.0.0-beta | 1,675 | 7/6/2018 |
1.0.7 | 2,482 | 6/11/2018 |
1.0.6 | 2,523 | 5/8/2018 |
1.0.5 | 2,480 | 5/2/2018 |
1.0.4 | 2,649 | 5/1/2018 |
1.0.3 | 2,615 | 4/29/2018 |
1.0.1 | 2,393 | 10/9/2017 |
1.0.0 | 2,121 | 10/8/2017 |