依赖注入服务定位 创建一个对象,作为构造函数或者方法的参数,传递到程序需要的部分 在服务类添加一个静态方法,提 […]
Entity Framework Core5需要安装的Nuget包
EF需要安装的Nuget包 Microsoft.EntityFrameworkCore.SqlServer M […]
Using URL Routing
The IEndpointRouteBuilder Extension Methods Name Descri […]
dotnet 命令行
安装的SDKs 列出已经安装的SDK dotnet –list-sdks 列出.NET 模板 dotnet […]
aspnet core Identity
#身份认证和授权系统 成员管理 默认使用MSSQL 支持外部的Provider 使用ASP.NET Core […]
使用前端库
可以使用NPM安装前端库 – 在项目中添加npm Configuration File的json文 […]
View
_Layout.cshtml <!DOCTYPE html> <html> <h […]
EF Core
数据库 MSSQL LocalDB PostgreSQL MySQL/MariaDB Oracle DB2 S […]
Data Annotaions(Model 验证)
Model验证 using System; using System.Collections.Generic; […]
Middleware and Service
The purpose of the ASP.NET Core platform is to receive […]