Click here to Skip to main content
15,897,371 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionBackgroundWorker on different OS Pin
antariksh22-May-08 22:03
antariksh22-May-08 22:03 
AnswerCross Post Pin
led mike23-May-08 4:50
led mike23-May-08 4:50 
GeneralRe: Pin
antariksh26-May-08 1:51
antariksh26-May-08 1:51 
GeneralRe: Re: Pin
led mike27-May-08 4:53
led mike27-May-08 4:53 
QuestionRe: Re: Pin
antariksh29-May-08 21:22
antariksh29-May-08 21:22 
AnswerRe: Re: Pin
led mike30-May-08 4:57
led mike30-May-08 4:57 
QuestionRe: Re: Pin
antariksh2-Jun-08 21:52
antariksh2-Jun-08 21:52 
QuestionVersioning Tolerant (De)serialization Pin
Mike.NET22-May-08 17:14
Mike.NET22-May-08 17:14 
In .NET 2.0 great strives have been made to make binary serialization more version tolerant, with new or removed fields no longer throwing exceptions. Although one scenario that keeps throwing an exception... when the type of a field has changed. Using OptionalFieldAttribute one can indicate to omit during deserialization a new field, if the data for that field is not present in the old stream.

Is there any declarative (such as TypeConverterAttribute) or imperative mechanism to handle situations when the type of the field has changed, to prevent exception from throwing when data type of one or more fields has changed? Essentially to ignore reading data for fields that have different type between definition in old serialized stream and new definition in assembly.

Thanks in advance

Deviation from good code design leads to the dark side (aka kludgy code).

Mike M
MCAD.NET
WinInsider.com - News for Microsoftonians

AnswerRe: Versioning Tolerant (De)serialization Pin
CodingYoshi25-May-08 9:03
CodingYoshi25-May-08 9:03 
GeneralErrant Date Formatting Pin
Brady Kelly22-May-08 7:03
Brady Kelly22-May-08 7:03 
GeneralRe: Errant Date Formatting Pin
Christian Graus22-May-08 17:29
protectorChristian Graus22-May-08 17:29 
GeneralRe: Errant Date Formatting Pin
Brady Kelly22-May-08 23:42
Brady Kelly22-May-08 23:42 
Questiondeploying .NET/ActiveX via cab Pin
campk22-May-08 6:11
campk22-May-08 6:11 
QuestionWhy can't .Net executable programs work on a system without .Net framework? Pin
Wajeeha21-May-08 22:07
Wajeeha21-May-08 22:07 
AnswerRe: Why can't .Net executable programs work on a system without .Net framework? Pin
Colin Angus Mackay21-May-08 23:18
Colin Angus Mackay21-May-08 23:18 
GeneralRe: Why can't .Net executable programs work on a system without .Net framework? Pin
Roger Alsing23-May-08 2:11
Roger Alsing23-May-08 2:11 
QuestionRe: Why can't .Net executable programs work on a system without .Net framework? Pin
Vasudevan Deepak Kumar23-May-08 3:53
Vasudevan Deepak Kumar23-May-08 3:53 
AnswerRe: Why can't .Net executable programs work on a system without .Net framework? Pin
Roger Alsing23-May-08 4:28
Roger Alsing23-May-08 4:28 
AnswerRe: Why can't .Net executable programs work on a system without .Net framework? Pin
leppie25-May-08 22:14
leppie25-May-08 22:14 
AnswerRe: Why can't .Net executable programs work on a system without .Net framework? Pin
Thomas Stockwell30-May-08 11:15
professionalThomas Stockwell30-May-08 11:15 
QuestionCreating assembley Pin
r aa j21-May-08 20:26
r aa j21-May-08 20:26 
AnswerRe: Creating assembley Pin
Laddie21-May-08 23:48
Laddie21-May-08 23:48 
AnswerRe: Creating assembley Pin
Vasudevan Deepak Kumar22-May-08 3:20
Vasudevan Deepak Kumar22-May-08 3:20 
GeneralRe: Creating assembley Pin
r aa j22-May-08 3:29
r aa j22-May-08 3:29 
QuestionThis GroupBox is taking my DataGridView's lunch money. Pin
Oddball21-May-08 12:12
Oddball21-May-08 12:12 

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.