ASP.NET Core 概览
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 Get started with Razor Pages Web app Maintaining an MVC app Get started with MVC Web app Client-side web UI development Get started with Blazor Web API RESTful HTTP services Create a web API† Remote Procedure Call app Contract-first services using Protocol Buffers Get started with a gRPC service Real-time app Bidirectional communication between servers and connected clients Get started with SignalR -
Follow a tutorial that shows how to do basic data access.
Scenario Tutorial New development Razor Pages with Entity Framework Core Maintaining an MVC app MVC with Entity Framework Core -
Read an overview of ASP.NET Core fundamentals that apply to all app types.
-
Browse the table of contents for other topics of interest.
信息来源:https://learn.microsoft.com/en-us/aspnet/core/introduction-to-aspnet-core?view=aspnetcore-7.0
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!