Hi,
I would like to enable fast serialization on my entities but cannot quite see where to do it. I am using HTTP binary remoting with IIS (.net 2.0/SQL 2005).
At the moment I do not explicitly serialize or de-serialize anything, it is all taken care of by the remoting framework.
My execution flow at the moment is like this.
1. Create Remote connection via HTTP (binary) to remoting server from web server.
2. Instantiate single call remotable class (Class inherits from MashalByRefObject)
3. Call method on remotable class. Method will usually return a DataTable or an Entity/Entity Collection. Method will call the DataAccessAdapter class to fetch entities. Both the DataTable and the Entities are serializable already.
4. Bind returned object to datasource of grid or something similar.
Can somebody give me an example of how to go about enabling the fast serialization. And where in the execution flow would I put it. Thanks.