Free Sample
+ Collection

ASP.NET MVC 4 Mobile App Development

Andy Meadows

If your skill-sets include developing in C# on the .NET platform, this tutorial is a golden opportunity to extend your capabilities into mobile app development using the ASP.NET MVC framework. A totally practical primer.
RRP $26.99
RRP $44.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849687362
Paperback356 pages

About This Book

  • Learn and utilize the latest Microsoft tools and technologies to develop mobile web apps with a native feel
  • Create web applications for the traditional and mobile web
  • Discover techniques used to overcome the pitfalls of developing Internet-ready apps

Who This Book Is For

This book is targeted at people who are familiar with C# development on the .NET platform and are interested in web development with the ASP.NET development framework. No prior web or mobile development experience is required.

Table of Contents

Chapter 1: Developing for the Mobile Web
History of the mobile web
Continued development constraints
Viewing the mobile web
Support for the mobile web in ASP.NET MVC 4
Chapter 2: Homebrew and You
Understanding the homebrew domain
About our mobile app
The BrewHow solution
Chapter 3: Introducing ASP.NET MVC 4
The Model-View-Controller pattern
The MVC pattern and ASP.NET MVC 4
Chapter 4: Modeling BrewHow in EF5
What's new in Entity Framework 5.0?
The BrewHow model
Chapter 5: The BrewHow Domain and Domain-driven Design
Tenets of DDD
BrewHow design
Chapter 6: Writing Maintainable Code
The SOLID principles
SOLIDifying BrewHow
Chapter 7: Separating Functionality Using Routes and Areas
Chapter 8: Validating User Input
Data validation
Cross-Site Request Forgery (CSRF)
Cross-Site Scripting (XSS)
Chapter 9: Identifying and Authorizing Users
User authentication
Authenticating BrewHow users
Chapter 10: Asynchronous Programming and Bundles
Asynchronous programming
Chapter 11: Coding for the Real-time Web
Simulating a connected state
Real-time recipe updates
Chapter 12: Designing Your App for Mobile Devices
The viewport meta tag
A responsive design
Chapter 13: Extending Support for the Mobile Web
Mobile views
Display modes
Chapter 14: Improving the User Experience with jQuery Mobile
Installing jQuery Mobile
jQuery Mobile's layout
Mobilizing BrewHow
Chapter 15: Reader Challenges
Full-text search
Going native

What You Will Learn

  • Understand the differences between developing traditional web apps and apps targeting the mobile web
  • Learn to use the conventions and configurations used by Entity Framework 5.0 to tailor our model to suit our requirements
  • Secure your apps and protect your users from Internet attacks like XSS and CSRF
  • Familiarize yourself with HTML 5 and CSS 3 to develop next-generation web apps
  • Socialize your app using SignalR and WebSockets to provide real-time features to your users
  • Create highly-optimized multi-threaded mobile apps using the new async and await keywords and content bundles

In Detail

The ASP.NET MVC 4 framework is used to build scalable web applications with the help of design patterns and .NET Framework. The Model-View-Controller (MVC) is a design principle which separates the components of a web application. This separation helps you to modify, develop, and test different components of a web application.

ASP.NET MVC 4 Mobile App Development helps you to develop next generation applications, while guiding you to deal with the constraints the mobile web places on application development. By the end of the book, you will be well versed with all the aspects of mobile app development.

ASP.NET MVC 4 Mobile App Development introduces you to developing mobile web apps using the ASP.NET MVC 4 framework. Walking you through the process of creating a homebrew recipe sharing application, this book teaches you the fundamentals and concepts relevant to developing Internet-ready mobile-enabled web apps. Through the sample application, you will learn how to secure your apps against XSS and CSRF attacks, open up your application to users using third party logins such as Google or Facebook, and how to use Razor, HTML 5, and CSS 3 to create custom views and content targeting mobile devices. Using these custom views, you will then learn how to create web apps with a native mobile device feel using jQuery mobile. By the end of the book, you will be presented with a set of challenges to prove to yourself that you now have the skills to extend your existing web applications to the mobile web or create new mobile web apps.


Read More