Modern mobile applications are defined by their network connectivity. A mobile app that does not interact with a web server is both a rare find and potentially a boring application. In this book, we'll use the Windows Azure cloud platform to implement a server-side backend for our XamChat application. We'll use a feature called Azure Mobile Services, which is an excellent fit for our application and has the benefit of built-in push notifications. Once we are done with this chapter, our XamChat sample application will be much closer to being a real application and will allow its users to interact with one another.
In this chapter, we will cover:
Windows Azure is an excellent cloud platform released by Microsoft in 2010. Azure provides both Infrastructure as a Service (IaaS) and Platform as a Service (PaaS) for building modern web applications and services. This means that it provides you with access to direct virtual machines within which you can deploy any operating system or software of your choice. This is known as IaaS. Azure also provides multiple platforms for building applications such as Azure websites or SQL Azure. These platforms are known as PaaS, since you deploy your software at a high level and do not have to deal directly with virtual machines or manage software upgrades.
Let's go over the following more commonly used services provided by Windows Azure:
Apart from these services, there are many more and new ones are added pretty regularly. We will use Azure Mobile Services, which leverages SQL Azure, to build our web service for XamChat. You can visit http://windowsazure.com for a full rundown of pricing and services offered.
In this book, we chose to demonstrate a solution using Windows Azure as a backend for XamChat, since it is very easy to use with Xamarin applications due to the fantastic library in the Xamarin Component Store. However, there are many more choices out there besides Azure, which you may want to consider. Xamarin does not limit the types of web services your applications can interact with.
Here are a few service providers commonly used for mobile applications:
Additionally, you can develop your own web services with on-premises web servers or inexpensive hosting services using the languages and technologies of your choice.
3.147.61.142