Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Getting error in ASP.NET Core web app in Blazor with auto mode

$
0
0

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:

  1. Fbnt.Maui - Blazor Hybrid Maui
  2. Fbnt.Web - Blazor WebApp also used as API
  3. Fbnt.Web.Client - Blazor WebApp Client
  4. Fbnt.SharedRCL - Razor class library sharing common UI between web and Maui.
  5. Fbnt.Domain - Class library project for Domain Definition of Clean Architecture.
  6. Fbnt.Application - Class library project for Application layer of Clean Architecture.
  7. 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?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>