Sometimes I get below error in the browser. I need to clear cache for my site then it start working again.
I don't know why....
I have a solution in .NET Core with the following projects:
- Fbnt.Maui - Blazor Hybrid Maui
- Fbnt.Web - Blazor WebApp also used as API
- Fbnt.Web.Client - Blazor WebApp Client
- Fbnt.SharedRCL - Razor class library sharing common UI between web and Maui.
- Fbnt.Domain - Class library project for Domain Definition of Clean Architecture.
- Fbnt.Application - Class library project for Application layer of Clean Architecture.
- Fbnt.Infrastructure - Class library project for Infrastructure layer of Clean Architecture.
Ensure that Fbnt.SharedRCL - Razor class library shares a common UI between web and Maui.
Error:
AggregateException_ctor_DefaultMessage (Root component type 'Fbnt.SharedRCL.Components.Layout.Shared.HeaderControl' could not be found in the assembly 'Fbnt.SharedRCL'.)
at Jn (dotnet.runtime.8.0.3.76cp6ozpzf.js:3:31614)
at xl (dotnet.runtime.8.0.3.76cp6ozpzf.js:3:182162)
at 00b217ca:0x1fa8f
at 00b217ca:0x1bf5a
at 00b217ca:0xf141
at 00b217ca:0x1e7a9
at 00b217ca:0x1ef9f
at 00b217ca:0xcfbb
at 00b217ca:0x4412f
at e. (dotnet.runtime.8.0.3.76cp6ozpzf.js:3:215234)
I just don't want this error.
As I need to live this site..
Should I convert it to server only or webassembly only will solved that issue?