Click here to Skip to main content
15,908,264 members

Comments by V5709 (Top 71 by date)

V5709 30-Oct-18 1:42am View    
I want to persist collection of nested objects in memory cache for the benefit of performance.The issue is whenever I update child object ,to reflect it in parent object I need to fetch it again from child object cache. SO is it possible to get updated child object without accessing child object cache for parent object.
* Both parent and child objects are having their independent cache.
V5709 30-Oct-14 3:09am View    
for writing to text file..

FileStream fs = new FileStream("*Your file path*", FileMode.OpenOrCreate, FileAccess.Write);
StreamWriter m_streamWriter = new StreamWriter(fs);
m_streamWriter.BaseStream.Seek(0, SeekOrigin.End);

m_streamWriter.WriteLine(*User details encrypted string*);
m_streamWriter.Flush();
m_streamWriter.Close();


& while login, encrypt entered credentials with same encryption logic, & then find out that string in text file.
V5709 29-Oct-14 7:54am View    
you can use concepts like inner join to fetch details which will reduce your code
V5709 29-Oct-14 7:48am View    
can you explain your question more briefly?
V5709 31-Jul-14 5:46am View    
Thanks for reply..