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.
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.
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.
How would I go about this? Does model binding help here? I also have Castle Windsor in place.