How to migrate from In-Proc to State Server for sessions?

Right now I have a project that is using In-Proc to hold session data, but I want to migrate it to use the State Server. I know I have to put the serializable attribute on top of all my classes that are going to be stored in sessions, but the project is thousands of files big. Is there a way to run a checker to see what I have to serialize so I don't leave anything behind or forget some?
bemara57Asked:
Who is Participating?
 
MogalManicConnect With a Mentor Commented:
You could do a global search for the word SESSION (ctl-shift-f in visual studio).

You could create a FACADE class (http://en.wikipedia.org/wiki/Facade_pattern), and only allow classes that implement IsSerializable interface.  Once you are sure you have everything, you can delete the changes. (If you don't delete them it wont create any problem, the amount of overhead we are adding is minimal)
0
 
BBIT_DKConnect With a Mentor Commented:
Not sure that there are any easy way around the [Serializable] tag.

maybe you can use this link: http://forums.asp.net/p/7504/7504.aspx
0
All Courses

From novice to tech pro — start learning today.