「ASP.NET Core」修訂間的差異
跳至導覽
跳至搜尋
小 |
|||
行 107: | 行 107: | ||
**[https://blog.darkthread.net/blog/apnetcore-31-to-50-experience/ ASP.NET Core 3.1 升級 5.0 經驗一則-黑暗執行緒] | **[https://blog.darkthread.net/blog/apnetcore-31-to-50-experience/ ASP.NET Core 3.1 升級 5.0 經驗一則-黑暗執行緒] | ||
*[https://docs.microsoft.com/zh-tw/aspnet/core/migration/50-to-60?view=aspnetcore-6.0&tabs=visual-studio 從 ASP.NET Core 5.0 遷移至6.0 | Microsoft Docs] | *[https://docs.microsoft.com/zh-tw/aspnet/core/migration/50-to-60?view=aspnetcore-6.0&tabs=visual-studio 從 ASP.NET Core 5.0 遷移至6.0 | Microsoft Docs] | ||
+ | |||
+ | ===Session機制=== | ||
+ | ;使用SQL Server | ||
+ | *[https://docs.microsoft.com/en-us/aspnet/core/performance/caching/distributed#distributed-sql-server-cache Distributed SQL Server Cache in ASP.NET Core | Microsoft Docs] | ||
+ | ** 安裝套件[https://www.nuget.org/packages/Microsoft.Extensions.Caching.SqlServer/ Microsoft.Extensions.Caching.SqlServer] | ||
+ | ** 需自訂資料表,請照著Distributed SQL Server Cache的說明操作 | ||
+ | |||
+ | ;使用[[Redis]] | ||
+ | *[https://docs.microsoft.com/en-us/aspnet/core/performance/caching/distributed#distributed-redis-cache Distributed Redis Cache in ASP.NET Core | Microsoft Docs] | ||
+ | ** 安裝套件[https://www.nuget.org/packages/Microsoft.Extensions.Caching.StackExchangeRedis Microsoft.Extensions.Caching.StackExchangeRedis] | ||
+ | services.AddStackExchangeRedisCache(options => | ||
+ | { | ||
+ | options.Configuration = "127.0.0.1:6379"; //指定使用的Redis Server來源 | ||
+ | }); | ||
===ASP.NET Core 3.0以後不再從NuGet提供=== | ===ASP.NET Core 3.0以後不再從NuGet提供=== | ||
行 115: | 行 129: | ||
==相關== | ==相關== | ||
+ | *[[ASP.NET Core Identity]] | ||
+ | *[[ASP.NET Core MVC]] | ||
+ | *[[ASP.NET Core SignalR]] | ||
*[[Entity Framework Core]] | *[[Entity Framework Core]] | ||
− | |||
− | |||
[[分類:ASP.NET Core]] | [[分類:ASP.NET Core]] |
於 2021年12月28日 (二) 10:20 的修訂
ASP.NET Core,參照:『維基百科~ASP.NET_Core』
版本
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) |
技術文件
- 範例
應用
- 其他
- Send Emails with ASP.NET Core in 5 EASY Steps - Guide
- How to Upload a Document in ASP.NET Core - CodeProject
- Custom Code-Generator Using ASP.NET Core - CodeProject
FAQ
部署
- 預設 (跨平台)
- Azure App Service
- 將 ASP.NET Core 應用程式部署至 Azure App Service | Microsoft Docs
- 快速入門:部署 ASP.NET web 應用程式 - Azure App Service | Microsoft Docs
- 為 ASP.NET Core 開發人員將應用程式部署至 App Service DevOps | Microsoft Docs
- Windows
- 在使用 IIS 的 Windows 上裝載 ASP.NET Core | Microsoft Docs
- 在 Windows 服務上裝載 ASP.NET Core | Microsoft Docs
- ASP.NET Core 中的 HTTP.sys 網頁伺服器實作 | Microsoft Docs
- Linux
- 在 Linux 上使用 Apache 裝載 ASP.NET Core | Microsoft Docs
- 在 Linux 上使用 Nginx 裝載 ASP.NET Core | Microsoft Docs
- 如何在 Linux 正確建立自簽憑證並讓 ASP.NET Core 網站可以順利進行連線 | The Will Will Web
轉移
- 從 ASP.NET 移轉至 ASP.NET Core | Microsoft Docs
- 從 ASP.NET Core 1.x 遷移至 2.0 | Microsoft Docs
- 從 ASP.NET Core 2.0 移轉到 2.1 | Microsoft Docs
- 從 ASP.NET Core 2.1 遷移至2.2 | Microsoft Docs
- 從 ASP.NET Core 2.2 遷移至3.0 | Microsoft Docs
- 從 ASP.NET Core 3.0 遷移至3.1 | Microsoft Docs
- ASP.NET Core 3.1 升級 5.0
- 從 ASP.NET Core 5.0 遷移至6.0 | Microsoft Docs
Session機制
- 使用SQL Server
- Distributed SQL Server Cache in ASP.NET Core | Microsoft Docs
- 安裝套件Microsoft.Extensions.Caching.SqlServer
- 需自訂資料表,請照著Distributed SQL Server Cache的說明操作
- 使用Redis
services.AddStackExchangeRedisCache(options => { options.Configuration = "127.0.0.1:6379"; //指定使用的Redis Server來源 });
ASP.NET Core 3.0以後不再從NuGet提供
- Download .NET Core SDK
- 在 .csproj 檔案的 <ItemGroup> 區塊內加上
<FrameworkReference Include="Microsoft.AspNetCore.App"/>