I have an ASP.Net Core 5.0 web application that I need to detect mobile devices for. I downloaded the 51 Degrees NuGet Package using the Visual Studio Nuget Package Manager, but I cannot figure out how to use it from a Razor Page and cannot find any examples of it being used with Razor Pages anywhere.
So far it looks like the best example I can find is at https://51degrees.com/developers/documentation/apis/netv32/tutorials/getting-started but it says "This tutorial assumes you are building this from within the 51Degrees Visual Studio solution." Like most people I already have a solution for my app which I need to use 51 Degrees with and cannot create a new 51Degrees Visual Studio solution. Plus, the example has way more code than I want to use. I want something that works like Request.Browser.IsMobileDevice without requiring more work.