Simple.Framework 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet new install Simple.Framework::0.1.0
This package contains a .NET Template Package you can call from the shell/command line.

SimpleFramework


文档语言: [English] | [简体中文]

🎈介绍

简化框架,封装了EFcore仓储,工作单元 框架结构分明

🎞️项目结构

/src // 项目文件夹

/src/Simple.DbMigrations // 迁移文件管理项目

/src/Simple.EntityFrameworkCore // 当前领域的仓储实现和Dbcontext

/src/Simple.Application.Contract // 契约

/src/Simple.Application // 业务层

/src/efcore // 框架的一些EfCore封装

/src/efcore/EfCoreEntityFrameworkCore // EfCore基础封装

/src/efcore/EfCoreEntityFrameworkCore.DbMigrations // 项目所有EfCore迁移文件存放

/src/efcore/EfCoreEntityFrameworkCore.Mysql // 数据库Mysql模块实现

/src/efcore/EfCoreEntityFrameworkCore.SqlServer // SqlServer数据库模块实现

/src/efcore/EfCoreEntityFrameworkCore.Sqlite // Sqlite数据库模块实现

/src/auth // 授权服务 (单独部署)

🍬基本功能

  1. 实现基本软删功能
  2. 实现创建人删除人更新人赋值
  3. 实现租户功能(未测试)
  4. 实现基本的授权服务
  5. 实现基本用户功能

🏴‍☠️构建项目

构建打包 Simple项目的Docker镜像

docker build -f ./src/Simple.HttpApi.Host/Dockerfile -t simple .

构建打包 Simple-Auth项目的Docker镜像

docker build -f ./src/auth/Simple.Auth.HttpApi.Host/Dockerfile -t auth .

🛞使用说明

首先需要修改 Simple.HttpApi.Host,Simple.DbMigrations,Simple.Auth.HttpApi.Host的项目下的appsettings.json的mysql数据库连接字符串

在Simple.DbMigrations生成迁移文件然后更新迁移文件

This package has no dependencies.

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
0.2.5 339 12/2/2022
0.2.4 399 11/12/2022
0.2.3 380 11/3/2022
0.2.2 387 11/1/2022
0.2.1 384 11/1/2022
0.2.0 356 11/1/2022
0.1.9 357 11/1/2022
0.1.8 332 11/1/2022
0.1.7 334 11/1/2022
0.1.6 335 11/1/2022
0.1.5 366 10/28/2022
0.1.4 374 10/28/2022
0.1.3 399 10/25/2022
0.1.2 375 10/24/2022
0.1.1 442 10/24/2022
0.1.0 423 10/22/2022