InvokeAsync Method
Definition
- Namespace
- Cuemon.AspNetCore.Hosting
- Assemblies
- Cuemon.AspNetCore.dll
InvokeAsync(HttpContext, IHostEnvironment)
Executes the HostingEnvironmentMiddleware.
public override Task InvokeAsync(HttpContext context, IHostEnvironment di)
Parameters
contextHttpContextThe context of the current request.
diIHostEnvironmentThe dependency injected IHostEnvironment of InvokeAsync(HttpContext, IHostEnvironment).
Returns
- Task
A task that represents the execution of this middleware.