Storing the Big Stuff in Blob Storage
Often mobile applications need to store and retrieve large object data, typically photos and video. This is where Azure blog storage comes into play. In order to write into blob storage you need an...
View ArticleCross Platform File Storage with PCLStorage NuGet Package
Before I can get onto using the SharedAccessSignature to upload content to Blob storage I first need to generate and save content. As this relies on platform specific implementations of capturing...
View ArticleAdding Xamarin Components via Visual Studio
Sometimes you’ll want to use some of the components from the Xamarin component store. This can be done directly in Visual Studio. Right-click Components node within iOS or Android project and select...
View ArticleSimplifying Shared Access Signature Generation with the Mobile Services...
In my post Storing the Big Stuff in Blob Storage I showed you how to manually create a shared access signature. The Azure Mobile Services team have done a really nice job of making this even easier...
View ArticleSaving Image to Blob Storage Using Shared Access Signature
In this post I’m going to bring together a couple of my previous posts that discuss retrieving and saving images, and retrieving a Shared Access Signature from a controller which will allow me to...
View ArticleModifying the GET Request for the SharedAccesSignature Controller
In the previous post I noted that the code was pretty messy, particularly for the client code with a bunch of hardcoded literals. To fix this I’m going to encapsulate the full URL for blob storage into...
View ArticleFixing up the Client For Writing to Azure Blob Storage with Shared Access...
In my previous post I updated the service logic for retrieving the Shared Access Signature (SAS) to return the full Url of the blob container including the SAS. In order for this to work I also need to...
View ArticleAdding a Background Task to the Windows Platform Applications
At some point you’re likely to want to run code in the background – this might be to update live tiles, or to do periodic synchronization of data. In this post I’ll add a background task to the Windows...
View ArticleComplex Synchronization Wrapper
One of the more complex tasks in building offline-enabled (aka occasionally connected/disconnected) software is how you handle synchronization. Most synchronization frameworks typically handle...
View ArticleIntegration Synchronization Wrapper and Restructuring Application Services
So far all the Mobile Service operations, including holding the instance of the MobileServiceClient, has been done by the MainViewModel. Clearly as the application grows this is not a viable solution...
View ArticleRefactoring ViewModelLocator with Autofac
After reviewing the way that I was constructing the IDataService and ISyncService implementations I figured that I wasn’t really leveraging Autofac very well. I realised that I could refactor the...
View ArticleNavigation Service for Cross Platform Page/View Navigation from View Model
I already have a solution for allowing the view model to jump back onto the UI thread using the UIContext. However, I currently don’t have a mechanism that will allow one view model initiate navigation...
View ArticleNavigation in the WPF Application Between View Models
In my previous post I showed adding a INavigateService to facilitate navigation between view models. This included an implementation of the service for Universal applications. For WPF the...
View ArticleSynchronizing in a Background Task
Now that we have implementations for IDataService and ISyncService I can update the backgounrd task for the Windows platform applications to perform synchronization in the background. To begin with I...
View ArticleBlend Designer Error Due to Service Locator
I was just about to get started using Blend to layout a page and noticed that there was an error in the Results pane in Blend, stating that the ServiceLocatorProvider must be set. I was pretty certain...
View ArticleCreating Design Time Data in Blend for Shared XAML Pages
In a previous post I created a second page for my Universal (Windows/Windows Phone) applications which was placed in the Shared project. Unfortunately Blend doesn’t support design time data for XAML...
View ArticleAdding Logging to Client Applications using MetroLog not NLog
I wanted to add some logging to my set of applications and was somewhat disappointed to discover the complete lack of PCL support in NLog. After a quick search to find out what others are using I came...
View ArticleDifferent Cloud Environments for Development, Testing and Production
One of the aspects of developing applications that have a cloud backend that gets overlooked initially is how to separate development from test and production versions of the application. For web...
View ArticleClient Configurations for Different Mobile Service Environments
In my previous post I talked about setting up different instance of the backend cloud services. The next thing is to control which environment a given build of the client applications will point to. I...
View ArticleMigrating Data Between Blob Storage Accounts in Azure
Over the last couple of posts I’ve been talking about working with different configurations and in my previous post I noted that one of the things we had to do was to migrate some data that had been...
View Article