Windows Azure cloud application provide quite amazing solutions for Mobile backed services. With Azure cloud applications allows you to store structured data (files and SQL Azure) , Authentication interrogation to Mobile applications and user updates via push notifications. Specially Azure is not only for Windows (Microsoft ) Products. It supports Window 8, Windows Phone , Android and iOS with different development platforms such as native platforms and Xamarin.
Lets build first Cloud app
1. First Log in to your Azure Portal and click on New button in left corner
2. Then from prompt Select Compute -> Mobile Service-> Create
3. With the next prompt add URL for your Mobile service in URL field. With Database field if you have already created database for mobile application back end select it if it is not select option Create new SQL Database instance or Create Free 20MB SQL Database Option
Select your region and what kind of backed you need to have. it has .NET and Javascript backed. Choose your choise
If you plan to include Push notification with your app tick on Advanced Push Notification Check box
4. If you checked Advanced Push Notification Check box this step you find the Push Notification Settings prompt. Azure notification hub is cross platform push notification service that can simultaneously broadcast notifications across the devices.
Create namespace to notification service and name your push notification Hub
5. Then you can define the Database Settings. You can define new database name , If you already have database server select it or else create new database server and give the credentials for it as you want.
If you need to make advanced changes to the database tick on Configure Advanced Database Settings Check box.
With Advanced database settings you can limit the database capacity and define the character encoding for the data
Then our web service is up and it take few seconds to configure and make it online
Once our Service is created the screen is like this
Select the platform that you need to create app that using this service and scroll down to to GET STARTED area.
Expand the Create new App. (this depend on what you select in Choose Platform Area Select the language C# or JavaScript and download the applicattion.
Run it and enjoy your first cloud app
Lets build first Cloud app
1. First Log in to your Azure Portal and click on New button in left corner
2. Then from prompt Select Compute -> Mobile Service-> Create
Select your region and what kind of backed you need to have. it has .NET and Javascript backed. Choose your choise
If you plan to include Push notification with your app tick on Advanced Push Notification Check box
4. If you checked Advanced Push Notification Check box this step you find the Push Notification Settings prompt. Azure notification hub is cross platform push notification service that can simultaneously broadcast notifications across the devices.
Create namespace to notification service and name your push notification Hub
5. Then you can define the Database Settings. You can define new database name , If you already have database server select it or else create new database server and give the credentials for it as you want.
If you need to make advanced changes to the database tick on Configure Advanced Database Settings Check box.
With Advanced database settings you can limit the database capacity and define the character encoding for the data
Then our web service is up and it take few seconds to configure and make it online
Once our Service is created the screen is like this
Select the platform that you need to create app that using this service and scroll down to to GET STARTED area.
Expand the Create new App. (this depend on what you select in Choose Platform Area Select the language C# or JavaScript and download the applicattion.
Run it and enjoy your first cloud app
1 comments:
Such an informative post. Thank you for sharing
Mobile Solution For Azure
Post a Comment