1
Answer

Query Folder of Xml files

Photo of Jesse

Jesse

15y
2.8k
1
I am using .xml files to store message threads(as in forum thread) for a network based messaging program. One folder holds all of the files, each user queries all of the files in that folder to check for updates. This takes forever every time a user updates a file or checks for new messages. Is there a better way to do what I'm doing in C# using XML or should I just learn SQL? Thanks for your input!

Answers (1)

0
Photo of jinge
NA 2.4k 23.5k 15y

Hi friend
 
you can use event model. While there requires one object querying the changes in the xml files, and every user will consume the changed event which occured from the very object obersving changes in xml files.
 
Let me know if u have any problem.