I have created a rather simple blazor xaf project hosted on windows with IIS. Also, I am logging all exceptions with nlog. I seem to find like "bursts" of like 20-30 exceptions, all generated within 2-3 seconds, like once a day. It does not have to do with IIS recycling though as the time is very different.
I don't see any problem though from users. No hookups happen in the UI. The logs seem to be generated in the background.
The exceptions look like below. Is this normal behavior? I do see DevExpress components in the stack trace.
CodeLogger: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost
Unhandled exception in circuit 'mr96vM30lECvrqOpi8doyxsdgJIdhXSG232U9TtYMYHivc'.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
at DevExpress.Blazor.Internal.Grid.DxDataGridHeadCell`1.<InitClientSide>b__24_2(DataGridColumnResizeMode mode, Boolean hasScrolling, ScrollBarMode horizontalScrollBarMode, Boolean hasPager, ISubject`1[] visibleIndex, ISubject`1[] groupIndex)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state)
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.ExecuteSynchronously(TaskCompletionSource`1 completion, SendOrPostCallback d, Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.ExecuteBackground(WorkItem item)
It seems that this happens more ofter, after pressing the F5 (reload) a few times on a blazor view with a list view.
Just had the same exceptions in my visual studio output while testing locally