Questions tagged [51degrees]

.NET library for detecting devices and browsers. Also available for Java, C and PHP.

This project, called "Foundation", is just one of 51Degrees.mobi components for mobile web development. It’s provided as a .NET open source class library that detects mobile devices and browsers, enhancing the information available to .NET programmers. Using 51Degrees.mobi Device Data, accurate screen sizes, input methods, plus manufacturer and model information are all available. Mobile handsets can optionally be redirected to content designed for mobile devices. Smart phones, tablets and feature phones are all supported.

The .NET solution is available at: https://github.com/51Degrees/dotNET-Device-Detection

The Java, C and PHP solutions can be downloaded from SourceForge.

58 questions
1
vote
2 answers

View Switch doesn't work with 51Degrees

I have got a MVC4 application where I used 51Degrees (Lite) to detect device and accordingly select the mobile (.mobile.cshtml) or desktop (.cshtml) view. 51Degrees can properly do that job. However if I want to switch from Mobile to Desktop view…
user2027901
  • 53
  • 1
  • 9
1
vote
1 answer

Catching HTTP errors before redirect via 51degrees (vb.net)

I am using 51degrees.mobi and it is working well but in the case of the mobile server experiencing issues (HTTP error status) I want to be able to allow the user to continue on with the desktop version of the mobile site. I know I can stop the…
Naraelista
  • 13
  • 3
1
vote
1 answer

What API parses Browser Definition File Schema files in .NET?

I have some IIS logs with header information I'd like to be parsed by pre-existing frameworks. Can I leverage the part of ASP.NET that uses Browser Definition Files perhaps in tandem with the 51 Degrees mobi tools. What is the right .NET API (or…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
1
vote
1 answer

How to use 51Degrees via NuGet with Azure?

I'm tryign to use 51Degrees in a .NET project that I deploy to Azure. August 2011, they released v1.2.1.3 marked as "Azure Compatible": Foundation can now be deployed on to the Windows Azure Cloud service. See the release note for full details…
TMC
  • 8,088
  • 12
  • 53
  • 72
1
vote
2 answers

Detect device visiting web-page, ASP.net

Is there any good libraries/packages out there for detecting information about the device that visitis my page. For instance if a user goes to my page I would like to detect the platform, the version of the platform, screensize, manufacture and…
Inx
  • 2,364
  • 7
  • 38
  • 55
0
votes
1 answer

Specific View (Asp.net MVC) for IPhone, Android

I am using .. ASP.net MVC 4 51Degrees.mobi jQuery Mobile By the helping of these technologies, I can make my web application's UI designs look good not only at Desktop based browsers but also at mobile based browsers without requiring me to create…
Frank Myat Thu
  • 4,448
  • 9
  • 67
  • 113
0
votes
1 answer

51Degrees.mobi Logging Slows Down ASP.NET MVC

The following line in 51Degrees.mobi.config adds 2-3 seconds of loading time to each of my ASP.NET MVC 4 project's controller actions: ...
Petrus Theron
  • 27,855
  • 36
  • 153
  • 287
0
votes
1 answer

What are some best practices for detecting mobile devices in mvc3

I am enabling one of my sites to redirect certain pages to mobile versions. Ive read blog posts by Steve Sanderson and Shiju Varghese regarding Attribute usage and 51degrees.mobi. What I would like to have happen is a given page, dealer-locator,…
jason
  • 767
  • 2
  • 9
  • 24
0
votes
1 answer

51degrees.mobi, Firefox and Javascript error (ASP.NET Webform)

I am seeing some strange behavior with 51degrees.mobi library in my ASP.NET Web Forms web application. I narrowed it down to the simplest test case so you can repro it easily. Here are the steps: Create a new app in VS 2010: File -> New -> Project…
codelove
  • 1,396
  • 3
  • 17
  • 35
0
votes
1 answer

How Do I Use 51 Degrees Mobile Device Detection with a Razor Page?

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…
0
votes
1 answer

ASP.Net MVC and 51Degrees - Device Detection Issue

The code below works locally but not when hosted on the server (Win 2016). Any ideas? public abstract class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { …
0
votes
1 answer

Is 51Degree supported in Sitecore 8.2?

Before I start to jump into setting up device detection for Sitecore there is two option available 51Degree and Sitecore device detection service. I've used 51Degree for Sitecore 7.5 but not able to find any information related to the latest…
CodeBox
  • 446
  • 4
  • 19
0
votes
1 answer

Global.asax device detection with 51 degrees cloud API

Can anyone help? I want to use the free service from 51Degrees not the Lite version however the Cloud API (https://51degrees.com/compare-data-options). I am trying to set my Global.asax to have a display mode for "tablet" and "mobile" so I can use:…
0
votes
1 answer

51Degrees Mobile Redirect with formsAuthentications

I have a MVC project (.net fw 4.5) with forms authentication configured in web.config. When browsing from desktop devices all is working great; the user is being redirected to Login view. I installed '51Degrees' from 'Nuget' and set up the…
Shpongle
  • 217
  • 7
  • 16
0
votes
1 answer

set up redirection in 51 degrees asp.net library

I am an ASP.NET developer. I am developing a website for which I need redirection to my mobile pages for mobile devices. Currently, I have pages suffixed with .mobile & using default asp.net razor webpages redirection but it is outdated so i want to…
David Mani
  • 1
  • 1
  • 1