CodeProject

TwitterFacebook
Get flash to fully experience Pearltrees

Task Parallel Library : 2 of n

http://www.codeproject.com/Articles/159533/Task-Parallel-Library-2-of-n Download demo code - 132 KB Introduction This is the second part of my proposed series of articles on TPL. Last time I introduced Tasks, and covered this ground:
Introduction In this article, I am going to discuss some important facts which might be unknown to most developers. I am going to discuss about three different topics which are related to C# and are more helpful when building your application. Why use StringBuilder over String to get better performance Structure initialization in C# Checked operator http://www.codeproject.com/Articles/158902/Some-Useful-Features-of-C

Some Useful Features of C#

Download source code - 21.1 KB Introduction We've all used FolderBrowserDialog and its precursor SHBrowseForFolder . While these common controls are very useful in stock form, they never quite seem to do what you want - there's always some UI artifact that you really don't want. And, like many things in .NET, the managed API seems to be a thin wrapper around the unmanaged API, and the managed API therefore inherits all the quirks. http://www.codeproject.com/Articles/159352/FolderBrowserDialogEx-A-C-customization-of-FolderB

FolderBrowserDialogEx: A C# customization of FolderBrowserDialog

A Silverlight Sample Built with Self-Tracking Entities and WCF Services - Part 3

Please visit this project site for the latest releases and source code. Article Series This article is the third part of a series on developing a Silverlight business application using Self-tracking Entities, WCF Services, WIF, MVVM Light Toolkit, MEF, and T4 Templates. Part 1 - Introduction, System Requirements, and Architecture Overview http://www.codeproject.com/Articles/158552/A-Silverlight-Sample-Built-with-Self-Tracking-Enti

Prism for Silverlight/MEF in Easy Samples. Part 3 - Communication between the Modules

Download samples - Part 3 - 278.7 KB Introduction This is the 3 rd (and last) part of "Prism for Silverlight/MEF in Easy Samples" Trilogy. http://www.codeproject.com/Articles/159887/Prism-for-Silverlight-MEF-in-Easy-Samples-Part-3-C
http://www.codeproject.com/Articles/154736/Data-and-Command-Bindings-for-Silverlight-MVVM-App Download source - 40.59 KB Introduction This article summarizes two utility classes used for data and command bindings in Silverlight MVVM applications and demonstrates how to use the two classes with a running example. Background MVVM design pattern is now the default design pattern for building Silverlight applications.

Data and Command Bindings for Silverlight MVVM Applications

http://www.codeproject.com/script/common/404.aspx?aspxerrorpath=/KB/XML/StateMachine.aspx 9,354,880 members (33,040 online) Sign in Email Password

Hierarchy XML Based C# Statemachine Generator

9,373,860 members (32,790 online) Sign in Email Password

Yet Another Email Client (LINQ to IMAP)

http://www.codeproject.com/script/common/404.aspx?aspxerrorpath=/KB/library/equinox.aspx

Resetting a View Model in WPF MVVM applications without code-behind in the view

http://www.codeproject.com/Articles/158591/Resetting-a-View-Model-in-WPF-MVVM-applications-wi Download demo source code - 15 KB Introduction The core idea behind this code and article is to provide an uncomplicated approach to reset a view-model without having to adjust DataContext references in views. It all started with an MSDN forum thread where someone asked if there was an easy way to clear a view model.

Task Parallel Library : 1 of n

http://www.codeproject.com/Articles/152765/Task-Parallel-Library-1-of-n Download demo source code - 182 KB Download demo code (LINQPad scripts, thanks to reader Rainer Schuster) - 9.06 KB Introduction I recall the first time I created a UI in .NET that had to go and get some data from a database, and the amount of data that I fetched was way larger in production that my code assumed it would be in my dumbed down test setup. Guess what happened... my UI froze as soon as it used real data.
Download VB solution - 2.25 MB Download CS solution - 4.49 MB Introduction This article discusses how to apply custom animation to an already existing WPF layout by extending classes such as Grid , StackPanel , DockPanel or WrapPanel . Or indeed any other WPF control that hosts other UIElement s. An important part of this implementation is that is should be able to extend any existing panel and cope with any child controls of that panel.

Animated WPF Panels

Download WCFSubscription - 119 KB Introduction The first question is what is Synchronized Distributed System? I'm not sure of the official term.

How to implement subcription based on WCF

Code Contracts in .NET 4.0 & its Internals

Download CodeContract sample - 44 KB After I have introduced the Internals of Exception handling , I mentioned that I will cover some of the features that are coming as an improvement to it. Code Contract in .NET 4.0 is one among them. In this post, I will cover how you could use code contract in your application and also take the way through to its internals later on.