Thank you so much for watching the video and leaving such a positive comment! I'm thrilled to hear that my explanation was helpful and clear for you, and I'm glad that you found the video to be valuable as a beginner. Your feedback is truly appreciated and encourages me to keep creating content.
Thank you for your positive feedback! I'm glad you found the video helpful. I want to clarify that the structure of your model class should be based on the XML content you're working with. In cases where the XML file has many child and sub-child elements, you'll need to design your model classes to reflect that structure.
Thank you for watching the video and for your question! To serialize data that has many sub XML tags, you can use the same XmlSerializer class that was demonstrated in the video. However, you will need to define classes for each level of the XML hierarchy, and use appropriate attributes to specify how the XML elements and attributes should be serialized and deserialized.
Hey, Thanks for the video! Is it possible to add another member of a list from user input to the xml file? When I tried it, it deleted the previous members.
@@CodingDroplets Solved it by copying the contents of the xml to the list then flushing the xml, and adding a new element to the list then serializing the whole xml. But with larger xml files this could be a bit resource demanding. Thanks for the answer!
Thank you so much loved your video Yet I couldnt solve one problem while deserializing my xml file System.InvalidOperationException: was not expected. i keep getting this error i did some research but couldnt f'x 't do u have any idea of fixxing this by any change thnk you so much
Please check the below link. docs.microsoft.com/en-us/dotnet/api/system.xml.serialization.xmlrootattribute Try providing the additional parameters (Namespace, DataType etc) for XML root attribute as mentioned in the example (in above URL).
One of the best tutorials I've ever came across. Thank you.
Thank you so much for the kind words! I'm glad to hear that you found the tutorial helpful.
Excellent explanation! Clearly noted down each and every point and this video is pure gold for beginners like me. Please don't stop making videos :)
Thank you so much for watching the video and leaving such a positive comment! I'm thrilled to hear that my explanation was helpful and clear for you, and I'm glad that you found the video to be valuable as a beginner. Your feedback is truly appreciated and encourages me to keep creating content.
I watched this over and over. Thank you
Thank you, Sergio, for taking the time to watch the video and for your positive feedback. I'm glad to hear that the tutorial was helpful to you.
very very VERY helpful! thanks a lot for sharing🤗!
Thank you so much for your wonderful comment! I'm glad to hear that you found the tutorial helpful.
Congrats and thank you!!! your video is pretty clear and quite useful !
Thank you so much for your kind words! I'm glad you found the video clear and useful.
I m from Brazil, very good, Thank you!
Great!
Very Very Very Very Good Good Good Good !
Thank you!
That helped me a lot!!!
Thanks for your video!!
You are welcome! Glad to hear that.
Nice video, good luck to you
Thank you for watching the video and leaving a kind comment! I'm glad to hear that you found the video helpful.
You are amazing Man, Well done, thanks a lot
Most welcome! Glad to know you liked it.
Thank you. Very helpful.
You're welcome!
Great video! Extremely well done!
Do you have a video on how to serialize/deserialize an XML file that has many child and sub-child elements?
Thank you for your positive feedback! I'm glad you found the video helpful.
I want to clarify that the structure of your model class should be based on the XML content you're working with. In cases where the XML file has many child and sub-child elements, you'll need to design your model classes to reflect that structure.
Very good, Thank you!
Most welcome! Glad to know you liked it.
How would one be able to read/get a specific property from the the xml file and use the property as a parameter in a separate method?
need the question to be more specific ..
Hi how do you serialize data that has many sub xml tags
Thank you for watching the video and for your question!
To serialize data that has many sub XML tags, you can use the same XmlSerializer class that was demonstrated in the video. However, you will need to define classes for each level of the XML hierarchy, and use appropriate attributes to specify how the XML elements and attributes should be serialized and deserialized.
@@CodingDroplets Thank you for replying , would there be any documentation regarding this , my serialization keeps failing for multiple child xml
ty, vai me ajudar muito
Obrigado
Does it work with record classes?
Hey, Thanks for the video!
Is it possible to add another member of a list from user input to the xml file? When I tried it, it deleted the previous members.
You can do that. But you need to apply some additional logic to append to an existing file.
@@CodingDroplets Solved it by copying the contents of the xml to the list then flushing the xml, and adding a new element to the list then serializing the whole xml. But with larger xml files this could be a bit resource demanding. Thanks for the answer!
Thank you so much loved your video
Yet I couldnt solve one problem while deserializing my xml file System.InvalidOperationException: was not expected. i keep getting this error i did some research but couldnt f'x 't do u have any idea of fixxing this by any change thnk you so much
Thank you for watching the video.
Are you using XML Root attribute?
@@CodingDroplets yes i am
Please check the below link.
docs.microsoft.com/en-us/dotnet/api/system.xml.serialization.xmlrootattribute
Try providing the additional parameters (Namespace, DataType etc) for XML root attribute as mentioned in the example (in above URL).
@@CodingDroplets thank you I'm gonna check asap thank you so much
Most welcome.. let me know the result.
Are you from Zimbabwe? Your English is impeccable but my friend is from zim and you have a very similar accent :)
Thank You so much. I'm from India.