当前位置:网站首页>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
边栏推荐
- 由于3²+4²=5²,所以称‘3,4,5‘为勾股数,求n(包括n)以内所有勾股数数组。
- The most easy to understand dependency injection and control inversion
- OLED multi-level menu record
- Small companies don't make formal offers
- AOT和单文件发布对程序性能的影响
- [ncnn] - the meaning of - 23300 in param
- 基于.NetCore开发博客项目 StarBlog - (2) 环境准备和创建项目
- 全网最全,接口自动化测试怎么做的?精通接口自动化测试详解
- 求二叉树的叶子结点个数
- 2022年度Top9的任务管理系统
猜你喜欢

类似Jira的十大项目管理软件

Fight leetcode again (290. Word law)

再战leetcode (290.单词规律)

Judge whether there is a leap year in the given year

由于3²+4²=5²,所以称‘3,4,5‘为勾股数,求n(包括n)以内所有勾股数数组。

Detailed explanation of distributed things

ASP. Net 6 middleware series - Custom middleware classes

C# WPF UI框架MahApps切换主题

Drawing polygons with < polygon / > circular array in SVG tag

The most easy to understand dependency injection and control inversion
随机推荐
Opencv combines multiple pictures into video
Summary of interface automation interview questions for software testing
Yes Redis using distributed cache in NE6 webapi
C syntax pattern matching [switch expression]
Introduction and use of openfeign component
Golden nine silver ten interview season, you are welcome to take away the interview questions (with detailed answer analysis)
Notes sur le développement de la tarte aux framboises (XII): commencer à étudier la suite UNO - 220 de la tarte aux framboises de contrôle industriel advantech (i): Introduction et fonctionnement du s
Thoughts on the 2022 national network security competition of the national secondary vocational group (only one idea for myself) - network security competition questions (9)
.Net Core 限流控制-AspNetCoreRateLimit
如果通过 C# 实现对象的深复制 ?
Two methods are used to solve the "maximum palindrome product" problem
Xamarin效果第二十二篇之录音效果
Distributed system services
[Euler plan question 13] sum of large numbers
最通俗易懂的依赖注入之生命周期
Thoughts on the 2022 national network security competition of the national secondary vocational group (only one idea for myself) - network security competition questions (10)
Find the number of leaf nodes of binary tree
C# 11 对 ref 和 struct 的改进
Source Generator实战
Ningde's position in the times is not guaranteed?