I have a problem which only seems to occur after I deploy my Blazor server app to the staging environment.
When I start the application, after deployment, I get 404 (Not Found) errors for two of the Blazor stylesheets. This behaviour is very inconsistent. At first the stylesheets are not found. But after a while they can be found.
But intermittently they cannot be found again. So, weird behaviour.
The relevant part of my _Host.chtml file:
<head> <link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" /> <link rel="stylesheet" href="_content/Radzen.Blazor/css/default-base.css"> <link rel="stylesheet" href="_content/Radzen.Blazor/css/default.css"> <link rel="stylesheet" href="css/site.css" /> </head>
I get the 404 errors for default-base.css and default.css. The other two stylesheet do not have this issue.
Thanks in advance