Quantcast
Channel: Nick's .NET Travels
Browsing all 643 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

Cross 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 Article


Image may be NSFW.
Clik here to view.

Adding 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 Article

Image may be NSFW.
Clik here to view.

Simplifying 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 Article

Image may be NSFW.
Clik here to view.

Saving 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 Article


Image may be NSFW.
Clik here to view.

Modifying 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 Article

Image may be NSFW.
Clik here to view.

Fixing 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 Article

Image may be NSFW.
Clik here to view.

Adding 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 Article


Image may be NSFW.
Clik here to view.

Complex 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 Article


Image may be NSFW.
Clik here to view.

Integration 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 Article

Image may be NSFW.
Clik here to view.

Refactoring 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 Article

Image may be NSFW.
Clik here to view.

Navigation 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 Article

Image may be NSFW.
Clik here to view.

Navigation 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 Article


Image may be NSFW.
Clik here to view.

Synchronizing 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 Article

Image may be NSFW.
Clik here to view.

Blend 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 Article


Image may be NSFW.
Clik here to view.

Creating 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 Article

Image may be NSFW.
Clik here to view.

Adding 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 Article


Image may be NSFW.
Clik here to view.

Different 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 Article

Image may be NSFW.
Clik here to view.

Client 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 Article

Image may be NSFW.
Clik here to view.

Migrating 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
Browsing all 643 articles
Browse latest View live