C# WCF - Ninject Ioc
In order to use Ioc to instantiate a WCF service class, Ioc should provide implementation of following two interfaces. IInstanceProvider IServiceBehavior Imp...
In order to use Ioc to instantiate a WCF service class, Ioc should provide implementation of following two interfaces. IInstanceProvider IServiceBehavior Imp...
1. The Single Responsibility Principle 2. The Open Closed Principle 3. The Liskov Substitution Principle 4. The Interface Segregation Principle 5. The Depend...
C++11 introduced a new way to cast shared_ptr as shown below. std::dynamic_pointer_cast std::static_pointer_cast std::const_pointer_cast
The following article is showing a nice example how C++11 can support coroutine feature. C# has already supported this feature from C# 2.0. http://paolosever...
The following algorithm will make your code clean and faster 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1. std::all_of bool res = std::all_of(std::begin(conta...