title: ASP.net MVC: Creating SelectList in the view or action?
body: <p>I'm just wondering where people are creating their SelectList - in the action or the view. </p>
  
  <p>I have seen examples of both and the one that makes the most sense to me is doing it in the action and have the view model have a property of type SelectList. </p>
  
  <p>On the other hand, I have seen examples where people have the view model have a property of SelectList and the SelectList is populated within the view model (either in the constructor or via lazy loading). I like this idea as it means there is less code in my actions... </p>
  
  <p>In short I was just wondering what people are doing atm.</p>
  
  <p>Cheers Anthony</p>