David Mani
David Mani

Reputation: 1

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 set up 51 degrees library to redirect to .mobile pages
Currently I have tried Using forking with Settings Which Visual Studio Adds automatically with no success

Upvotes: 0

Views: 157

Answers (1)

Iftikhar Ahmed
Iftikhar Ahmed

Reputation: 1

You can use the "IsMobile" property from the 51Degrees library and the re-direct to your .mobile page if the property is true. Can you show me a sample of the code?

Upvotes: 0

Related Questions