MDP.AspNetCore 6.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package MDP.AspNetCore --version 6.1.1
NuGet\Install-Package MDP.AspNetCore -Version 6.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MDP.AspNetCore" Version="6.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MDP.AspNetCore --version 6.1.1
#r "nuget: MDP.AspNetCore, 6.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MDP.AspNetCore as a Cake Addin
#addin nuget:?package=MDP.AspNetCore&version=6.1.1

// Install MDP.AspNetCore as a Cake Tool
#tool nuget:?package=MDP.AspNetCore&version=6.1.1

MDP.Net

MDP.Net是.NET版本的開發平台,協助開發人員快速建立Web App、Console App。

說明文件

範例展示

SleepZone.Todos

  • 範例檔案:

  • 操作步驟:

    • 使用Visual Studio 2022開啟方案:SleepZone.Todos.sln

    • 設定起始專案為:01.Application/SleepZone.Todos.WebApp

    • 按下F5執行專案後,於瀏覽器的網址列:輸入「https://localhost:44392/Home/Index」,進入SleepZone.Todos頁面。

    • SleepZone.Todos頁面:點擊「AddTodo按鈕」新增工作項目,看到{ "statusCode": 200 }代表工作項目新增成功。

    • SleepZone.Todos頁面:點擊「FindAllTodo按鈕」查詢所有工作項目,看到{ "statusCode": 200 }代表工作項目查詢成功。

    • 上述步驟內容,展示使用DI機制,進行Context注入組裝,並且設定為Singleton模式。所以在沒有資料庫的狀態下,FindAll才能讀取到之前寫入的Todo。

  • 團隊分工:

    • 團隊依專業分為:平台開發團隊、應用開發團隊。

    • 平台開發團隊:建置SleepZone.Todos.WebApp,給應用團隊開箱即用。交付內容包含:專案原始碼、DevOps專案、CICD Pipeline、Container、Network、DNS...等平台工程產出。

    • 應用開發團隊:建置SleepZone.Todos Module,滿足應用系統需求。開發規範依循:「MDP.Net-軟體架構」、「MDP.Net-分層架構」進行開發。

架構設計

MDP.Net-軟體架構

MDP.Net-軟體架構

MDP.Net-分層架構

MDP.Net-分層架構

MDP.Net-平台架構

MDP.Net-平台架構

MDP.Net-需求分析

MDP.Net-需求分析

版本更新

MDP.Net 6.1.0

  • MDP.Registration:加入此模組,提供Attribute註冊功能,用以移除所有.Hosting註冊用專案。

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on MDP.AspNetCore:

Package Downloads
MDP.AspNetCore.Authentication

MDP.Net Library

MDP.BlazorCore.Web

MDP.Net Library

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.5.1 131 5/6/2024
8.0.5 102 5/3/2024
8.0.2 79 4/26/2024
8.0.2-beta03 86 4/23/2024
8.0.2-beta02 71 4/23/2024
8.0.2-beta01 73 4/22/2024
8.0.1 115 4/6/2024
6.1.20 81 4/5/2024
6.1.18 87 4/4/2024
6.1.17 81 4/4/2024
6.1.16 71 4/4/2024
6.1.15 89 3/30/2024
6.1.14 88 3/30/2024
6.1.13 584 1/30/2024
6.1.12 270 1/17/2024
6.1.11 212 12/16/2023
6.1.10 108 12/12/2023
6.1.9 102 12/12/2023
6.1.8 487 9/13/2023
6.1.5 241 7/16/2023
6.1.4 144 7/2/2023
6.1.3 134 7/2/2023
6.1.2 137 6/18/2023
6.1.1 138 5/6/2023
6.1.0 172 4/19/2023
6.1.0-beta.4 72 4/17/2023
6.1.0-beta.3 70 4/17/2023
6.1.0-beta.2 78 4/16/2023
6.1.0-beta.1 74 4/15/2023
6.0.20 251 9/5/2023
6.0.19 182 9/5/2023
6.0.18 1,027 5/8/2023
6.0.17 129 5/8/2023
6.0.16 1,502 3/19/2023
6.0.16-beta.10 79 3/29/2023
6.0.16-beta.6 86 3/21/2023
6.0.16-beta.5 90 3/21/2023
6.0.16-beta.4 88 3/20/2023
6.0.16-beta.3 91 3/20/2023
6.0.16-beta.2 86 3/19/2023
6.0.16-beta.1 89 3/19/2023
6.0.15 439 3/18/2023
6.0.14 465 3/18/2023
6.0.13 7,165 9/17/2022
6.0.12 5,985 9/11/2022
6.0.11 1,187 9/11/2022
6.0.11-beta.2 95 9/11/2022
6.0.11-beta 200 9/11/2022
6.0.10 1,238 7/28/2022
6.0.9 1,149 7/13/2022
6.0.8 412 7/13/2022
6.0.7 420 7/13/2022
6.0.6 409 7/13/2022
6.0.5 404 7/12/2022
6.0.4 429 7/12/2022
6.0.3 433 7/12/2022
6.0.2 447 7/12/2022
6.0.1 425 7/12/2022
6.0.0-rc 178 7/12/2022