「ASP.NET Core」修訂間的差異

出自ProgWiki
跳至導覽 跳至搜尋
行 17: 行 17:
  
 
==應用==
 
==應用==
*[https://www.codewithmukesh.com/blog/send-emails-with-aspnet-core/ Send Emails with ASP.NET Core in 5 EASY Steps - Guide]
+
;檔案上傳
 
*[https://www.codeproject.com/Articles/5257067/How-to-Upload-a-Document-in-ASP-NET-Core How to Upload a Document in ASP.NET Core - CodeProject]
 
*[https://www.codeproject.com/Articles/5257067/How-to-Upload-a-Document-in-ASP-NET-Core How to Upload a Document in ASP.NET Core - CodeProject]
 +
*[https://blog.darkthread.net/blog/aspnet-core-cors-upload-svc/ 用 50 行 Program.cs 寫個 ASP.NET Core CORS 上傳服務-黑暗執行緒]
 +
 +
;其他
 
*[https://www.codeproject.com/Articles/1242270/Custom-Code-Generator-Using-ASP-NET-Core Custom Code-Generator Using ASP.NET Core - CodeProject]
 
*[https://www.codeproject.com/Articles/1242270/Custom-Code-Generator-Using-ASP-NET-Core Custom Code-Generator Using ASP.NET Core - CodeProject]
 +
*[https://www.codewithmukesh.com/blog/send-emails-with-aspnet-core/ Send Emails with ASP.NET Core in 5 EASY Steps - Guide]
  
 
==FAQ==
 
==FAQ==

於 2022年1月19日 (三) 20:29 的修訂

ASP.NET Core,參照:『維基百科~ASP.NET_Core

技術文件

範例

應用

檔案上傳
其他

FAQ

版本

Version Number Release Date End of Support Supported Visual Studio Version(s)
1.0 2016-06-27 2019-06-27 2015, 2017
1.1 2016-11-18 2019-06-27 2015, 2017
2.0 2017-08-14 2018-10-01 2017
2.1 LTS 2018-05-30 2021-08-21 2017
2.2 2018-12-04 2019-12-23 2017 15.9 and 2019 16.0 preview 1
3.0 2019-09-23 2020-03-03 2017, 2019
3.1 LTS 2019-12-03 2022-12-03 2019
5.0 2020-11-10 2020-05-08 2019(16.8)
6.0 LTS 2021-11-08 2024-11-08 2022(17)


部署

預設 (跨平台)
Azure App Service
Windows
Linux

轉移

Session機制

使用SQL Server
使用Redis
       services.AddStackExchangeRedisCache(options =>
       {
           options.Configuration = "127.0.0.1:6379";    //指定使用的Redis Server來源
       });

使用ELMAH紀錄執行時的錯誤訊息

ASP.NET Core 3.0以後不再從NuGet提供

  1. Download .NET Core SDK
  2. 在 .csproj 檔案的 <ItemGroup> 區塊內加上
<FrameworkReference Include="Microsoft.AspNetCore.App"/>

相關