EsmAccessApplicationBuilderExtensions class
namespace: Serenity.Extensions.DependencyInjection assembly: Serenity.Net.Web
Contains the extension to add the ESM access control to the request pipeline
public static class EsmAccessApplicationBuilderExtensions
Public Members
| name | description |
|---|---|
| static UseEsmAccessControl(…) | 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. |