-
Sometimes its the basic things that we tend to forget. It's true. One example is encrypting the ViewState. Someone asked me this question today and I had to admit that I wasn't able to answer on top of my head. Whats funny is that I've been doing it all along but never told myself to remember...
-
I was amazed most of us hate ASP.NET ViewState for its default poor implementation which if not taken into cosideration would kill our applications performance, client resources, and drive shoppers away. Its frutrating... If worst case you haven't heard of ViewState and I assume you are probably new...
-
A very common exception when storing business objects in ViewState is an HttpException telling you : "The type [business object] must be marked as Serializable or have a TypeConverter other than ReferenceConverter to be put in viewstate." But you have marked your business object as serializable with...
-
It was my first time to develop an ASPNET application in my previous company and one thing i noticed was the way they persist control/usercontrol properties through ViewState. Here is a snippet of their control property: public int MyProperty { get { if (ViewState["MyKey"] != null ) { return ( int )...