© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2w ago•
8 replies
Balte

How to run my old .NET 5 Blazor app from Rider

asp.netmauirider
I have a old Blazor project that I created back in like 2022. It used .NET 5. It has the old structure:
- Client
- Server
- Shared
As far as I remember back I only had to start the Server project which would then start the API and also make the Client available (since it's a WASM project).
But now when I run
dotnet run
dotnet run
the web app does start, but it stays in the Loading... screen forever.

From rider I can't even run it at all, the whole launch configurations are missing...

Then I tried to create a new blazor project from templates, only to discover that using
dotnet new blazorwasm --hosted
dotnet new blazorwasm --hosted
doesn't work anymore.

I also tried starting both the Server and Client projects, which finally showed the WebApp correctly but it always gave API errors because of some weird corss-site stuff. But I don't think that's really meant to be run like this, both should be run from a single app and port right?

So I have two questions sort of...
1. What do I need to do, to run this old app?
2. How are modern .NET Blazor WASM apps hosted with Web-Apis?

Thanks a lot in advance 🙂
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Run MaUI .NET 6 Mac Catalyst from Rider
C#CC# / help
3y ago
❔ blazor wont build from solution template rider
C#CC# / help
3y ago
.Net Maui Blazor
C#CC# / help
3y ago
.Net MAUI(Blazor)
C#CC# / help
3y ago