Core Web API
Core Web API
GUIDE
TO LEARN
ASP.NET
CORE
WEB API
Aram Tchekrekjian @AramT87
1 Introduction
ASP.NET Core Web API is the
major upgrade over ASP.NET
Web API
Dependency Injection is at
the core of the framework, so
no need to add DI libraries
@AramT87
2 .NET Updates
.NET 7 is the latest major release of
.NET with a Standard Term Support
until May, 2024
@AramT87
ASP.NET Core
Web API
Components
&
Topics
@AramT87
3
ASP.NET Core Web API
Components
Controllers Program.cs
Routing appsettings.json
Versioning Dependency
Injection
Middleware
Kestrel
Attributes
Filters
@AramT87
4
Controllers & Routing
Controllers define the HTTP methods and
routing URLs (endpoints) that will be
exposed to the public (clients).
@AramT87
Filters 8
Filters are used to intercept the
processing pipeline, so you can run
some code before or after some stage in
the process
@AramT87
appsettings.json 10
This is a JSON formatted file that
includes all the environment-based
settings and configurations that you
can use in ASP.NET Core Web API
@AramT87
Dependency Lifetimes 13
Scoped
@AramT87
Kestrel 15
@AramT87
ASP.NET Core Web API 16
More Topics
@AramT87
Thank You
Follow me for more content
Aram Tchekrekjian
@AramT87
CodingSonata.com