Exception issue

SaeedP

Well-known member
Joined
Oct 21, 2020
Messages
113
Programming Experience
3-5
Hi,

I'm encountering this exception while running my code. Can someone help me understand what it means and what could be causing it?

1.png
 
It's pretty self explanatory. You have more than one route in your code that maps the route "/". Check your route settings for your controllers to make sure that they don't conflict with each other.
 
Did you make a razor/blazor project and copy/paste the index page, maybe even rename it, but forgot to change the `@page "/" ` directive at the top of the markup?

Newer Blazor is more helpful with its error messages:

1708724180818.png
 

Latest posts

Back
Top Bottom