O'Reilly logo

Professional Cross-Platform Mobile Development in C# by Kenny Goers, Ben Horgen, John Hunter, Scott Olson

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 7

Designing and Building Data Services

What's In This Chapter?

  • Understanding web services
  • Choosing between SOAP and REST
  • Designing services for mobile applications
  • Optimizing services for mobile data access
  • Creating logical resource endpoints
  • Extending your services into the enterprise

Now that you've written your shared application, and built one or more containers for your targeted platforms, you need a way to get information from both your enterprise databases and other back-end systems for consumption on your mobile devices. In this chapter you learn how to build web services that are optimized for mobile applications. You explore examples of both traditional SOAP and RESTful techniques and learn to build services that mirror your application design to best serve data to your application. Finally, you examine techniques for customizing and limiting the volume of data returned to your application according to mobile best practices.

Understanding Web Services Principles

Web services and Service Oriented Architectures (SOAs) have become ubiquitous in most large companies. The proliferation of web applications over the past decade or two has resulted in the need for integration between heterogeneous systems in most enterprises. Because SOAs are based upon clear standards with implementations available for the most popular enterprise development frameworks and technologies, they have become the standard for moving information around most organizations.

Generally, two ...

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