Thursday, January 29, 2009

Syncing my files

A lot of times I need to sync some files on my office and home PC – for this I have recently started using Live Mesh (www.mesh.com) It has few issues, but I have liked it so far… lets see how long i keep using it.

Webservice vs. .net remoting

Web Service.net remoting
ProtocolHTTPTCP/HTTP/SMTP
StateStatelessStateful/stateless
Type SystemXSD types onlyany
InteroperabilityYes.net client only

These are also the factors to consider before choosing either one for your system.

Saturday, January 17, 2009

Monitor vs. Mutex

Monitor : non OS resource, re-entrant, single process can lock on it
Mutex : OS resource, non re-entrant, mutiple process can lock on it

C# : events (part 2)

In my previous post http://technologyandme.blogspot.com/2008/09/c-events.html I had mentioned that whoever subscribes to event - it will not get collected b'coz the event's invocation list still holds reference to the subscriber. - This is known as "lapsed listener".
Check out http://msdn.microsoft.com/en-us/library/307hck25.aspx It's Dispose method disconnects from the event.