Normally, I use the following code to serialize object to XML file. Everyday, I have about 100-1000 new items to be added into this list in different period of time.
var xmlSerializer = new XmlSerializer(typeof(List<TestModel>));
xmlSerializer.Serialize(stream, list);
How to append new item into serialized xml data without deserialize old data?
Thanks,
You can serialize objecto to memory and append to existing file. Also take a look at MS article Efficient Techniques for Modifying Large XML Files which shows two techniques both applicable in your situation.