EDIT: I initially only wanted to know how to detect different browsers in Blazor Server-Side and change the behaviour of my app accordingly. The answer to that can be found here: How to use the HttpContext object in server-side Blazor to retrieve information about the user, user agent I then learned about feature detection from @CodeCaster and changed this question, since this seems to be a better solution for my problem.
Here is my initial post:
I want to load different contents on the starting page depending on what the browser that is used on the client side supports. (or alternatively have the client load a certain starting page depending on its browser) Something like this: Browser Detection
What is the best way to detect the browser the client is using and where would be the best location in a Blazor Server-Side App to do so?