views:

129

answers:

2

Hi all,

I'm looking to write an ASP.Net MVC ActionFilter to redirect users of mobiles that aren't in the ambiguos smartphone category to our WAP site. Does anyone know of such code out there?

I've found http://detectmobilebrowser.com/, http://mdbf.codeplex.com/ and http://www.51degrees.mobi/Products/NETMobileAPI already. I prefer the first one's simple use of the useraget as this is a low priority redirect but it doesn't distingues between mobiles and smartphones.

Thanks, Denis

+2  A: 

I've only used the MDBF for detecting mobile devices but there is a good example if you download the latest version of nerd dinner from Codeplex. This has a mobile view engine set up to show you how its down. Also Scott Hanselman put an example on his blog here.

Simon G
+1  A: 

Regarding Mobile Device Browser File:

Quote: "Due to the organizational restructuring of the team that developed and supported the Mobile Device Browser file, we will no longer have the resources to support and update this CodePlex project. The team will be providing two more releases – one on the 27th July 2010 and the final release on the 24th August 2010."

Lucifer