Build your own front and rear end separation from scratch ". NET Core2.1 Api + Vue 2.0" framework, currently version 2.2, each version see branch. It's just. Netcore back-end section, Front end section, see my other engineering vue
Https://github.com/anjoy8/Blog.Vue
If you like this project or it helps you, please give star~ (hard Star)
-
Blog.Core.FrameWork project is a simple implementation of generating files using T4 templates. If there is an error, you can contact me, QQ Group: 867095512 If you don't want to deal with this error, you can uninstall the project first without affecting the overall operation.
-
when the project is executed after downloading, the Redis server needs to be installed, installation and use of the description address: https://www.cnblogs.com/laozhang-is-phi/p/9554210.html#autoid-5-0-0
-
the system new automated Generation database, and the ability to generate seed data, In the Progrm.cs in the Blog.core layer, cancel the Dbseed.seedasync (mycontext). Wait (); The comment can be.
-
If you do not want to use Codefirst and seed data, you can use the database table structure SQL file to execute in the database,
In the Wwwroot folder under the Blog.core project.
1, in the Blog.Core.Repository layer under the Sugar folder under the BaseDBConfig.cs, configure their own strings
public static string connectionstring = File.exists (@ "D:my-filedbCountPsw1.txt")?
File.readalltext (@ "D:my-filedbCountPsw1.txt"). Trim (): "server=.;
Uid=sa;pwd=sa;database=blogdb ";
2, in the Blog.Core.FrameWork layer of the dbhelper.ttinclude, configure their own strings
public static readonly String connectionstring = File.exists (@ "D:my-filedbCountPsw2.txt")?
File.readalltext (@ "D:my-filedbCountPsw2.txt"). Trim (): "server=.;
Uid=sa;pwd=sa;database=blogdb ";
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