title: Why serialization is not required for InProc session mode
body: <p>I am using the <code>state service session provider</code> for my mvc application and if I don't serialize the type which I am going to store in session, application throws an error that class must be marked as Serializable. But if I switch to InProc session mode, session works even if my class is not marked as Serializable. As per my understanding, even in case of <code>InProc</code> mode ASP.Net serializes the data before storing in session then why InProc mode works without using Serializable attribute.</p>