当前位置:网站首页>be based on. NETCORE development blog project starblog - (2) environment preparation and creation project
be based on. NETCORE development blog project starblog - (2) environment preparation and creation project
2022-04-23 03:08:00 【Dotnet cross platform】
Series articles
be based on .NetCore Developing blog projects StarBlog - (2) Environment preparation and project creation
...
be based on .NetCore Developing blog projects StarBlog - Interface return value wrapper
be based on .NetCore Developing blog projects StarBlog - Upload image function
be based on .NetCore Developing blog projects StarBlog - Authentication function
be based on .NetCore Developing blog projects StarBlog - Front-end correlation
be based on .NetCore Developing blog projects StarBlog - The front-end development (1) Preparation
be based on .NetCore Developing blog projects StarBlog - The front-end development (2) Page routing
be based on .NetCore Developing blog projects StarBlog - The front-end development (3) SASS And SCSS
be based on .NetCore Developing blog projects StarBlog - The front-end development (4) FontAwesome Icon
be based on .NetCore Developing blog projects StarBlog - The front-end development (5) Axios Network request encapsulation
be based on .NetCore Developing blog projects StarBlog - The front-end development (6) The login page
be based on .NetCore Developing blog projects StarBlog - The front-end development (7) The main page
be based on .NetCore Developing blog projects StarBlog - The front-end development (8) Vuex And state management
be based on .NetCore Developing blog projects StarBlog - File upload of front-end development
be based on .NetCore Developing blog projects StarBlog - Waterfall flow picture list of front-end development
be based on .NetCore Developing blog projects StarBlog - Navigation guard of front-end development
...
Preface
Previous post ( be based on .NetCore Developing blog projects StarBlog - (1) Why do you need to write your own blog ?) After the publication of the blog Garden and the official account, many big guys' attention was received. , Published in the GitHub Dozens of codes have also been harvested star, This encouraged me , More motivation to improve the project , I've written this series of blog posts ~
In fact, the blog of this series has been completed 60% The article , However, most of them focus on front-end development ( The management end ) above , About the background development part, because I wrote the code too fast in the early stage , No record , So now I want to write the background development part first , Send it out again .
The default readers of this series of blogs have basic knowledge Asp.Net Core frame (MVC and WebApi There are involved ) Using knowledge , About Asp.Net Core The introduction of the framework can refer to my previous blog :
The official account. 「AspNetCore Learning notes 」、「AspNetCore Development Notes 」 series .
This paper introduces the development StarBlog The environment preparation before the blog has completed the project creation process , Although there is no technical content, it belongs to an article that has to be written , Readers can go through it and skip it ~
Environmental preparation
The backend of this project is based on .Net6 edition , If not installed, you can download it from Microsoft's official website , Address :https://dotnet.microsoft.com/zh-cn/download
then IDE I'm used to it Jetbrains Family Rider, Of course, most of them .Net Developers use VS Of ( But I suggest you have a try when you are free Rider, It really works ~), Both of them are developed with high efficiency . The next choice is VS Code, Used as a simple demo Item code is OK , But larger projects still use Rider perhaps VS good .
Start
Use IDE Or create an empty solution from the command line
I'm more used to rider
IDE It's easy to create projects , Not much said , Here's how to use the command line
First create a directory
mkdir StarBlog
Create solutions
cd StarBlog
dotnet new sln
You can see in the StarBlog A new file is created in the directory StarBlog.sln
Next, continue to create several projects
# Some additional tool code
dotnet new classlib -o StarBlog.Contrib
# Data access related codes 、 Database model, etc
dotnet new classlib -o StarBlog.Data
# Blog migration (Markdown Folder import blog site ) Tool code
dotnet new console -o StarBlog.Migrate
# Blog website main project
dotnet new web -o StarBlog.Web
About dotnet new For more usage of the command, refer to the official documentation :https://docs.microsoft.com/zh-cn/dotnet/core/tools/dotnet-new
After creation, the directory structure is as follows
StarBlog
├── StarBlog.Contrib
├── StarBlog.Data
├── StarBlog.Migrate
├── StarBlog.Web
└── StarBlog.sln
ok
OK, There is only so much content in this article , The next article is about to start writing code , Welcome to your attention ~
At the same time, the project code has been uploaded GitHub, Welcome to everyone Star/Fork!
Blog back end + Front desk project address :https://github.com/Deali-Axy/StarBlog
Management background front end project address :https://github.com/Deali-Axy/StarBlog-Admin
版权声明
本文为[Dotnet cross platform]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230301333170.html
边栏推荐
- 基于.NetCore开发博客项目 StarBlog - (2) 环境准备和创建项目
- ASP. Net and ASP NETCORE multi environment configuration comparison
- TP5 customization in extend directory succeeded and failed. Return information
- C#中切片语法糖的使用
- Golden nine silver ten interview season, you are welcome to take away the interview questions (with detailed answer analysis)
- Xamarin效果第二十二篇之录音效果
- AspNetCore配置多环境log4net配置文件
- MYSQL03_ SQL overview, rules and specifications, basic select statements, display table structure
- C# 读写二进制文件
- SQL statement - DDL
猜你喜欢

Cherno_ Game engine series tutorial (5): 101~

C# 读写二进制文件

OLED多级菜单记录

The backtracking of stack is used to solve the problem of "the longest absolute path of file"

Development notes of raspberry pie (12): start Advantech industrial control raspberry pie uno-220 Kit (I): introduction and operation of the system

2022年度Top9的任务管理系统

搭建XAMPP时mysql端口被占用

Recursion - outputs continuously increasing numbers

2022A特种设备相关管理(电梯)上岗证题库及模拟考试

C#中切片语法糖的使用
随机推荐
Passing object type parameters through openfeign
Thoughts on the 2022 national network security competition of the national secondary vocational group (only one idea for myself) - network security competition questions (7)
Yes Redis using distributed cache in NE6 webapi
Laravel's own paging query
C#中元组对象Tuple的使用
First in the binary tree
Use of slice grammar sugar in C #
Laravel8- use JWT
c#语法糖模式匹配【switch 表达式】
TP5 email (2020-05-27)
[new version release] componentone added Net 6 and blazor platform control support
Assembly learning Chapter III of assembly language (Third Edition) written by Wang Shuang
ASP. Net and ASP NETCORE multi environment configuration comparison
Establishing and traversing binary tree
. net tip: talk about the problem that the scoped service cannot be obtained in the middleware structure
一套关于 内存对齐 的C#面试题,做错的人很多!
全网最全,接口自动化测试怎么做的?精通接口自动化测试详解
Opencv combines multiple pictures into video
AspNetCore配置多环境log4net配置文件
对.NET未来的一点感悟