Click here to Skip to main content
15,898,373 members
Home / Discussions / C#
   

C#

 
AnswerRe: Do Lambda expressions smell? Pin
BobJanova31-Jul-11 22:45
BobJanova31-Jul-11 22:45 
QuestionCreate array in class. Pin
Herboren29-Jul-11 9:49
Herboren29-Jul-11 9:49 
AnswerRe: Create array in class. Pin
Member 448708329-Jul-11 10:06
Member 448708329-Jul-11 10:06 
GeneralRe: Create array in class. [modified] Pin
Herboren29-Jul-11 10:35
Herboren29-Jul-11 10:35 
GeneralRe: Create array in class. Pin
Keith Barrow30-Jul-11 0:28
professionalKeith Barrow30-Jul-11 0:28 
GeneralRe: Create array in class. Pin
BobJanova31-Jul-11 22:49
BobJanova31-Jul-11 22:49 
GeneralRe: Create array in class. Pin
Keith Barrow1-Aug-11 2:16
professionalKeith Barrow1-Aug-11 2:16 
QuestionSOAP versioning limits - loading legacy assembly Pin
lukeer29-Jul-11 3:04
lukeer29-Jul-11 3:04 
Hi experts,

there is an application that can save some data on user request. In the application, data is held in objects that composit larger objects. Their corresponding classes inherit from one another and from abstract base classes. In order to save this all to disk it is thrown at a SoapFormatter.

SoapFormatter can again read the saved file and create the objects as they were before.

In the future, requests will change. So the classes will have to change.

Should there be any new properties to a class, I know I can add it using OptionalFieldAttribute to load. Should properties become obsolete, I can just leave them where they are, don't use them, let the storage get a little bigger than needed and have no problem with it.

How can I handle larger changes?

Is there a way to load the "old" assembly into memory, let it load the old storage file and retrieve the object structure from it programatically?
This way, "new" classes could be able to construct from "old" ones.

Ciao,


luker

AnswerRe: SOAP versioning limits - loading legacy assembly Pin
jschell29-Jul-11 8:27
jschell29-Jul-11 8:27 
GeneralRe: SOAP versioning limits - loading legacy assembly Pin
lukeer31-Jul-11 22:54
lukeer31-Jul-11 22:54 
GeneralRe: SOAP versioning limits - loading legacy assembly Pin
jschell1-Aug-11 7:44
jschell1-Aug-11 7:44 
QuestionKnowing and tracing application memory consumtion and leaks? Pin
Chesnokov Yuriy28-Jul-11 21:24
professionalChesnokov Yuriy28-Jul-11 21:24 
AnswerRe: Knowing and tracing application memory consumtion and leaks? Pin
Dave Kreskowiak29-Jul-11 3:31
mveDave Kreskowiak29-Jul-11 3:31 
GeneralRe: Knowing and tracing application memory consumtion and leaks? Pin
Chesnokov Yuriy29-Jul-11 10:01
professionalChesnokov Yuriy29-Jul-11 10:01 
GeneralRe: Knowing and tracing application memory consumtion and leaks? Pin
Dave Kreskowiak29-Jul-11 11:01
mveDave Kreskowiak29-Jul-11 11:01 
QuestionASF Stream VU Meter Pin
jjdacl28-Jul-11 16:30
jjdacl28-Jul-11 16:30 
AnswerRe: ASF Stream VU Meter PinPopular
Keith Barrow28-Jul-11 23:26
professionalKeith Barrow28-Jul-11 23:26 
GeneralRe: ASF Stream VU Meter Pin
BillWoodruff30-Jul-11 2:28
professionalBillWoodruff30-Jul-11 2:28 
AnswerRe: ASF Stream VU Meter Pin
GuyThiebaut29-Jul-11 2:55
professionalGuyThiebaut29-Jul-11 2:55 
QuestionWhat is best way to declare constants set? Pin
JP_Rocks27-Jul-11 19:26
JP_Rocks27-Jul-11 19:26 
AnswerRe: What is best way to declare constants set? Pin
lukeer27-Jul-11 21:13
lukeer27-Jul-11 21:13 
AnswerRe: What is best way to declare constants set? Pin
Rob Philpott27-Jul-11 23:22
Rob Philpott27-Jul-11 23:22 
AnswerRe: What is best way to declare constants set? Pin
Dave Kreskowiak28-Jul-11 2:20
mveDave Kreskowiak28-Jul-11 2:20 
AnswerRe: What is best way to declare constants set? Pin
PIEBALDconsult28-Jul-11 2:51
mvePIEBALDconsult28-Jul-11 2:51 
AnswerRe: What is best way to declare constants set? Pin
Eddy Vluggen28-Jul-11 6:52
professionalEddy Vluggen28-Jul-11 6:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.