Skip to content

Instantly share code, notes, and snippets.

@pauldambra
Created January 12, 2012 12:01
Show Gist options
  • Save pauldambra/1600123 to your computer and use it in GitHub Desktop.
Save pauldambra/1600123 to your computer and use it in GitHub Desktop.
custom profile
using System;
using System.Web.Profile;
namespace AcrHack.Models
{
public class CustomProfile : ProfileBase
{
//magic string
public static string ADDRESS = "address";
public string Address
{
get { return this[ADDRESS] as String; }
set { this[ADDRESS] = value; }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment