What is best way of XML creation and reading

Posted by Mkiran under ASP.NET on 3/23/2011 | Points: 10 | Views : 1624 | Status : [Member] | Replies : 1
Hi Friends,
Am planning to start one project. There i need to store data in XML in place of Database. So friends please suggest some best way (in terms of performance) to read, write and update XMLs in ASP.Net.




Responses

Posted by: SheoNarayan on: 3/23/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
There are many ways, you can use traditional ways of reading and writing xml file that is explained in http://www.dotnetfunda.com/articles/article160.aspx.

The latest and more convenient ways is LINQ to XML - Read http://www.dotnetfunda.com/articles/article1213-linq-to-xml-details-.aspx and http://www.dotnetfunda.com/articles/article728-what-is-linq-to-xml-.aspx.

I would prefer to go with LINQ to XML.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Mkiran, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response