I am building a Blazor application which can switch between client mode and server mode. Parts of the application work only in one or the other and need to have fallback code executed in that case.
Is there a good way to check for example if Mono is running or not?
Any suggestions?