ASP.NET Core

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(指南)
(图集)
(未显示1个用户的15个中间版本)
第8行: 第8行:
  
 
==简介==
 
==简介==
 +
ASP.NET Core 是对 [[ASP.NET]] 4.x 的重新设计,其中包括体系结构上的更改,产生了更精简、更模块化的框架。
 +
 
[[文件:ASP.NET-Core-Module.png]]
 
[[文件:ASP.NET-Core-Module.png]]
  
第13行: 第15行:
  
 
==版本==
 
==版本==
 +
*[https://docs.microsoft.com/zh-cn/aspnet/core/release-notes/aspnetcore-5.0 ASP.NET Core 5.0 的新增功能]
 +
*[https://www.infoq.cn/article/vwCKd8jFjAh*WAPNQxmJ ASP.NET Core 3.0 项目开始“瘦身”]
 
*[https://docs.microsoft.com/zh-cn/aspnet/core/?view=aspnetcore-2.1 2.1]
 
*[https://docs.microsoft.com/zh-cn/aspnet/core/?view=aspnetcore-2.1 2.1]
 
*[https://docs.microsoft.com/zh-cn/aspnet/core/?view=aspnetcore-2.0 2.0]
 
*[https://docs.microsoft.com/zh-cn/aspnet/core/?view=aspnetcore-2.0 2.0]
  
 
==指南==
 
==指南==
 +
dotnet new webapp -o aspnetcoreapp
 +
dotnet dev-certs https --trust
 +
dotnet run
 +
https://localhost:5001/
 
*[http://docs.huihoo.com/dotnet/aspnet/core/client-side/yeoman.html Building Projects with Yeoman]
 
*[http://docs.huihoo.com/dotnet/aspnet/core/client-side/yeoman.html Building Projects with Yeoman]
 
*[https://www.npmjs.com/package/generator-aspnet generator-aspnet] [[Yeoman]] generator for ASP.NET Core apps
 
*[https://www.npmjs.com/package/generator-aspnet generator-aspnet] [[Yeoman]] generator for ASP.NET Core apps
  
 
==ASP.NET==
 
==ASP.NET==
 +
ASP.NET Core 可以面向 [[.NET Core]] 或 [[.NET|.NET Framework]]。 面向 .NET Framework 的 ASP.NET Core 应用无法跨平台,它们仅在 Windows 上运行。
 +
 
[http://www.asp.net/learn ASP.NET 和 ASP.NET Core 的一些不同]:
 
[http://www.asp.net/learn ASP.NET 和 ASP.NET Core 的一些不同]:
  
第53行: 第63行:
 
*[[ASP.NET Razor]]
 
*[[ASP.NET Razor]]
 
*[[Entity Framework Core]]
 
*[[Entity Framework Core]]
 +
*[[ABP Framework]]
 
*[[ASP.NET Core Docker]]
 
*[[ASP.NET Core Docker]]
 
*[[KestrelHttpServer]]
 
*[[KestrelHttpServer]]
 +
*[[Serenity]]
 +
*[https://github.com/aspnet/SignalR ASP.NET Core SignalR]
 
*[https://github.com/aspnet/dnx DNX]
 
*[https://github.com/aspnet/dnx DNX]
 
*[https://github.com/aspnet/DependencyInjection DependencyInjection]
 
*[https://github.com/aspnet/DependencyInjection DependencyInjection]
第61行: 第74行:
 
*[[WebVella ERP]]
 
*[[WebVella ERP]]
 
*[https://github.com/Microsoft/ApplicationInsights-aspnetcore Application Insights for ASP.NET Core applications]
 
*[https://github.com/Microsoft/ApplicationInsights-aspnetcore Application Insights for ASP.NET Core applications]
*[https://github.com/OrchardCMS/Orchard2 Orchard2] 是 [[Orchard]] CMS 在 ASP.NET Core 的重新实现。
+
*[https://github.com/OrchardCMS/OrchardCore Orchard Core] 是 [[Orchard]] CMS 在 ASP.NET Core 的重新实现。
 
*[https://github.com/weapsy/Weapsy Weapsy] is an ASP.NET Core CMS based on DDD and CQRS.
 
*[https://github.com/weapsy/Weapsy Weapsy] is an ASP.NET Core CMS based on DDD and CQRS.
 +
*[https://github.com/dodyg/practical-aspnetcore Practical ASP.NET Core]
  
 
==迁移==
 
==迁移==
第70行: 第84行:
 
aspNetCore无效是个常见错误
 
aspNetCore无效是个常见错误
  
==博客==
+
==用户==
*[http://www.cnblogs.com/dudu/ 博客园站长:dudu]
+
*[https://www.cnblogs.com/ 博客园] [http://www.cnblogs.com/dudu/ 博客园站长:dudu]
 
*[http://changwei.tech/ Changwei Zhang]
 
*[http://changwei.tech/ Changwei Zhang]
  
第82行: 第96行:
 
image:asp.net-modules-handlers.png|Modules
 
image:asp.net-modules-handlers.png|Modules
 
image:asp.net-core-middleware.png|Middleware
 
image:asp.net-core-middleware.png|Middleware
 +
image:aspnetcore-middleware-pipeline.png|Middleware Pipeline
 
image:ASP.NET-Core-with-IIS.png|IIS Hosting
 
image:ASP.NET-Core-with-IIS.png|IIS Hosting
 +
image:blazor-webassembly.png|Blazor WebAssembly
 +
image:blazor-server.png|Blazor Server
 +
image:aspnetcore-mvc-endpoint.png|MVC Endpoint
 +
image:aspnet-core-health-check-status-ui.png|HealthChecks运行状况
 
</gallery>
 
</gallery>
  
第94行: 第113行:
 
[[category:.NET]]
 
[[category:.NET]]
 
[[category:ASP.NET]]
 
[[category:ASP.NET]]
 +
[[category:huihoo]]

2021年4月15日 (四) 07:41的版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 ASP.NET Core Thanks, Wikipedia.

ASP.NET Core 是新一代的 ASP.NET,早期称为 ASP.NET vNext,现在更名为 ASP.NET Core。

ASP.NET Core 可运行于 Windows 平台以及非 Windows 平台,如 macOS 以及 Ubuntu Linux 操作系统,是 Microsoft 第一个具有跨平台能力的 Web 开发框架。

微软在一开始开发时就将 ASP.NET Core 开源,因此它也是开源项目的一员,采用 Apache v2 许可协议,由 .NET 基金会 (.NET Foundation) 所管理。

目录

简介

ASP.NET Core 是对 ASP.NET 4.x 的重新设计,其中包括体系结构上的更改,产生了更精简、更模块化的框架。

ASP.NET-Core-Module.png

功能

版本

指南

dotnet new webapp -o aspnetcoreapp
dotnet dev-certs https --trust
dotnet run
https://localhost:5001/

ASP.NET

ASP.NET Core 可以面向 .NET Core.NET Framework。 面向 .NET Framework 的 ASP.NET Core 应用无法跨平台,它们仅在 Windows 上运行。

ASP.NET 和 ASP.NET Core 的一些不同

ASP.NET benefits ASP.NET Core benefits
Build for Windows Build for Windows, Mac, or Linux
Use Web Forms, SignalR, MVC, or Web Pages Use MVC, or Web API
One version per machine Multiple versions per machine
Develop with Visual Studio using C#, VB or F# Develop with Visual Studio or Visual Studio Code using C#
Mature platform New platform
High performance Ultra performance

项目

迁移

问题

aspNetCore无效是个常见错误

用户

图集

链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱