Blog

TPL Data Flow

The TPL DataFlow exposes classes to manipulate data asynchronously. It is based on the Task library and on two the interfaces ISourceBlock<T> and ITargetBlock<T>.

Read more

WebDAV & co

Several RFC are related to the WebDAV protocol. I have been wondering if this should not be an interresting starting point to both a CMS and an activity management server. In a way, an activity management like FlowGroup could simply expose vCard and vCalendar items, the customization consisting in defining business rules on how to aggregation Organizational Units informations to create the vCard, or when to create a vEvent, a vJournal or a vTodo. These would be wrappers around related documents that would keep track of the business data.

Read more

System.Threading.Tasks

In essence, the classes in this namespace serve the same purpose as the IJob interface and the JobDispatcher classes.  But the implementation is quite different.

Read more

Definition of interface

If inheritence reflects a is-a relationship between a class and its parent, the interface is more a can-be relationship between the class and the code using it.

The interface must be simple but  not simplistic. It must also be unambiguous and favor the ease of implementation. As such, methods overloading must be avoided. Only the most complete method should be declared.

Read more