13 references to CacheBehavior
Microsoft.AspNetCore.Components (5)
CacheBehaviorAttribute.cs (4)
9/// (<see cref="CacheBehavior.Rerender"/>): it runs its own lifecycle on every request while its parameters 10/// are captured once and replayed unchanged on cache hits. Use <see cref="CacheBehavior.Throw"/> to throw 24public CacheBehaviorAttribute(CacheBehavior behavior) 33public CacheBehavior Behavior { get; }
CacheConditionAttribute.cs (1)
9/// annotated with <see cref="CacheBehaviorAttribute"/> and <see cref="CacheBehavior.Throw"/>).
Microsoft.AspNetCore.Components.Authorization (1)
AuthorizeViewCore.cs (1)
13[CacheBehavior(CacheBehavior.Throw)]
Microsoft.AspNetCore.Components.Endpoints (3)
CacheView\CacheViewService.cs (2)
19private static readonly ConcurrentDictionary<Type, (CacheBehavior? Behavior, CacheVaryBy? Condition)> _liveComponentAttributeByType = new(); 64if (behavior == CacheBehavior.Throw && !varyByMatches)
Rendering\SSRRenderModeBoundary.cs (1)
23[CacheBehavior(CacheBehavior.Rerender)]
Microsoft.AspNetCore.Components.QuickGrid (1)
QuickGrid.razor.cs (1)
19[CacheBehavior(CacheBehavior.Throw)]
Microsoft.AspNetCore.Components.Web (3)
Forms\AntiforgeryToken.cs (1)
12[CacheBehavior(CacheBehavior.Rerender)]
Head\HeadOutlet.cs (1)
13[CacheBehavior(CacheBehavior.Rerender)]
Virtualization\Virtualize.cs (1)
16[CacheBehavior(CacheBehavior.Throw)]