O'Reilly logo

Pro ASP.NET 4.5 in C#, Fifth Edition by Mario Szpuszta, Matthew MacDonald, Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 42

image

Targeting Mobile Devices

In this chapter, the last chapter in the book, we show you the ASP.NET Framework facilities that are available for targeting different kinds of devices. Mobile devices are increasingly powerful and their browsers are ever more standards compliant, but capabilities vary and not all browsers render consistently—and not all HTML makes the best use of device features.

There are three basic approaches you can take to dealing with mobile devices when writing a web application. We describe each approach in the sections that follow. The first approach is the simplest: Do nothing and treat mobile devices and desktop ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required