All Projects → T-Manson → Dragon

T-Manson / Dragon

Licence: MIT license
基于 .Net Core 的后端基础框架

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to Dragon

Netpro
🌈An enhanced version of asp.netcore,Support for netcore3.1
Stars: ✭ 112 (+558.82%)
Mutual labels:  dapper, automapper
ITL
Sample Web API implementation with .NET Core and DDD using Clean Architecture.
Stars: ✭ 29 (+70.59%)
Mutual labels:  backend, automapper
Frapper
ASP.NET Core 3.1 Beginners project template with complete Custom User Management and lot's of other useful Features Which Helps you for Rapid Application Development.
Stars: ✭ 129 (+658.82%)
Mutual labels:  backend, dapper
online-training
Online Training website using ASP.Net Core 2.0 & Angular 4
Stars: ✭ 26 (+52.94%)
Mutual labels:  automapper, netcore2
Aaframework
AA.Framework is built on the popular open source class library of NET Core
Stars: ✭ 128 (+652.94%)
Mutual labels:  dapper, automapper
1974
Curso 1974 - Criando APIs com ASP.NET Core 2.0 e Dapper
Stars: ✭ 44 (+158.82%)
Mutual labels:  backend, dapper
Goldeneye
The CQRS flavoured framework that will speed up your WebAPI and Microservices development
Stars: ✭ 171 (+905.88%)
Mutual labels:  backend, dapper
Banana
🍌 The collection of CRUD helpers for Dapper.
Stars: ✭ 61 (+258.82%)
Mutual labels:  dapper
Dapper.AmbientContext
Ambient context implementation for Dapper.NET
Stars: ✭ 31 (+82.35%)
Mutual labels:  dapper
MultiplatformPlayground
Kotlin Multiplatform project in Jetpack Compose & SwiftUI with shared ViewModel layer and File upload
Stars: ✭ 72 (+323.53%)
Mutual labels:  backend
exocore
A distributed private application framework
Stars: ✭ 50 (+194.12%)
Mutual labels:  backend
flepper
Flepper is a library to aid in database interaction. 🐸
Stars: ✭ 60 (+252.94%)
Mutual labels:  dapper
gae-vue-webapp2-starter
A simple GAE Vue Webapp2 starter project.
Stars: ✭ 17 (+0%)
Mutual labels:  backend
dapper-tutorial-cn
Dapper 教程中文翻译版
Stars: ✭ 25 (+47.06%)
Mutual labels:  dapper
Pharmacy-Mangment-System
👨‍💻 🏥 MEAN stack Pharmacy Management system.
Stars: ✭ 229 (+1247.06%)
Mutual labels:  backend
typeless
running wild with shapeless
Stars: ✭ 16 (-5.88%)
Mutual labels:  backend
Machete
Cut through the Crap, with Machete, a text parser, object mapper, and query engine.
Stars: ✭ 39 (+129.41%)
Mutual labels:  dotnet-core2
realestate
A simple real estate app build with MEAN( Angular, Node and mongoDb ) and MERN( React, Node and mongoDb )
Stars: ✭ 33 (+94.12%)
Mutual labels:  backend
APICorePayLots
Web API designed in Asp.NET Core 3.1, using Dapper and Entity Framework Core, Repository Pattern, Identity
Stars: ✭ 13 (-23.53%)
Mutual labels:  dapper
foss-events
A simple website with a collection of open-source events happening across the globe. This is a beginner-friendly repository that helps you learn git and contribute to web projects. Happy Hacktober!
Stars: ✭ 123 (+623.53%)
Mutual labels:  backend

Dragon

基于 .Net Core 的后端基础框架

项目介绍

基于 .Net Core 的一套后端通用基础框架,用于快速搭建WebApi项目。集成Redis、Dapper、RabbitMQ、AutoMapper、Newtonsoft.Json。加入了常用工具类避免造轮子的工作。

技术选型

技术 简介 官网
.Net Core 开源跨平台的技术框架 https://dotnet.microsoft.com
StackExchange.Redis Redis中间件 https://github.com/StackExchange/StackExchange.Redis
Dapper ORM框架 https://github.com/StackExchange/Dapper
RabbitMQ.Client RabbitMQ中间件 https://github.com/rabbitmq/rabbitmq-dotnet-client
AutoMapper 对象映射中间件 https://github.com/AutoMapper/AutoMapper
Newtonsoft.Json Json中间件 https://github.com/JamesNK/Newtonsoft.Json

功能说明

中文转拼音功能

Inspired by PinYinConverter.
Microsoft.International.Converters.PinYinConverter in Microsoft Visual Studio International Pack 1.0 SR1.

MemoryCache

注入接口类型:

ICacheManager

特别说明

默认实现消息通知起到local缓存更新后分布式应用间的数据同步功能。未启用MessageBus功能时,该功能不会启用。

当MessageBus使用RabbitMQ时,需要配置一个名为cache.sync的channel

Redis

注入接口类型:

ICacheManager

HybridCache

注入接口类型:

ICacheManager

IMemoryCacheManager

IRedisCacheManager

RabbitMQ

注入接口类型:

IMessageBus

RedisBus

注入接口类型:

IMessageBus

配置

完整示例

应用名称

"AppName": ""

数据库

"Data": {
    // 默认使用的连接配置键名
    "DefaultConnectionName": "default",
    	// 连接串集合
	"ConnectionStrings": {
        // 默认(读串)
	"default": {
        	// 连接串
		"ConnectionString": "server=127.0.0.1;Database=mytest;UID=root;PWD=root;SslMode=None;",
            	// 数据库类型(默认MySql)
		"DatabaseProviderType": "MySql|SqlServer"
	}
        //,
        // 写串
        //"write": {
        //    "ConnectionString": "server=;Database=;UID=;PWD=;Charset=utf8;SslMode=None;",
        //    "DatabaseProviderType": "SqlServer"
        //}
	},
    // Dapper 配置
    "Dapper": {
        // 数据库映射策略(默认Underline)
	"DbIdentifierMappingStrategy": "Underline|PascalCase",
        // 大小写规则(默认LowerCase)
	"CapitalizationRule": "LowerCase|UpperCase|Original"
    }
}

缓存

"Cache": {
    	// Redis配置
	"Redis": {
        // IP,必须
        "Host": "127.0.0.1",
        // 端口,必须
        "Port": 6379,
        // 密码,必须
        "Password": "123456",
        // Key的区域区分系统,必须
        "Region": "应用名或其他能够隔离缓存的值",
        // DB下标,不配置则默认0
	"Db": 0
	}
}

消息

RedisBus

与Cache节点下Redis共用配置。缓存配置

RabbitMQ

"RabbitMQ": {
    	// RabbitMQ默认配置
	"Default": {
        // Uri,必须
        "Uri": "127.0.0.1",
        // 用户名,必须
        "Username": "username",
        // 密码,必须
        "Password": "123456",
        // Exchange,必须
        "Exchange": "test"
	}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].