title: RenderPartial and data passing in MVC
body: <p>I am developing a site similar to a portal with loads of individual portlets. There is an Overview page and the view calls Html.RenderPartial for about 10 other shared views. All those views are strongly typed and expect some data. So, I have portlets for chat, messages, status and so on. </p>
  
  <p>All this data depends only on the currently logged in user. 
  So, partial view one would need IChatRepository, partial view two IMessageRepository and so on. </p>
  
  <p>Question: How do I pass this to the views? I could pass all this data to the Overview view but it doesn't really need it. </p>
  
  <p>How would I go about this? Does model binding help here? I also have Castle Windsor in place.</p>