...
Configuring the Storeless module
Add one of the following lines of code to Startup.cs, immediately following .UseModule<CoreModule>()
.
Generally the first line would be used. The second line can be used to set up Storeless for only certain content types.
Code Block | ||
---|---|---|
| ||
.UseModule<Storeless>(Configuration.GetSection("Lynicon:Storeless:Cache")) .UseModule<Storeless>(Configuration.GetSection("Lynicon:Storeless:Cache"), (Func<Type, bool>)(t => !(new Type[] { typeof(User) }.Contains(t)))) |
...