Skip to main content
added 8 characters in body; edited tags; edited title
Source Link
marc_s
  • 759.8k
  • 186
  • 1.4k
  • 1.5k

Asp ASP.NET Core blazor app, 404 blazor.server.js after .NET 10 installed

I have a big project that uses blazorBlazor, suddenly when I run it, the blazorBlazor pages doesdo not workswork anymore, because the blazor.server.jsblazor.server.js returns 404. This happened after I installed latest version of vs2026VS 2026 with the RTM version of .NET 10.§

Short story, even if I compile with VS2022VS 2022, when I run the program in a system where I have .NET 10 SDK, blazor.server.jsblazor.server.js returns 404. As soon as I uninstall VS2026VS 2026 and .NET 10, the blazorBlazor pages startsstart working again.

This was verified in three different systems, and it is reproducible, install vs2026VS 2026 -> 404 -> then remove vs2026VS 2026 -> everythigneverything works.

The project targets .NET 9, but having .NET 10 build system breakbreaks something.

Funny story, I have at least one other .NET 9 based project with blazor that works even with .NET 10. I wonder what I need to change to have it working.

I know that .NET 10 changes the way in which blazor resources are served, but I really wonder why having .NET 10 breaks blazorBlazor in .NET 9 based project.

Anyone else experienced that?

enter image description here

Asp.NET Core blazor app, 404 blazor.server.js after .NET 10 installed

I have a big project that uses blazor, suddenly when I run it the blazor pages does not works anymore, because the blazor.server.js returns 404. This happened after I installed latest version of vs2026 with the RTM version of .NET 10.§

Short story, even if I compile with VS2022, when I run the program in a system where I have .NET 10 SDK, blazor.server.js returns 404. As soon as I uninstall VS2026 and .NET 10 the blazor pages starts working again.

This was verified in three different systems, and it is reproducible, install vs2026 -> 404 -> then remove vs2026 -> everythign works.

The project targets .NET 9 but having .NET 10 build system break something.

Funny story, I have at least one other .NET 9 based project with blazor that works even with .NET 10. I wonder what I need to change to have it working.

I know that .NET 10 changes the way in which blazor resources are served, but I really wonder why having .NET 10 breaks blazor in .NET 9 based project.

Anyone else experienced that?

enter image description here

ASP.NET Core blazor app, 404 blazor.server.js after .NET 10 installed

I have a big project that uses Blazor, suddenly when I run it, the Blazor pages do not work anymore, because the blazor.server.js returns 404. This happened after I installed latest version of VS 2026 with the RTM version of .NET 10.

Short story, even if I compile with VS 2022, when I run the program in a system where I have .NET 10 SDK, blazor.server.js returns 404. As soon as I uninstall VS 2026 and .NET 10, the Blazor pages start working again.

This was verified in three different systems, and it is reproducible, install VS 2026 -> 404 -> then remove VS 2026 -> everything works.

The project targets .NET 9, but having .NET 10 build system breaks something.

Funny story, I have at least one other .NET 9 based project with blazor that works even with .NET 10. I wonder what I need to change to have it working.

I know that .NET 10 changes the way in which blazor resources are served, but I really wonder why having .NET 10 breaks Blazor in .NET 9 based project.

Anyone else experienced that?

enter image description here

Source Link
Alkampfer
  • 1.4k
  • 12
  • 28

Asp.NET Core blazor app, 404 blazor.server.js after .NET 10 installed

I have a big project that uses blazor, suddenly when I run it the blazor pages does not works anymore, because the blazor.server.js returns 404. This happened after I installed latest version of vs2026 with the RTM version of .NET 10.§

Short story, even if I compile with VS2022, when I run the program in a system where I have .NET 10 SDK, blazor.server.js returns 404. As soon as I uninstall VS2026 and .NET 10 the blazor pages starts working again.

This was verified in three different systems, and it is reproducible, install vs2026 -> 404 -> then remove vs2026 -> everythign works.

The project targets .NET 9 but having .NET 10 build system break something.

Funny story, I have at least one other .NET 9 based project with blazor that works even with .NET 10. I wonder what I need to change to have it working.

I know that .NET 10 changes the way in which blazor resources are served, but I really wonder why having .NET 10 breaks blazor in .NET 9 based project.

Anyone else experienced that?

enter image description here