Skip to content
ferventcoder edited this page Jun 16, 2011 · 7 revisions

Order of the roles is IMPORTANT
The most important thing to note is that when you have set your roles, the one that is first in the code gets executed first.

public class TwoRoleDeploy : Deployment<TwoRoleDeploy, SampleConfiguration>
{
  //order is important, first one here gets executed first
  public static Role Web { get; set; }
  public static Role Db { get; set; }
}
Clone this wiki locally