Skip to content

Instantly share code, notes, and snippets.

View ChrisTowles's full-sized avatar

Chris Towles ChrisTowles

View GitHub Profile

Keybase proof

I hereby claim:

  • I am christowles on github.
  • I am ctowles (https://keybase.io/ctowles) on keybase.
  • I have a public key whose fingerprint is 8833 7251 27F7 A317 B286 F627 3A49 110C C9CE 1FD4

To claim this, I am signing this object:

@ChrisTowles
ChrisTowles / AzureServerSyncModelBase.cs
Created March 7, 2016 14:58
Azure Mobile SDK Base Model for Sync Entity
using Microsoft.Azure.Mobile.Server.Tables;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace Ecrumbs.Service.Data
{
@ChrisTowles
ChrisTowles / AzureClientSyncModelBase.cs
Created March 7, 2016 14:57
Azure Mobile SDK Sync Base model for the client
using Microsoft.WindowsAzure.MobileServices;
using System;
namespace Ecrumbs.Shared.Models
{
public class AzureClientSyncModelBase
{
public AzureClientSyncModelBase()
{
Id = Guid.NewGuid().ToString();
@ChrisTowles
ChrisTowles / ActivityProfile.cs
Created March 1, 2016 15:29
Azure Mobile Sync Model - Client
using Microsoft.WindowsAzure.MobileServices;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Ecrumbs.Shared.Models
{
public class ActivityProfile
{
@ChrisTowles
ChrisTowles / ActivityProfileDto.cs
Last active March 1, 2016 15:30
Azure Mobile Sync Model - Server
using Microsoft.Azure.Mobile.Server;
using Microsoft.Azure.Mobile.Server.Tables;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Ecrumbs.Models.DataObjects
{
public class ActivityProfileDto : ITableData
{
public string AccountId { get; set; }