ASP.NET Core WebAPI


  1. 說明
  2. Steps
  3. Features

實戰 ASP.NET Core WebAPI 專案。

logo

說明

Controller-based Web API & Minimal API

Tutorial: Create a web API with ASP.NET Core | Learn.microsoft

Steps

Create Project
Property Configuration
AppSettings.config (top level statement)

Services

  • Dependency Injection
  • Static Files

EntityFramework Core (SQL Server / SQLite)

Interactive With PostMan
HTTP Status (500, 204, 201)
Swagger (OpenAPI)
JWT Authentication

Features

Repository Pattern
AutoMapper
Serilog