Re: Serialization & versioning

From: Sam Santiago (ssantiago_at_n0spam-SoftiTechture.com)
Date: 07/30/04


Date: Fri, 30 Jul 2004 10:21:46 -0700

I don't think so. You can create your own formatter if this is truly
desired. Check out this link:

Formatter Class (Abstract class, you must override many methods):
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemruntimeserializationformatterclasstopic.asp?frame=true

Thanks,

Sam

-- 
_______________________________
Sam Santiago
ssantiago@n0spam-SoftiTechture.com
http://www.SoftiTechture.com
_______________________________
"Gil Shabat" <GilShabat@discussions.microsoft.com> wrote in message
news:9510AB00-B3A0-458D-A2CC-605F17DC0387@microsoft.com...
> Is there a way to tell .Net, or the formatter to ignore the version
mismatch, so for instance, if I add a property only on the server object,
the client may still be able to send the serialized object, but this
property will be set to null on the server side?
>
> Thanks,
>
> Gil
>
> "Sam Santiago" wrote:
>
> > You could share an interface between the client and server.  Check out
> > section 5 of this document for details on how to share metadata between
the
> > client and server:
> >
> > Basic Remoting Task List
> >
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconBasicRemotingTaskList.asp?frame=true
> >
> > Thanks,
> >
> > Sam
> >
> > -- 
> > _______________________________
> > Sam Santiago
> > ssantiago@n0spam-SoftiTechture.com
> > http://www.SoftiTechture.com
> > _______________________________
> > "Gil Shabat" <Gil Shabat@discussions.microsoft.com> wrote in message
> > news:B0F1EB62-C2CE-4E93-92E2-4BEF0C23CF07@microsoft.com...
> > > I'm currently writing a distributed application that transfers a
> > serialized object from the client to the server and back. How can I
design
> > the application to allow for the deployment of future releases of the
> > serialized object on the server, while ensuring that old clients (those
that
> > still use the old serialized object) don't break?
> > >
> > > Thanks,
> > >
> > > Gil
> >
> >
> >


Relevant Pages

  • Re: third post: Marshal by value remoting
    ... > methods in Marshal-by-ref remote objects. ... >> on the server and returned to you. ... >> Sam Santiago ... >>>> object created on the server, then it must be sent to the client. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Serialization & versioning
    ... Gil ... "Sam Santiago" wrote: ... > serialized object from the client to the server and back. ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: newbie distributed arch.
    ... If your DAL is on the client then that could be contributing to your ... Sam Santiago ... The server has a fractionated T1 line and the ... >> I would first try to determine why it is slower over VPN. ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Java Serialized objects
    ... > I have a serialized object which reads and writes to a file. ... it works fine but when I try with client server ... > rather than the server. ... the client the applet is running on. ...
    (comp.lang.java.programmer)
  • Re: MSMQ and Client Server Architecture
    ... One more question is client working on Win98 can ... access MSMQ server on Win2000 or XP? ... "Sam Santiago" wrote: ... > Win98 you do need to install an MSMQ client. ...
    (microsoft.public.dotnet.distributed_apps)