<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>.NET on Ean7的小站</title><link>https://ean7.top/tags/.net/</link><description>Recent content in .NET on Ean7的小站</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Tue, 25 Aug 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ean7.top/tags/.net/index.xml" rel="self" type="application/rss+xml"/><item><title>C#、.NET 、ASP.NET Core、Visual Studio全系列快速入门</title><link>https://ean7.top/posts/c%23%E5%85%A8%E7%B3%BB%E5%88%97%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8/</link><pubDate>Tue, 25 Aug 2026 00:00:00 +0000</pubDate><guid>https://ean7.top/posts/c%23%E5%85%A8%E7%B3%BB%E5%88%97%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8/</guid><description>&lt;h2 id="基本概念"&gt;基本概念&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;C#
↓
编程语⾔
.NET
↓
C#程序运⾏所依赖的平台/框架
ASP.NET Core
↓
使⽤.NET 开发Web/API 后端的框架
Visual Studio
↓
开发、编译、调试C#/.NET 项⽬的IDE
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;⽐如⼀个项⽬：&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;MyProject
│
├── MyProject.sln
│
├── MyProject.Api
│ ├── Controllers
│ ├── Services
│ ├── Models
│ ├── Program.cs
│ └── appsettings.json
│
├── MyProject.Core
│
├── MyProject.
│
└── MyProject.Tests
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;通常：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;.sln ：整个解决⽅案&lt;/li&gt;
&lt;li&gt;.csproj ：⼀个具体项⽬&lt;/li&gt;
&lt;li&gt;.cs ： C# 代码&lt;/li&gt;
&lt;li&gt;Controller ：接收 HTTP 请求&lt;/li&gt;
&lt;li&gt;Service ：业务逻辑&lt;/li&gt;
&lt;li&gt;Repository ：数据库操作&lt;/li&gt;
&lt;li&gt;Model/DTO ：数据对象&lt;/li&gt;
&lt;li&gt;Program.cs ：程序启动和服务配置&lt;/li&gt;
&lt;li&gt;appsettings.json ：配置⽂件&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="设计模式"&gt;设计模式&lt;/h3&gt;
&lt;p&gt;典型的三层架构（或更多层架构）的设计模式，通常用于构建复杂的应用程序。每一层都有其特定的职责，下面是对每一层的详细解释：&lt;/p&gt;</description></item></channel></rss>