Re: Yet another .net bug?

Discussion in 'ASP .Net' started by Jan Tielens, Jan 18, 2004.

  1. Jan Tielens

    Jan Tielens Guest

    Only public members are serialized by default.You could write your own
    serializer/deserializer to include private members. For more info you can
    read this article:
    http://primates.ximian.com/~lluis/blog/archives/000120.html

    --
    Greetz,
    Jan
    __________________________________
    Read my weblog: http://weblogs.asp.net/jan
    "Bryan Martin" <, > schreef in bericht
    news:...
    > Within the last couple of weeks it seems that every complex project must
    > come to a halt due to bugs in the framework. Can someone look at the
    > included class and confirm/deny or generally point me to a location which
    > explains a workaround.
    >
    > The problem that I am seeing is that I am trying to serialize a strongly
    > typed collection named parent which intern implements a internal

    collections
    > of children. When you attempt to output this to a xml file you lose any
    > properties within the parent. You dont get any errors or anything but you
    > only get the parent with no properties. However, removing the internal
    > collection will allow the parent to be saved out correctly.
    >
    > See attached file or http://www.myplaceinspace.com/collectionbug.txt
    >
    >
    >
     
    Jan Tielens, Jan 18, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hermit Dave

    Re: Yet another .net bug?

    Hermit Dave, Jan 18, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    424
    Hermit Dave
    Jan 18, 2004
  2. Anon

    Re: Yet another .net bug?

    Anon, Jan 18, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    428
  3. Berehem
    Replies:
    4
    Views:
    580
    Lawrence Kirby
    Apr 28, 2005
  4. Replies:
    2
    Views:
    330
  5. Roedy Green

    Yet another bug in 1.7.0_21

    Roedy Green, Apr 17, 2013, in forum: Java
    Replies:
    4
    Views:
    313
    Roedy Green
    Apr 18, 2013
Loading...

Share This Page