当前位置:网站首页>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
边栏推荐
- ASP.NET 6 中间件系列 - 自定义中间件类
- Laravel8- use JWT
- Binary tree
- Find the number of leaf nodes of binary tree
- MySQL port is occupied when building xampp
- .Net Core 限流控制-AspNetCoreRateLimit
- ASP. Net and ASP NETCORE multi environment configuration comparison
- Er and eer models
- C syntax sugar empty merge operator [?] And null merge assignment operator [? =]
- How does Microsoft solve the problem of multiple PC programs
猜你喜欢
AOT和单文件发布对程序性能的影响
Small companies don't make formal offers
MYSQL04_ Exercises corresponding to arithmetic, logic, bit, operator and operator
C语言实现通讯录----(静态版本)
Use of slice grammar sugar in C #
LNMP MySQL allows remote access
Service avalanche effect
2022年P气瓶充装培训试题及模拟考试
在.NE6 WebApi中使用分布式缓存Redis
由于3²+4²=5²,所以称‘3,4,5‘为勾股数,求n(包括n)以内所有勾股数数组。
随机推荐
中后二叉建树
[authentication / authorization] customize an authentication handler
C syntax sugar empty merge operator [?] And null merge assignment operator [? =]
7-11 rearrange the linked list (25 points)
Source Generator实战
腾讯视频涨价:一年多赚74亿!关注我领取腾讯VIP会员,周卡低至7元
.Net Core 限流控制-AspNetCoreRateLimit
Drawing polygons with < polygon / > circular array in SVG tag
Thoughts on the 2022 national network security competition of the national secondary vocational group (only one idea for myself) - network security competition questions (9)
ASP. Net and ASP NETCORE multi environment configuration comparison
腾讯视频VIP会员,周卡特价9元!腾讯官方直充,会员立即生效!
编码电机PID调试(速度环|位置环|跟随)
7-11 重排链表 (25 分)
最通俗易懂的依赖注入之服务容器与作用域
.NET7之MiniAPI(特别篇):.NET7 Preview3
Load view Caton
Introduction and use of openfeign component
. net tip: talk about the problem that the scoped service cannot be obtained in the middleware structure
Summary of software test interview questions
Maui initial experience: Cool