Blog.Core is an enterprise-class back-to-back separation framework for.NET Core5.0 API + Vue 2.x + RBAC. Website: http://apk.neters.club/.doc/ Has been used by several companies: [click to view list] (anjoy8#75)
Project single deployment, concurrent at 400~500, all normal (do not guarantee their own various error writing). The effect is even better if the load is matched.
Framework module:
- adopts the form of 'repository + service + interface' to encapsulate the framework;
- async/await development;
- access to domestic database ORM component - SQLSUGAR, encapsulate database operation;
- support free switching multiple database, MySql/used/Sqlite/Oracle/Postgresql/reach/NPC Jin Cang dreams;
- realize project startup, automatically generate seed data ✨;
- five types of logging, audit/exception/request response/service operation/SQL logging, etc.
- Support for project transaction processing (use CAP if you want to distribute) ✨;
- Design 4 types of AOP facets programming, including: logging, caching, auditing, transaction ✨;
- Support T4 code template, automatically generate code for each layer;
- or use DbFirst one key to create their own project four layer files (support multiple libraries);
- encapsulation
Blog. Core. Webapi. Template
project Template, a key ✨ rebuild their projects; - with multiple front-end cases for reference and reference: blog.vue, blog.admin, nuxt.tbug, blog.mvp. Blazor ✨;
- Uniform Integrated IdentityServer4 Authentication ✨;
Component module:
- provides Redis for caching;
- API file with Swagger;
- Use Miniprofiler for interface performance analysis ✨;
- uses Automapper to handle object mapping;
- uses Autofac as a dependency injection container and provides batch service injection ✨;
- supports CORS cross-domain;
- encapsulates JWT custom policy authorization;
- uses the Log4Net logging framework and integrates the native iLogger interface for logging;
- using Signalr duplex communication ✨;
- Added iprateLimiting for API current limiting;
- Use Quartz.net for task scheduling (currently single machine multi-task, cluster scheduling is not currently supported);
- Support for database 'read/write separation' and multi-library operations ✨;
- Added Redis Message Queuing ✨;
- new RabbitMQ message queue ✨;
- New EventBus ✨;
- Debugging - Unified Aggregate Payment;
- Plan - Data department authority;
- plan -es search;
Micro service module:
- can cooperate with Docker to achieve containerization;
- can cooperate with Jenkins to achieve CI/CD;
- enables service discovery with Consul;
- can cooperate with Ocelot to achieve gateway processing;
- can cooperate with NGINX to achieve load balancing;
- can cooperate with IDS4 certification center;
If you like this project or it helps you, please send it to STAR ~ If your project from the project, please explain a little bit down [anjoy8#75] (anjoy8#75), Open source is not easy ✨.
Still in the process of sorting out, but the basic operations, including how to get started, configure data, connect to DB, and so on
[the official documentation] (http://apk.neters.club/.doc/) Official account important articles + video address
Jianshu: https://www.jianshu.com/notebooks/28621653
Blog Park: https://www.cnblogs.com/laozhang-is-phi/
csdn:https://blog.csdn.net/baidu_35726140 Code Cloud: Https://gitee.com/laozhangIsPhi/Blog.Core
-
- Framework bis | | Back-end Project construction
- Use of Swagger 3.1
- Use of Swagger 3.2
- Swagger use 3.3 JWT permission to verify "modify"
- [. Netcore occasional] 36║ resolve JWT permission validation expiration issues
- API Project Overall build 6.1 warehousing mode
- 6.2 Lightweight ORM built as a whole for API projects
- API Project Overall build 6.3 asynchronous generic warehousing + Dependency Injection
- Discussion on Dependency Injection IOC learning + AOP Tangent programming
- AOP oriented tangent programming shallow parsing: Simple logging + service facet caching
- AOP custom filtering, Redis Getting Started 11.1
- Comparison of three cross-domain modes, DTOs (data transmission object)
- DTOs Object mapping usage, project deployment Windows+linux full version
- 32 ║ Four methods to quickly realize the semi-automatic construction of the project
- 33 ║⅖ ways to achieve perfect cross-domain
- 34 ║swagger Processing Multi-version control, the thoughts brought about
- 35 ║ Perfect Global exception logging
- 37║JWT Perfect implementation of the dynamic allocation of permissions and interfaces
- 38║ automatically initializes the database
- 39 | | Want to create your own dotnet template? Look here
- Framework bis | | Back-end Project construction
-
- 14 ║vue Plan, a brief history of my front and back development
- Xv. ║vue Basics: JS Object-oriented, the literal amount of the
- 16 ║vue Basics: ES6 Initial experience of the
- 17 ║vue Basics: Using Vue.js to draw blog Home + instructions (i)
- 18 ║vue Basics: directive (bottom) + Calculated properties +watch
- 19 ║vue Basics: Style dynamic binding + lifecycle
- 20 ║vue Base Audrey: Component Detail + Project description
- 👆 above these basics can not look at if you just want to quickly get started with Vue
- 21 ║vue Actual Combat: development environment to build a "detailed version"
- 22 ║vue Actual Combat: The first edition of the personal blog (axios+router)
- 23 ║vue Actual Combat: Vuex is actually very simple
- 24 ║vuex + JWT Implementation Authorization Authentication Login
- 25 ║ Preliminary study on SSR server rendering (personal blog II)
- 26 ║client rendering, server rendering know how much {supplemental}
- 27 ║nuxt Foundation: A preliminary study of the framework
- 28 ║nuxt Basics: Source-oriented research nuxt.js
- 29 ║nuxt Actual Combat: Asynchronous implementation of data dual-end rendering
- 30 ║NUXT actual Combat: Dynamic routing + isomorphism
- 31 ║NUXT Audrey: A probe into permission validation based on Vuex
System environment
Windows 10, SQL Server 2012, Visual Studio 2017, Windows Server R2
Back-end Technology:
*. NET core 2.0 API (because you want to simply build front and rear separation, so choose the API,
if you want to understand. Net Core MVC, you can also communicate)
-
Swagger front and rear end document description, writing interface based on restful style
-
Repository + Service Warehousing mode programming
-
Async and await asynchronous programming
-
Cors Simple cross-domain solution
-
AOP based on tangent programming technology
-
AUTOFAC lightweight IOC and di dependency injection
-
Vue Local Agent cross-domain scenario, Nginx cross-domain proxy
-
JWT Permission Authentication
Database technology
-
Sqlsugar Lightweight ORM Framework, Codefirst
-
T4 Template generation
-
AutoMapper Automatic Object mapping
Distributed caching technology
- Redis Lightweight Distributed cache
Front End Technology
-
Vue 2.0 Framework Family Barrel Vue2 + VueRouter2 + Webpack + Axios + vue-cli + Vuex
-
Elementui component library based on Vue 2.0
-
Nuxt.js Server Render SSR