As this ebook edition doesn't have fixed pagination, the page numbers below are hyperlinked for reference only, based on the printed edition of this book.
Symbols
.NET 6
Priority key, in appsettings files 62, 63
.NET Core 58
.NET Foundation
about 123
URL 123
A
ApiController attribute 120
application
configuring, in Azure App Service 69
application programming interface (API)
about 38
data, mapping to 129
Apply method 49
appsettings files
array
inserting 70
ASP.NET
ASP.NET Core authentication
reference link 154
ASP.NET Core authorization
reference link 154
ASP.NET Core Identity 157
ASP.NET Core templates 93
authentication 154
authorization
about 154
handling 165
AutoMapper
about 132
references 132
Azure Application Insights
about 111
registering 111
with standard log provider 113
Azure App Service
application, configuring 69
B
bearer authentication scheme 155
bearer tokens 155
BenchmarkDotNet
used, for benchmarking minimal APIs 210, 211
C
claims 158
Console log, logging framework 103-106
Console provider 94
cross-origin resource sharing (CORS)
custom policies, configuring 57
default policy, configuring 56
setting, with annotation 58
setting, with extensions 58
custom attributes
reference link 123
custom binding
reference link 23
custom provider
D
Dapper
about 143
repository, implementing in endpoints 149
repository pattern, creating 144-146
setting up, with SQL Server LocalDB 143
used, for adding new entity in database 148
using 143
using, to implement database query 146, 147
data
data annotations
used, for performing validation 121-123
data transformation object (DTO) 130
data validation 119
Debug provider 94
default policies
dependency injection (DI)
implementing, in Minimal API project 88-91
lifetimes 87
Developer Exception Page 73
Docker
application, configuring 70-72
E
endpoints 16
Entity Framework Core (EF Core) 136
Entity Framework (EF)
about 136
EF Core, adding 137
using 136
error handling
about 73
EventLog 94
EventSource 94
F
fallback policies
FluentValidation
about 123
references 123
used, for localizing validation messages 189-191
G
global API settings
sources, configuring 68
working with 58
globalization
support, adding to Swagger 179-182
globalized minimal API
GO client 40
H
Hash-Based Message Authentication Code (HMAC) 158
HTTP request
I
Internet Information Services (IIS) 99
IOperationFilter interface 49
IOptions
validation, using 68
J
JMeter 40
JSON schemas 128
JSON Web Token (JWT)
about 154
reference link 154
K
K6
about 40
performance test, running 203-210
L
localization
integrating, in validation frameworks 186
localized messages
formatting, with resource files (.resx) 185, 186
Log4net 104
logger, ASP.NET
logging framework
about 94
custom provider, creating 106-111
leveraging 103
logging scenarios 94
M
manual mapping
performing 131
mapping
about 129
need for 129
MicroElements.Swashbuckle.FluentValidation
reference link 128
Microsoft Web API
history 5
minimal API application
globalization support, adding to Swagger 179-182
minimal API project
creating 6
creating, with Visual Studio 2022 6-8
creating, with Visual Studio Code 8, 9
dependency injection (DI), implementing 88-91
minimal API, protecting
authentication, testing 164, 165
JWT bearer, generating 157-160
JWT bearer, validating 161, 162
JWT support, adding to Swagger 162-164
minimal APIs
about 94
benchmarking, with BenchmarkDotNet 210, 211
history 5
performance, exploring, with load tests 198
performance, improving 197
versioning 43
minimal APIs, performance with load tests
k6 performance test, running 203-210
MiniValidation
about 121
reference link 121
used, for localizing validation messages 186-189
model validation 120
N
named options 64
NLog 104
NuGet package 39
nullable reference types 22, 121
O
object
inserting 69
Object-Relational Mapper (ORM) 143
Open API Generator 40
OpenTelemetry
about 99
URL 99
options pattern
P
parameter binding
about 20
sources 21
policy-based authentication
reference link 173
policy-based authorization
policy requirements 169
R
reflection
about 121
reference link 35
resource files (.resx)
used, for formatting localized messages 185, 186
using 182
responses
role-based authorization
roles 165
route constraints
about 19
reference link 19
route handlers 17
route parameters 18
routing
about 16
reference link 16
S
same-origin policy 50
serialization
Serilog
structured log, storing with 113-116
SHA256 hash function
reference link 158
single-page applications (SPAs) 50
sinks 113
special bindings 22
SQL Server LocalDB
used, for setting up Dapper 143
structured log
Swagger
exploring 38
globalization support, adding 179-182
in Visual Studio scaffold 38-40
Open API Generator 40
validation information, adding to 127-129
System.Text.Json namespace
reference link 29
T
TimeOnly data type
reference link 170
U
UTC support
adding, to globalized minimal API 191-194
V
validation
performing, with data annotations 121-123
validation attributes
reference link 123
validation frameworks
localization, integrating 186
validation information
validation messages
localizing, with FluentValidation 189-191
localizing, with MiniValidation 186-189
versioning
in minimal APIs 43
Visual Studio 2022
minimal API project, creating with 6-8
Visual Studio Code
minimal API project, creating with 8, 9
Visual Studio scaffold
W
W3C log 99
WebApplication 93
WebApplicationBuilder 93
Windows Communication Foundation (WCF) 5