Mobile ASP.NET MVC 5 [electronic resource] /
Sowell, Eric.author.
Mobile ASP.NET MVC 5 will take you step-by-step through the process of developing fluid content that adapts its layout to the client device using HTML, JavaScript and CSS, and responsive web design. This book introduces server-side techniques that allow you to show different content to different devices and make the most of their strengths and capabilities. Mobile ASP.NET MVC 5 includes a wide range of techniques, tips, and guidelines for dealing with some of the challenges of mobile web development, such as browser incompatibilities, varying device performance, and targeting older devices. You’ll learn to: Use responsive principles to build apps that display and perform well on a range of mobile devices. Leverage your server-side code to customize what you serve to the client, depending on its capabilities. Build an ASP.NET MVC custom view engine, use display modes effectively, and create reusable mobile components with custom HTML helpers. Make the most of new capabilities offered on some devices by interacting with native APIs. By the end of Mobile ASP.NET MVC 5, you should feel confident building web apps that successfully target anything from an iOS or Android device to a feature phone or an older mobile browser. Along the way, you'll learn about the modern mobile web landscape and how to choose the approaches that are right for you, depending on your target audience. This book is for the ASP.NET developer who knows how ASP.NET MVC works and is eager to learn how to use it for building mobile websites.
""Contents at a Glance""; ""Contents""; ""About the Author""; ""About the Technical Reviewer""; ""Acknowledgments""; ""Introduction""; ""Chapter 1: The Basics of Responsive Web Design""; ""Is This for Developers?""; ""Getting Started""; ""Losing that Fixed Fixation""; ""A Flexible Layout""; ""Flexible Content""; ""CSS Media Queries""; ""The Viewport Meta Tag""; ""Incompatibilities""; ""Retina Screens""; ""Summary""; ""Chapter 2: CSS Layout Bootcamp""; ""First Steps""; ""The Basic Rules""; ""Display: Block, Inline, and Inline Block""; ""Floats""
""CSS Rule #6 Always set an explicit width for floated elements so they will behave consistently.""""Collapsing Containers""; ""Calculating Width""; ""Box-Sizing""; ""Laying Out a Page in CSS""; ""Creating a Page with a Sidebar""; ""Adding Some Padding""; ""Consistent Columns""; ""Display Like a Table without a Table""; ""Faux Columns""; ""Creating a Horizontal Menu in CSS""; ""Laying Out the Menu Using Floats""; ""Laying Out the Menu Using Display: Inline-block""; ""Summary""; ""Chapter 3: Flexible Layouts""; ""Setting up a New Responsive ASP.NET MVC Site""
""Revisiting the Three-Column Layout""""Making Our Three-Column Layout Flexible""; ""Creating Space""; ""Adding Borders""; ""What about Older Browsers?""; ""A Two-Column Layout""; ""A Ten-Column Layout with Header and Footer""; ""Summary""; ""Chapter 4: Flexible Navigation""; ""Making the Horizontal Menu Vertical""; ""Moving the Menu to the Bottom""; ""Turning the Menu into a Select""; ""Creating Accordion-Style Navigation at the Top""; ""Creating Off-Canvas Flyout Navigation""; ""Summary""; ""Chapter 5: Flexible Content""; ""Flexible Text""; ""Em""; ""Rem""; ""Line Height""
""Responsive Text""""Flexible Tables""; ""Plain Tables""; ""Scrolling Table""; ""De-table the Table""; ""FooTable""; ""Flexible Video""; ""HTML5 Video""; ""Default Behavior""; ""Setting Max-width: 100 Percent""; ""Is It That Easy?""; ""Embedding Video""; ""Setting Max-width: 100 Percent""; ""Change the Dimensions with a Script""; ""Flexible Images""; ""The Problems""; ""Solving for Image Size""; ""Solving for Resolution and Bandwidth""; ""The Picture Element and Picturefill""; ""How Practical Is All This?""; ""Summary""; ""Chapter 6: Display Modes, View Engines, and Html Helpers""
""Mobile Views""""Step 1: Create an Empty ASP.NET MVC 4 or 5 Site""; ""Step 2: Create the HomeController""; ""Step 3: Create the View""; ""Step 4: Create a Layout""; ""Step 5: Create the CSS and JavaScript""; ""Step 6: Create our Mobile Overrides""; ""DisplayModes""; ""Setting Up a Windows Phone 8 DisplayMode""; ""Custom View Engine""; ""Adding A/B Testing""; ""HtmlHelpers""; ""Summary""; ""Chapter 7: Device and Feature Detection""; ""Device Detection""; ""Parsing User Agent Strings with WURFL""; ""Abstracting WURFL""; ""Feature Detection""; ""Practical Feature Detection""
""Device Detection versus Feature Detection""
Includes index.
Mobile ASP.NET MVC 5 will take you step-by-step through the process of developing fluid content that adapts its layout to the client device using HTML, JavaScript and CSS, and responsive web design. This book introduces server-side techniques that allow you to show different content to different devices and make the most of their strengths and capabilities. Mobile ASP.NET MVC 5 includes a wide range of techniques, tips, and guidelines for dealing with some of the challenges of mobile web development, such as browser incompatibilities, varying device performance, and targeting older devices. You’ll learn to: Use responsive principles to build apps that display and perform well on a range of mobile devices. Leverage your server-side code to customize what you serve to the client, depending on its capabilities. Build an ASP.NET MVC custom view engine, use display modes effectively, and create reusable mobile components with custom HTML helpers. Make the most of new capabilities offered on some devices by interacting with native APIs. By the end of Mobile ASP.NET MVC 5, you should feel confident building web apps that successfully target anything from an iOS or Android device to a feature phone or an older mobile browser. Along the way, you'll learn about the modern mobile web landscape and how to choose the approaches that are right for you, depending on your target audience. This book is for the ASP.NET developer who knows how ASP.NET MVC works and is eager to learn how to use it for building mobile websites.
Active server pages.
Microsoft .NET Framework.
Microsoft software.
Microsoft .NET Framework.
Software engineering.
Microsoft and .NET.
Software Engineering/Programming and Operating Systems.