Forum member
switzer40
2 posts
Posts by switzer40
-
Concurrency problem
I am reading the XML stream with an XMLReader created with XMLReader.Create(Path) and writing to the XML stream with an XMLTextWriter created like so: Dim Enc As Encoding = New UnicodeEncoding() Out = New StreamWriter(FullPath) Writer = New XmlTextWriter(Out.BaseStream, En…
26 May 2015 01:28 UTC
-
Concurrency problem
The stakeholder wants the application data to be stored as XML in a plain text file that could be read by a tool like notepad - not totally unreasonable. But that causes a problem when testing my CRUD methods. A test must write something to the XML file then read it back in to check that it was writ…
25 May 2015 16:37 UTC