my blazor web site will load but when i go to the pages will not work

Thomas Blair 5 Reputation points
2024-06-14T15:25:57.7933333+00:00

My Blazor web site starts up but when go to a page is gives me an error.

[2024-06-14T15:20:27.225Z] Information: Normalizing '_blazor' to 'https://fieldmriservice.azurewebsites.net/_blazor'.

blazor.server.js:1 [2024-06-14T15:20:27.370Z] Information: WebSocket connected to wss://fieldmriservice.azurewebsites.net/_blazor?id=hWxuOAUI3-5ZBYRAp4as2g.

blazor.server.js:1 [2024-06-14T15:20:29.531Z] Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions by setting 'DetailedErrors: true' in 'appSettings.Development.json' or set 'CircuitOptions.DetailedErrors'.

[2024-06-14T15:20:27.225Z] Information: Normalizing '_blazor' to 'https://fieldmriservice.azurewebsites.net/_blazor'.

blazor.server.js:1 [2024-06-14T15:20:27.370Z] Information: WebSocket connected to wss://fieldmriservice.azurewebsites.net/_blazor?id=hWxuOAUI3-5ZBYRAp4as2g.

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

It will run fine in Visual Studio 2022

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,258 questions
{count} votes