Click here to Skip to main content
15,885,278 members

Comments by Oleksandr Kulchytskyi (Top 200 by date)

Oleksandr Kulchytskyi 27-Feb-15 7:06am View    
Ok, thank you very much for the help.
I appreciate it!
Will be needed to extend my knowledge in JIT optimization.
Oleksandr Kulchytskyi 27-Feb-15 5:32am View    
Thanks!
But to be honest [MethodImplAttribute(MethodImplOptions.NoInlining)]
does't help.
Oleksandr Kulchytskyi 27-Feb-15 5:32am View    
Yep, you are completely right!
The main showstopper is compile optimization during release mode.
In such case , since fr.Read(); is returned void , CLR treated FileReader fr as a garbage and finalize it.
Oleksandr Kulchytskyi 27-Feb-15 4:15am View    
Hi, see the error exception image http://imgur.com/LzXsJNq
Issue happens during reading lines in PerformRead method and the main reason why, this is because the finalization of FileReader took place.
As a result StreamReader object has been closed.
Oleksandr Kulchytskyi 11-Feb-14 3:44am View    
There are a lot of samples here:
http://www.codeproject.com/Articles/34460/WCF-Duplex-Reentrant-Services
http://www.codeproject.com/Articles/17704/WCF-Duplex-Operations-and-UI-Threads
http://www.codeproject.com/Articles/566543/WCF-Message-Exchange-Patterns-MEPs

the articles above related to the WCF duplex communication, what is concersn signalR read about it on the Microsoft site.
With regards, Oleksandr.