
This post is to demo on how to implement a standard values type converter for a String property. With this type converter, the property will be shown on property browser as a drop-down list of standard defined values and also accept custom value that being keyed in by user.
Continue reading
Posted on Wednesday, October 7th, 2009 •
C# •
1 Comment •
1,280 views
Most of the information shows that whenever we need a singleton object of remoting, then we can make use of WellKnownObjectMode.Singleton. However, for some reason, I would like to maintain same object for both Remote Client and Local (Non-Remote).
Continue reading
Posted on Wednesday, August 26th, 2009 •
C# •
No Comments •
424 views
I am requested to create a singleton “service”. On top of that, it should work and run properly without installation. I know, I know… it is not really a service; in fact it is just a formless single instance application.
Continue reading
Posted on Friday, August 21st, 2009 •
C# •
No Comments •
342 views
In the previous post “Load assembly into different AppDomain – Part 1″, we briefly discuss on loading an assembly into a different AppDomain in a most simpliest way. However, it doesn’t fulfill the need of loading the assembly and does not “locked” on it. As a result, we need to configure the AppDomain as ShadowCopy.
Continue reading
Posted on Sunday, August 9th, 2009 •
C# •
1 Comment •
730 views
A simple post about casting enum from a generic type.
Continue reading
Posted on Thursday, July 30th, 2009 •
C# •
No Comments •
324 views