Middleware
Middleware in ASP.NET Core is software components that are assembled into the HTTP request pipeline to handle requests and responses. Each middleware component performs a specific function and can process an incoming HTTP request, generate a response, or pass the request to the next middleware in the pipeline.