In views i`m passing model strongly typed way like this:
System.Web.Mvc.ViewPage<HomeModel>
And then just use it:
<%= Model.Greeting %>
How it would be possible to use strongly typed model in layout?
Without strongly typing i would probably add necessary data at controller factory, then use it through (LayoutModel)Viewdata["LayoutModel"]).Tralala, but i`m looking for better way.