Blazor webassembly publication issue on IIS

Base de Données Sport 1 Reputation point
2020-11-25T14:30:19.193+00:00

I use Blazor since nearly one year but I have many problem to publish my app.
The last one I wrote was in .Net 5 with ASP.NET hosting so I have 3 project :

  1. myproject.client
  2. myproject.server
  3. myproject.shared

In Visual Studio 2019 it works great with my web API in server project but I can't publish it on IIS.
I made publish in directory on VS and I created a website pointing to this directory.
I get Loading... like in all Blazor app but it stay like that.
When I press F12 I ger in console :
42745-image.png

can you help me please ?

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,386 questions
{count} votes