Null Reference Exception in Blazor Router

handle this mofo

2022-04-29 10:13:33


Danny blogged:

If you’ve used Blazor for a while you may have run into the following (pretty unhelpful) error message where the page router is throwing a NullReferenceException. The worst part is that I always seem to run into this error after making a bunch of changes and then having no idea exactly what I did to break the build (yeah I know, I should probably run my code more while making changes).

Read the article