Hi there,
is there a way to inject an object into the session state automatically with Ninject? For example:
- I have a provider that gets me a list of objects.
- In my views I have something that reads state from session like <%=Session["MyKey"].Data%>
- Now I want to be able to inject the value of Session["MyKey"] with Ninject instead of manually programming the Session_Beging event and injecting it there.
Thanks for helping out!