Optimization of ASP.NET applications. IPhone and Android applications for ASP.NET applications.

I have an ASP.NET application (not MVC).

I would like to create a version optimized for browsers on the iPhone and on Android.

Some questions

  • Is it possible to detect IPhone / Android when accessing the site.
  • Are there any problems / tips for developing ASP.NET for these devices.
+4
source share
2 answers

We use a combination of .net webforms and jQuery mobile .

For our viewstate, it was pretty well sterilized, so only minor things go to the device.

Keep in mind that there are about 3 different mobile api. Each of them has its drawbacks. You can study them.

In addition, we took the approach that the mobile site was a completely different site than our standard one. When the user arrives, we make some nuances of the browser and click them on the mobile, if it matches the link, to return to the full one if they want.

+3
source

Webforms is not suitable for mobile devices, it generates large pages because viewstate. And you cannot control the rendering (some more .net4).

You can detect the device using db features like WURFL (I recommend 51degrees ) o maybe using some like http://detectmobilebrowser.com/

I do not know what webapp is, but you can create a new application, possibly using MVC. Check out this resource .

0
source

All Articles