C#: Standard Values Type Converter

Standard Values Type Converter

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

Remoting: Singleton

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

Singleton Application – Single instance application

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

Load assembly into different AppDomain – Part 2

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

Generic and Enum Casting

A simple post about casting enum from a generic type.
Continue reading