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

.NET (Core and Framework)

 
Questionmodal popup extender in page load Pin
Member 387988122-Oct-10 22:48
Member 387988122-Oct-10 22:48 
AnswerRe: modal popup extender in page load Pin
T M Gray27-Oct-10 8:54
T M Gray27-Oct-10 8:54 
QuestionVB.NET Ideas Pin
Herboren22-Oct-10 19:31
Herboren22-Oct-10 19:31 
AnswerRe: VB.NET Ideas Pin
Luc Pattyn23-Oct-10 2:48
sitebuilderLuc Pattyn23-Oct-10 2:48 
GeneralRe: VB.NET Ideas Pin
Herboren23-Oct-10 18:44
Herboren23-Oct-10 18:44 
AnswerRe: VB.NET Ideas Pin
Abhinav S23-Oct-10 19:01
Abhinav S23-Oct-10 19:01 
Questionserialization Pin
lukeer21-Oct-10 22:31
lukeer21-Oct-10 22:31 
AnswerRe: serialization Pin
Eddy Vluggen23-Oct-10 4:25
professionalEddy Vluggen23-Oct-10 4:25 
lukeer wrote:
What is best practice to serialize/deserialize such an ICollection?

To use one[^] of the optimized[^] versions on CodeProject[^], as they are faster then the native serializers.

lukeer wrote:
1. I thought of XMLSerializer. Problem here is non-public data. I would have to create public properties for all private data. That seems like rendering the 'private' keyword useless.

From MSDN[^];
XML serialization does not convert methods, indexers, private fields, or read-only 
properties (except read-only collections). To serialize all an object's fields and 
properties, both public and private, use the BinaryFormatter instead of XML serialization.


lukeer wrote:
How is that done for Lists?

Not sure about XML serialization, but should work if you serialize a generic list with ISerializable objects.

lukeer wrote:
Again, is there a best practice approach to serializing object systems like the one mentioned above?

Some people prefer XML-serialization because it allows them to manually edit the file. You could also write a small utility to edit binary-serialized objects, if that's a requirement.
I are Troll Suspicious | :suss:

QuestionIs Microsoft.SqlServer.Management the easiest way to go? Pin
giantWoodenBadger21-Oct-10 5:35
giantWoodenBadger21-Oct-10 5:35 
AnswerRe: Is Microsoft.SqlServer.Management the easiest way to go? Pin
Eddy Vluggen23-Oct-10 3:48
professionalEddy Vluggen23-Oct-10 3:48 
GeneralMessage Removed Pin
27-Oct-10 7:37
flflshop27-Oct-10 7:37 
GeneralRe: Is Microsoft.SqlServer.Management the easiest way to go? Pin
Dave Kreskowiak27-Oct-10 7:41
mveDave Kreskowiak27-Oct-10 7:41 
QuestionWhat is Mock Version? Pin
Gobi.madura19-Oct-10 19:41
Gobi.madura19-Oct-10 19:41 
AnswerRe: What is Mock Version? Pin
David Skelly19-Oct-10 22:09
David Skelly19-Oct-10 22:09 
AnswerRe: What is Mock Version? Pin
Abhinav S19-Oct-10 22:17
Abhinav S19-Oct-10 22:17 
AnswerRe: What is Mock Version? Pin
T M Gray21-Oct-10 4:39
T M Gray21-Oct-10 4:39 
QuestionProgramming Problem Pin
rksreadero19-Oct-10 17:11
rksreadero19-Oct-10 17:11 
AnswerRe: Programming Problem Pin
Abhinav S19-Oct-10 22:20
Abhinav S19-Oct-10 22:20 
AnswerRe: Programming Problem Pin
DaveyM6919-Oct-10 22:20
professionalDaveyM6919-Oct-10 22:20 
AnswerRe: Programming Problem Pin
Pete O'Hanlon19-Oct-10 23:43
mvePete O'Hanlon19-Oct-10 23:43 
QuestionRSS reader code problem. Pin
rksreadero19-Oct-10 16:38
rksreadero19-Oct-10 16:38 
QuestionWord c# interop bookmark issue(s) Pin
jboyd11119-Oct-10 9:53
jboyd11119-Oct-10 9:53 
AnswerRe: Word c# interop bookmark issue(s) Pin
Maciej Los19-Oct-10 10:30
mveMaciej Los19-Oct-10 10:30 
QuestionLearning Entity Framework [modified] Pin
Luca Leonardo Scorcia18-Oct-10 9:30
professionalLuca Leonardo Scorcia18-Oct-10 9:30 
QuestionWill GetStream method always return same stream ? [modified] Pin
rahul.kulshreshtha15-Oct-10 21:25
rahul.kulshreshtha15-Oct-10 21:25 

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.