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
2
votes
2 answers

Cross device web application with ASP.NET MVC

I am currently working on an ASP.NET MVC webshop that must be optimized for mobile devices, especially tablets and smartphones. This is for our client at work, but I am doing a little research on ASP.NET MVC Device Detection at home. I created a…
2
votes
2 answers

51degreee foundation - not redirection for new mobile

In asp.net the 51degree is not detecting new useragent. User-Agent: Mozilla/5.0 (Linux; U; Android 4.0.3; en-us; EVO Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 How can I ensure that new mobiles are also…
user1124707
  • 135
  • 1
  • 11
2
votes
1 answer

OutputCache has no effect

I'm back on a MVC app where I thought that output caching was working as expected. However, while revisiting it, I see that the OutputCache attribute I use has no effect (Duration is set to a high value). Whether I add it or not, the breakpoint in…
Nicolas Cadilhac
  • 4,680
  • 5
  • 41
  • 62
1
vote
1 answer

51degrees and iis caching, mvc3, potential issue with output

I've noticed this during debugging and want to make sure it wont happen in production: I've implemented a mobile version of my website, using the 51degrees library with my MVC3 based app. I'm not using a customized url or subdomain, so each request…
Brady Moritz
  • 8,624
  • 8
  • 66
  • 100
1
vote
2 answers

Programmatically enable/disable 51Degrees redirection per request

In a nutshell, I'm trying to figure out how to programmatically enable and disable the redirection for mobile phones, based on a session value, on a per request basis (not statically for everyone). Here's the back story: I'm currently using…
Adam
  • 3,063
  • 5
  • 35
  • 49
1
vote
1 answer

newDevicesURL property of wurfl element in config file not working

newDevicesURL is mentioned as optional. Even if we remove it or set newDevicesURL="" , it internally calls the http://devices.51degrees.mobi/new.ashx service. This was observed in fiddler. Please suggest on how can I avoid these calls at all. I do…
Nutan Jayavant
  • 121
  • 1
  • 4
1
vote
1 answer

Performance Of 51Degrees Mobi Foundation 1.2.0.5

When I run visual studio 2010's performance wizard for CPU utilization of my site it shows me 51 degrees related call tree as a hot path. My application is MVC3 Razor. Please let me know are there any known performance issues of 51degrees Mobi…
Nutan Jayavant
  • 121
  • 1
  • 4
1
vote
2 answers

Detecting tab using 51Degrees.mobi Foundation

I am trying out to detect the Ipad or Samsung Galaxy Tab or any other Tab using 51Degrees.mobi Foundation library. I am using Request.Browser["is_tablet"] but it is returning me false. Is there any one who knows if this is the known issue or I am…
1
vote
1 answer

How do I add a non-standard user-agent to my wurfl file?

TweetMeme's bot uses a custom user-agent (below) that my 51foundation mobile sniffing thinks is a mobile browser. Does anyone know how to patch the wurfl file to prevent this? -Thanks User-Agent: Mozilla/5.0 (compatible; MSIE 6.0b; Windows NT 5.0)…
Randy
  • 11
  • 1
1
vote
1 answer

Redirect to mobile site using ASP.NET 3.5

I want the user to be redirected to a mobile version of my website if they are on a mobile or tablet. I was hoping to use 51 Degrees but they said it needs to be .net 4.0 to work and i cant upgrade from 3.5. Does anyone know of any ways of fixing…
Gazza T
  • 101
  • 2
  • 13
1
vote
1 answer

51 Degrees Mobi keeps doing unwanted redirects. How to stop?

I just recently installed the 51 Degrees Mobi Nuget packages to Visual Studio 2015. I have come across an annoying feature that I am not able to figure out how to turn off. When I browse to my site with a mobile device, it automatically redirects…
Dave
  • 2,473
  • 2
  • 30
  • 55
1
vote
2 answers

414 (request-uri too long) in ASP .NET MVC only on devices - 51 Degrees Device Detection?

I am relying on @Request.Browser.IsMobileDevice to differentiate the visitors to an ASP .NET MVC website. I am using 51 Degrees library. However when browsing some images from mobile devices, I have the error 414 (request-uri too long). On the PC,…
Yahia
  • 805
  • 7
  • 25
1
vote
1 answer

51 degrees how do not detect IPad as mobile device

I have my .net mvc4 application with area named "Mobile", in my web.config file 51 degrees configured to redirect mobile devices to this area :
freethinker
  • 2,257
  • 4
  • 26
  • 49
1
vote
1 answer

How to cast a variable to degrees?

I'm trying to convert the variable tri2 to degress by wrapping it in the toDegree() and setting it to a new variable called triDegree. But when I cast the variable and run the application I get the following in my logcat:…
Brian Var
  • 6,029
  • 25
  • 114
  • 212
1
vote
0 answers

51Degrees and caching: Getting desktop experience on mobile

I'm having a problem with the desktop version of my site (MVC4) being served up to mobile devices. I have output caching enabled for my homepage. In the cache directive I have VaryByCustom="Browser" set. I think the problem has to do with the…
PeaceFrog
  • 727
  • 1
  • 6
  • 14