EsmAccessApplicationBuilderExtensions.UseEsmAccessControl method
Adds the ESM access control, which serves the files under esm folders only to users who may load them, if it is enabled with Enabled (the EsmAccessControl section of appsettings.json). Call it before UseStaticFiles, as it must run before the files are served. See EsmAccessControlOptions for the rules.
public static IApplicationBuilder UseEsmAccessControl(this IApplicationBuilder app)
| parameter | description |
|---|---|
| app | The application builder |