Blog.Core

💖 ASP.NET Core 8.0 全家桶教程,前后端分离后端接口,vue教程姊妹篇,官方文档:

5107
1401
C#

ENGLISH | 中文版

sdk Build status Build Status codecov License MIT star this repo fork this repo Cnblogs

 
 

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] (https://github.com/anjoy8/Blog.Core/issues/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.

 

Features and Progress

Framework module:

  • [x] adopts the form of ‘repository + service + interface’ to encapsulate the framework;
  • [X] async/await development;
  • [x] access to domestic database ORM component - SQLSUGAR, encapsulate database operation;
  • [x] support free switching multiple database, MySql/used/Sqlite/Oracle/Postgresql/reach/NPC Jin Cang dreams;
  • [x] realize project startup, automatically generate seed data ✨;
  • [X] five types of logging, audit/exception/request response/service operation/SQL logging, etc.
  • [x] Support for project transaction processing (use CAP if you want to distribute) ✨;
  • [x] Design 4 types of AOP facets programming, including: logging, caching, auditing, transaction ✨;
  • [x] Support T4 code template, automatically generate code for each layer;
  • [x] or use DbFirst one key to create their own project four layer files (support multiple libraries);
  • [x] encapsulation Blog. Core. Webapi. Template project Template, a key ✨ rebuild their projects;
  • [x] with multiple front-end cases for reference and reference: blog.vue, blog.admin, nuxt.tbug, blog.mvp. Blazor ✨;
  • [x] Uniform Integrated IdentityServer4 Authentication ✨;

Component module:

  • [x] provides Redis for caching;
  • [x] API file with Swagger;
  • [x] Use Miniprofiler for interface performance analysis ✨;
  • [x] uses Automapper to handle object mapping;
  • [x] uses Autofac as a dependency injection container and provides batch service injection ✨;
  • [x] supports CORS cross-domain;
  • [x] encapsulates JWT custom policy authorization;
  • [x] uses the Log4Net logging framework and integrates the native iLogger interface for logging;
  • [x] using Signalr duplex communication ✨;
  • [x] Added iprateLimiting for API current limiting;
  • [X] Use Quartz.net for task scheduling (currently single machine multi-task, cluster scheduling is not currently supported);
  • [x] Support for database ‘read/write separation’ and multi-library operations ✨;
  • [x] Added Redis Message Queuing ✨;
  • [x] new RabbitMQ message queue ✨;
  • [x] New EventBus ✨;
  • [x] Debugging - Unified Aggregate Payment;
  • [ ] Plan - Data department authority;
  • [ ] plan -es search;

Micro service module:

  • [x] can cooperate with Docker to achieve containerization;
  • [x] can cooperate with Jenkins to achieve CI/CD;
  • [x] enables service discovery with Consul;
  • [x] can cooperate with Ocelot to achieve gateway processing;
  • [x] can cooperate with NGINX to achieve load balancing;
  • [x] can cooperate with IDS4 certification center;

 

Give a star! ⭐ ️

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 [https://github.com/anjoy8/Blog.Core/issues/75] (https://github.com/anjoy8/Blog.Core/issues/75), Open source is not easy ✨.

 

Official document 📕

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

 


three platforms synchronized live

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

Directory

Lao Zhang. The Netcore and Vue Framework Learning catalogue is as follows


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