Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> WebServices - Serialization - Versioning
 

Pages: 1
LLBLGen Pro Runtime Framework
WebServices - Serialization - Versioning
Page:1/1 

  Print all messages in this thread  
Poster Message
obzekt
User



Location:

Joined on:
29-Apr-2004 18:18:59
Posted:
49 posts
# Posted on: 02-Sep-2004 15:48:56.  
Having LLBLGen entities serialized for use in webmethods means that all client installations need to be updated (LLBLGen DAL assemblies downloaded) whenever the entities change or a new ORM is setup at the server.

Do you guys have any suggestions on how to accomplish that 'active sync' in a web service scenario (Otis had suggested that in an older thread)? An idea is for the client to inject version info in SOAP headers so that the webmethods can check for compatibility and fail with a special code. The client will then have to download the new assemblies. Any idea on how to do that seamlessly?

  Top
CodeMonkey
User



Location:
Ash, UK
Joined on:
30-Aug-2004 14:45:35
Posted:
14 posts
# Posted on: 02-Sep-2004 21:45:08.  
You may have to look into IXmlSerializable (not officially supported in .NET 1.1 - but is in 2.0) and handle the serialization yourself.

If you have a verson field as the first transmitted field then you coudl use this and create ways of supporting older objects i.e. backward compatibility.


  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37870 posts
# Posted on: 02-Sep-2004 22:05:45.  
You can mimic IXmlSerializable now with the methods ReadXml() and WriteXml() implemented on entities and entitycollections.

There is no version in there though. It might be an idea that a client is pulling the latest assemblies from the server each time it is started... not sure if that is sufficient.
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.