MDP.AspNetCore.Authentication.Hosting
6.0.20
dotnet add package MDP.AspNetCore.Authentication.Hosting --version 6.0.20
NuGet\Install-Package MDP.AspNetCore.Authentication.Hosting -Version 6.0.20
<PackageReference Include="MDP.AspNetCore.Authentication.Hosting" Version="6.0.20" />
paket add MDP.AspNetCore.Authentication.Hosting --version 6.0.20
#r "nuget: MDP.AspNetCore.Authentication.Hosting, 6.0.20"
// Install MDP.AspNetCore.Authentication.Hosting as a Cake Addin
#addin nuget:?package=MDP.AspNetCore.Authentication.Hosting&version=6.0.20
// Install MDP.AspNetCore.Authentication.Hosting as a Cake Tool
#tool nuget:?package=MDP.AspNetCore.Authentication.Hosting&version=6.0.20
MDP.Net
MDP.Net是.NET版本的開發平台,協助開發人員快速建立Web App、Console App。
範例展示
Todos-工作管理
開發工具:Visual Studio 2022
方案路徑:程式資料夾=>demo/SleepZone.Todos.sln
起始專案:方案總管內=>02.Application/SleepZone.Todos.WebApp
測試步驟:
瀏覽器的網址列:輸入「https://localhost:44392/SleepZone-Todos/Home/Index」,會被跳轉至Login頁面進行登入。
Login頁面:點擊「LoginByName」使用Username欄位內容進行登入,跳轉頁面至SleepZone.Todos頁面代表登入成功。
SleepZone.Todos頁面:點擊「AddTodo按鈕」新增工作項目,看到{ "statusCode": 200 }代表工作項目新增成功。
SleepZone.Todos頁面:點擊「FindAllTodo按鈕」查詢所有工作項目,看到{ "statusCode": 200 }代表工作項目查詢成功。
瀏覽器的網址列:輸入「https://localhost:44392/swagger」,可以看到Swagger頁面並進行操作。
架構設計
MDP.Net-軟體架構
MDP.Net-分層架構
MDP.Net-平台架構
MDP.Net-需求分析
版本更新
MDP.Net 6.0.16
- MDP.AspNetCore.Authentication.Liff.Services:加入此模組,提供Liff頁面客製化功能。
MDP.Net 6.0.15
- MDP.AspNetCore.Authentication.Liff:調整Liff登入效能、調整Liff登入頁面提示文字。
MDP.Net 6.0.14
- MDP.AspNetCore.Authentication.Liff:調整Liff登入效能、調整Liff登入頁面提示文字。
MDP.Net 6.0.13
MDP.AspNetCore.WebApp:WebApp專案設定加入GenerateDocumentationFile,讓系統產生API說明檔。
MDP.AspNetCore:加入Swagger預設參數,讓SwaggerUI顯示API說明檔。
MDP.IdentityModel.Tokens.Jwt:加入RSA非對稱金鑰支援。
MDP.AspNetCore.Authentication.Jwt:加入RSA非對稱金鑰支援。
MDP.Net 6.0.12
MDP.AspNetCore:加入Swagger預設參數,讓SwaggerUI顯示API。
MDP.IdentityModel.Tokens.Jwt:SecurityTokenFactory加入自訂ExpireMinutes功能。
MDP.AspNetCore.Authentication.Jwt:加入多個JWT來源驗證功能,提供自訂HeaderName、TokenPrefix設定。
MDP.AspNetCore.Authentication:加入PolicySchemeSelector,提供依照HttpContex選擇AuthenticationScheme功能。
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- MDP.AspNetCore (>= 6.0.20)
- MDP.AspNetCore.Authentication (>= 6.0.20)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|