XML

Showing posts with label XML. Show all posts

If you are working with XML serialization in .NET/C#, you might have already encountered this and might have analyzed a lot why your data is not serializing though you have written proper code. The reason/solution might be simple but in case you are not aware of such common mistakes, you will definitely break your head finding the root cause.

 

In this quick post, we will learn about the common mistakes that may happen while declaring the properties of data class that you are going to serialize. Continue reading and let me know, if you find more points to be added here.

Published by on under .Net | C#

In most cases, we use XML files to serialize/de-serialize data from/to the app. To do this, we expose properties of known types and pass them to the serializer for the automatic serialization process. Sometimes, we don’t need to serialize all the properties and manually need to mark them from the serialization process.

 

In this small blog post, we are going to see the way, by which you can prevent a property from the XML serialization process. Continue reading to know more.

Published by on under .Net | C#