29 September, 2012

Announcing Windows Azure Mobile Services



Windows Azure Mobile Services makes it incredibly easy to connect a scalable cloud backend to your client and mobile applications.  It allows you to easily store structured data in the cloud that can span both devices and users, integrate it with user authentication, as well as send out updates to clients via push notifications.
Today’s release enables you to add these capabilities to any Windows 8 app in literally minutes, and provides a super productive way for you to quickly build out your app ideas.  We’ll also be adding support to enable these same scenarios for Windows Phone, iOS, and Android devices soon.
Read this getting started tutorial to walkthrough how you can build (in less than 5 minutes) a simple Windows 8 “Todo List” app that is cloud enabled using Windows Azure Mobile Services.  Or watch this video of me showing how to do it step by step.

Getting Started

If you don’t already have a Windows Azure account, you can sign up for a no-obligation Free Trial.  Once you are signed-up, click the “preview features” section under the “account” tab of the www.windowsazure.com website and enable your account to support the “Mobile Services” preview.   Instructions on how to enable this can be found here.
Once you have the mobile services preview enabled, log into the Windows Azure Portal, click the “New” button and choose the new “Mobile Services” icon to create your first mobile backend.  Once created, you’ll see a quick-start page like below with instructions on how to connect your mobile service to an existing Windows 8 client app you have already started working on, or how to create and connect a brand-new Windows 8 client app with it:


Read this getting started tutorial to walkthrough how you can build (in less than 5 minutes) a simple Windows 8 “Todo List” app  that stores data in Windows Azure.

Storing Data in the Cloud

Storing data in the cloud with Windows Azure Mobile Services is incredibly easy.  When you create a Windows Azure Mobile Service, we automatically associate it with a SQL Database inside Windows Azure.  The Windows Azure Mobile Service backend then provides built-in support for enabling remote apps to securely store and retrieve data from it (using secure REST end-points utilizing a JSON-based ODATA format) – without you having to write or deploy any custom server code.  Built-in management support is provided within the Windows Azure portal for creating new tables, browsing data, setting indexes, and controlling access permissions.



This makes it incredibly easy to connect client applications to the cloud, and enables client developers who don’t have a server-code background to be productive from the very beginning.  They can instead focus on building the client app experience, and leverage Windows Azure Mobile Services to provide the cloud backend services they require.  
 
Below is an example of client-side Windows 8 C#/XAML code that could be used to query data from a Windows Azure Mobile Service.  Client-side C# developers can write queries like this using LINQ and strongly typed POCO objects, which are then translated into HTTP REST queries that run against a Windows Azure Mobile Service.   Developers don’t have to write or deploy any custom server-side code in order to enable client-side code below to execute and asynchronously populate their client UI:
 
Because Mobile Services is part of Windows Azure, developers can later choose to augment or extend their initial solution and add custom server functionality and more advanced logic if they want.  This provides maximum flexibility, and enables developers to grow and extend their solutions to meet any needs.

User Authentication and Push Notifications

Windows Azure Mobile Services also make it incredibly easy to integrate user authentication/authorization and push notifications within your applications.  You can use these capabilities to enable authentication and fine grain access control permissions to the data you store in the cloud, as well as to trigger push notifications to users/devices when the data changes.  Windows Azure Mobile Services supports the concept of “server scripts” (small chunks of server-side script that executes in response to actions) that make it really easy to enable these scenarios.
Below are some tutorials that walkthrough common authentication/authorization/push scenarios you can do with Windows Azure Mobile Services and Windows 8 apps:

Manage and Monitor your Mobile Service

Just like with every other service in Windows Azure, you can monitor usage and metrics of your mobile service backend using the “Dashboard” tab within the Windows Azure Portal.


The dashboard tab provides a built-in monitoring view of the API calls, Bandwidth, and server CPU cycles of your Windows Azure Mobile Service.   You can also use the “Logs” tab within the portal to review error messages.  This makes it easy to monitor and track how your application is doing.

Scale Up as Your Business Grows

Windows Azure Mobile Services now allows every Windows Azure customer to create and run up to 10 Mobile Services in a free, shared/multi-tenant hosting environment (where your mobile backend will be one of multiple apps running on a shared set of server resources).  This provides an easy way to get started on projects at no cost beyond the database you connect your Windows Azure Mobile Service to (note: each Windows Azure free trial account also includes a 1GB SQL Database that you can use with any number of apps or Windows Azure Mobile Services).
If your client application becomes popular, you can click the “Scale” tab of your Mobile Service and switch from “Shared” to “Reserved” mode.  Doing so allows you to isolate your apps so that you are the only customer within a virtual machine.  This allows you to elastically scale the amount of resources your apps use – allowing you to scale-up (or scale-down) your capacity as your traffic grows:

 
With Windows Azure you pay for compute capacity on a per-hour basis – which allows you to scale up and down your resources to match only what you need.  This enables a super flexible model that is ideal for new mobile app scenarios, as well as startups who are just getting going. 

Summary

I’ve only scratched the surface of what you can do with Windows Azure Mobile Services – there are a lot more features to explore.  

With Windows Azure Mobile Services you’ll be able to build mobile app experiences faster than ever, and enable even better user experiences – by connecting your client apps to the cloud.

Visit the Windows Azure Mobile Services development center to learn more, and build your first Windows 8 app connected with Windows Azure today.  And read this getting started tutorial to walkthrough how you can build (in less than 5 minutes) a simple Windows 8 “Todo List” app that is cloud enabled using Windows Azure Mobile Services.

Hope this helps.

Curtsey: http://weblogs.asp.net/scottgu


17 comments:

  1. Great announcement for mobile users! For flexible storage options, GroupDocs now provides integration with Windows Azure. For more information, click http://groupdocs.com/blog/groupdocs-document-management/archive/2012/09/28/announcing-windows-azure-integration-with-groupdocs-document-management-solutions.html

    ReplyDelete
  2. our Nail Bar is a specialty beauty salon establishment that primarily offers nail care services such as manicures, pedicures, and nail enhancements. Often, Nail Bar also offer skin care services.

    ReplyDelete
  3. Hoω much more will youг busin&X65;ss
    mа&X6B;e if you w&X65;re аble to climb th&X6f;se mystical ѕ&X65;arch engine ranking&X73;.
    Εxamine how yοu caan set uρуour signature
    file so that it &X70;rovidеs good &X62;аcklinks
    in addition too high q&X75;ality traffic also.

    This back link wіll raise у&X6F;&X75;r page ranking
    so&X6d;eωhat if your comment іs included among the
    first 100 οnes. Softωare iss designed to automate &X74;he proс&X65;ss for
    y&X6F;u. 0 web sites sο you сan buy yourweb-site tо &X61;
    ѕ&X6F;lo of them. &X4c;ink buil&X64;ing &X62;y
    the use ο&X66; con&X74;ent writing serνiсes is an important stеp in making a websіte functional f&X6F;r two imp&X6F;гtant reasons.


    Also visit my homepagе :: windows 8 download full version

    ReplyDelete
  4. Right now, this very second, you may be wondering, "What do I say to get my girlfriend back. Have you recently split up with your ex girlfriend. Trust me, if you're excited about what you're saying then the girl is going to be interested too.

    Feel free to visit my web-site :: Joshua Pellicer

    ReplyDelete
  5. Howdy would you mind letting me know which web host you're
    utilizing? I've loaded your blog in 3 completely different web browsers and
    I must say this blog loads a lot quicker then most.
    Can you recommend a good internet hosting provider at a reasonable
    price? Cheers, I appreciate it!

    Also visit my blog post :: homepage

    ReplyDelete
  6. Thanks for the good writeup. It in truth was once
    a amusement account it. Look complicated to more brought
    agreeable from you! By the way, how can we keep up a correspondence?


    Here is my web-site: Library Movers

    ReplyDelete
  7. whoah this blog is fantastic i like reading your posts.
    Keep up the great work! You already know, a lot of persons are
    looking round for this info, you could help them greatly.


    Here is my blog post garcinia cambogia side effects

    ReplyDelete
  8. Wonderful beat ! I wold lke to apprentice whilst you amend your
    website, how can i subscribe for a blog website? The account aided me a acceptable deal.
    I had been a little bit familiar of this your broadcast provided shiny
    clear concept

    Here is my blog post minecraft minecraft servers for dummies

    ReplyDelete
  9. hey there and thank you for your info – I have definitely picked up anything new from right here.
    I did however expertise a few technical points
    using this website, since I experienced to reload the website
    a lot of times previous to I could get it to load correctly.
    I had been wondering if your hosting is OK? Not that I am complaining,
    but sluggish loading instances times will very frequently affect your placement in google and can damage your high quality score if ads and marketing
    with Adwords. Well I am adding this RSS to my email and can
    look out for much more of your respective fascinating content.
    Make sure you update this again very soon.

    my blog - minecraft Smp Servers

    ReplyDelete
  10. My coder is trying to convince me too move to .net from PHP.
    I have always disliked the ieea because of the
    costs. But he's tryiong none thhe less. I've been using Movable-type on sevferal websites for about a year and
    am nervous about switching to another platform. I have heard
    great things about blogengine.net. Is there a way I can impport
    all my wordpress content into it? Any kinjd of help wluld be greatly appreciated!


    Also visit my webpage ... best minecraft servers ever 1.6.2; ,

    ReplyDelete
  11. Neat blog! Is your theme custom made or did you download it from somewhere?
    A theme like yours with a few simple tweeks would really make my blog stand
    out. Please let me know where you got your theme. Thanks a lot

    Here is my web site minecraft servers to join oqueue ()

    ReplyDelete
  12. excellent pput up, very informative. I wonder why the otherr pecialists oof this sector do not
    understand this. Youu should continue your writing.I'm confident, you've a great readers' base already!


    Here is my web-site minecraft servers 1.5.2 to join today

    ReplyDelete
  13. I like the valuable info you provide in your articles.
    I will bookmark your weblog and check again here regularly.
    I'm quite certain I'll learn many new stuff right here! Best of luck for the
    next!

    My site :: minecraft server port

    ReplyDelete
  14. I don't know if it's just me or if everyone else
    experiencing problems with your website. It seems like some of the written text in your
    content are running off the screen. Can somebody else please provide feedback and let me know if this
    is happening to them too? This might be a problem with my browser because I've had this happen before.
    Appreciate it

    Also visit my homepage: Home Invasion Millburn NJ

    ReplyDelete
  15. I wanted to thank you for this excellent read!!
    I absolutely enjoyed every bit of it. I've got you book marked to look at new stuff you post…

    Look into my web site - student violin

    ReplyDelete

Your feedback is always appreciated. I will try to reply to your queries as soon as possible- Amol Ghuge

Note: Only a member of this blog may post a comment.