Selecting appropriate partitioning strategy in Task Parallel Library- Part I

When you supply any data to a parallel loop in Task Parallel Library (TPL), it is automatically broken into partitions and these partitions are allocated to tasks. Otherwise if loops were to pick each Read More[...]

Hardware Threads vs Software Threads

A single computing component which has more than one independent actual central processing units called cores is a multi-core processor, these cores are the units that read and execute program instructions. That makes it possible to run instructions at the same time, in parallel. In order to take advantage of multiple physical cores, it is necessary to run many processes or to run more than one thread in a single process, creating multi-threaded code. Read More[...]

Sharing DataContract across WCF Services without distributing separate copies to the client

How to share DataContract across WCF Services without distributing separate copies to the client? It can be achieved by compiling the DataContract into its own assembly and then distribute this assembly to the client. Read More[...]