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 ...

Get Pro ASP.NET 4.5 in C#, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.