Azure Mobile Services .NET backend – Found conflicts between different versions of the same dependent assembly

If you get an error similar to this: Changed service health to ‘Critical’ (Service is unhealthy. Please check the service logs to determine the issue and how to correct it.) And you check the logs in your dashboard and see similar to this: Found conflicts between different versions of the same dependent assembly ‘Microsoft.WindowsAzure.Storage’: 4.2.1.0….

0

Charlotte Azure Partner Boot Camp Links for Mobile Services

  Mapping types: Mapping between Database Types and Client Types in the .NET Backend using AutoMapper AutoMapper – http://automapper.org/ Sales Assistant – Sample Walkthrough: Attaching an Azure SQL database to your .NET Backend Connect to an on-premises SQL Server from an Azure mobile service using Hybrid Connections http://azure.microsoft.com/blog/topics/mobile/ Retrieving data from 1:n relationship using .NET…

0

Cannot upload xap error: 2004

Just a quicky post… This is only ONE reason you may have gotten this error and I wanted to share this.  If this does not solve your issue engage the forums or get assisted support from your developer dashboard. I had a customer that was getting this error when uploading his xap file:  error: 2004: …

0

Walkthrough: Attaching an Azure SQL database to your .NET Backend

Overview I needed to attach an existing Azure SQL database to my .NET Backend.  This will allow me to expose existing data using the Azure Mobile Service I have defined.  This will walk you through the steps I took and get you on your way! Setup Create a new Mobile Service or download the starter…

12

Always Drop and Create Local Database .NET Backend for Azure Mobile Services

In my early testing I wanted to always seed my Local Database.  By default the db was only dropped and reseeded if you changed the models.  There is a simple code change to do this. In WebApiConfig.cs change the class implementing IDatabaseInitializer that you pass into Database.SetInitializer from DropCreateDatabaseIfModelChanges to DropCreateDatabaseAlways Example Previous (only updated…

0

Creating a WebSite for Polling Live Tiles

You can very easily have your app Poll for Live Tiles.  What is cool about that is that you don’t have to register for Push Notifications and you can easily show updates to all users of your apps with low overhead.  Also, the user never has to run your app for Live Tiles to update….

0

Create a Staging .NET Backend for Testing

Debugging on your Live Service is bad!  For instance if you are breaking in the debugger while one of your users is trying to get data, that call will likely timeout.  Also it is difficult to isolate an issue if multiple unplanned requests are coming into your service.  If you have some things you need…

0

.NET Backend helpful links

  Quickstart: Add a mobile service (.NET backend) – covers debugging etc… Use this for debugging first. How to use controllers to access data in mobile services (.NET backend) – Shows how to add new Tables and Models How to create custom APIs and scheduled jobs in a mobile service (.NET backend) Mobile Services .NET…

0

How to use Fiddler with Windows Azure Mobile Services .NET (Preview) Backend

I was using the Windows Azure Mobile Services .NET (Preview) Backend and wanted to see the HTTPS traffic.  I found the best way is to use Fiddler and modify the application so it will send traffic through the Fiddler proxy.  By default Fiddler will not catch the localhost traffic so you need to do a…

1

PowerShell Script to backup Windows Azure Mobile Services scripts

Listing for a PowerShell Script to backup Windows Azure Mobile Services scripts and configuration information.  I will get something more complete up on the Script Repository this next month!  This also assumes you have set your subscription active using Windows Azure PowerShell.  See How to install and configure Windows Azure PowerShell for more information. function…

0