1. 是什么
ASP.NET Core 是一个编程框架。它的特点有:
- 跨平台
- 高性能
- 开源
- 适合构建现代云服务
- 运行在 .NET Core 上
2. 好处
- 可以做 Web UI,也可以做 Web API
- Razor Pages 让简单的页面应用易于编写
- Blazor 让 C# 可以运行在浏览器中,和 JS 互操作
- 支持 gRPC
- 内建依赖注入
- 可以托管在多种主流服务器软件上
3. 学习路线
- Follow a tutorial for the app type you want to develop or maintain.
App type | Scenario | Tutorial |
Web app | New server-side web UI development | |
Web app | Maintaining an MVC app | |
Web app | Client-side web UI development | |
Web API | RESTful HTTP services | |
Remote Procedure Call app | Contract-first services using Protocol Buffers | |
Real-time app | Bidirectional communication between servers and connected clients |
- Follow a tutorial that shows how to do basic data access.
Scenario | Tutorial |
New development | |
Maintaining an MVC app |
- Read an overview of ASP.NET Core fundamentals that apply to all app types.
- Browse the table of contents for other topics of interest.