How can I inject the Blazor NavigationManager into an abstract class that I subclass for razor pages
I went back and forth over 10 times with Chat GPT in an endless loop of CS7036 errors on this. I have a Blazor project where I created a custom abstract page class MyPage
subclassing ComponentBase, that I then subclass for all my razor pages. This is so I can put common code on all my pages.