当前位置:网站首页>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
边栏推荐
- 2022T电梯修理考试模拟100题及在线模拟考试
- Openfeign timeout setting
- Impact of AOT and single file release on program performance
- ASP. Net 6 middleware series - execution sequence
- LNMP MySQL allows remote access
- Golden nine silver ten interview season, you are welcome to take away the interview questions (with detailed answer analysis)
- Xamarin effect Chapter 21 expandable floating operation button in GIS
- C#语法糖空合并运算符【??】和空合并赋值运算符【 ??=】
- How to write the expected salary on your resume to double your salary during the interview?
- MYSQL04_ Exercises corresponding to arithmetic, logic, bit, operator and operator
猜你喜欢

Source generator actual combat

Tencent video price rise: earn more than 7.4 billion a year! Pay attention to me to receive Tencent VIP members, and the weekly card is as low as 7 yuan

微软是如何解决 PC 端程序多开问题的——内部实现

TP5 email (2020-05-27)

Yes Redis using distributed cache in NE6 webapi

AspNetCore配置多环境log4net配置文件

【新版发布】ComponentOne 新增 .NET 6 和 Blazor 平台控件支持

再战leetcode (290.单词规律)

Summary of software test interview questions

Tencent video VIP member, weekly card special price of 9 yuan! Tencent official direct charging, members take effect immediately!
随机推荐
Creating wechat voucher process with PHP
MySQL port is occupied when building xampp
Vs code setting line feed
Xamarin effect Chapter 21 expandable floating operation button in GIS
再战leetcode (290.单词规律)
2022A特种设备相关管理(电梯)上岗证题库及模拟考试
使用两种方法来解决“最大回文数乘积”问题
C# WPF UI框架MahApps切换主题
使用DFS来解决“字典序排数”问题
AOT和单文件发布对程序性能的影响
Tencent video VIP member, weekly card special price of 9 yuan! Tencent official direct charging, members take effect immediately!
Er and eer models
c#语法糖模式匹配【switch 表达式】
【无标题】
First in the binary tree
Development notes of raspberry pie (12): start Advantech industrial control raspberry pie uno-220 Kit (I): introduction and operation of the system
Drawing polygons with < polygon / > circular array in SVG tag
腾讯视频涨价:一年多赚74亿!关注我领取腾讯VIP会员,周卡低至7元
2022T电梯修理考试模拟100题及在线模拟考试
Source code interpretation of Flink index parameters (read quantity, sent quantity, sent bytes, received bytes, etc.)