Quantcast
Channel: .net Brainwork » C#
Browsing latest articles
Browse All 10 View Live

Object, var, dynamic and the DLR Showdown

There’s a time when new feature or frameworks arise and you get to know them and immediately grasp that new and useful way of doing things, but there are also times when clarity only comes after a bit...

View Article



WPF Input Validation Part 1: Tutorial and examples

I’ve recently set up a sample of a validation mechanism for WPF text input controls on the UI that I thought it would be of general interest due to the “Gokuu approach”* I’ve done with it, otherwise it...

View Article

WPF Input Validation Part 2: Attached property approach

 In the [link2post id="174"]previous article[/link2post] I’ve shown how to apply Validation Rules to controls in order to prevent/access user input. In the process, user was warned through a visual...

View Article

WPF Input Validation Part 3: Markup Extensions

In the [link2post id="175"]previous article[/link2post] we took a step further on input validation over WPF controls by means of an attached property. The attached property’s owner would then have the...

View Article

Listing an Element’s Attached Properties

I was recently confronted with a scenario in witch a xaml element needed to be dynamically replaced and nested in a container control. There’s nothing unusual about this except for the fact that when...

View Article


New Visual Studio 2010 Feature: Pin To Source

A cool feature in Visual Studio 2010 is Pin To Source. This command is available in the Visual Studio code editor context menu and allows you to create a kind of little “Post-It!” on your code showing...

View Article

PowerSQL dumping tool available

I made available a small utility that allows you to script SQL Server data onto sql/txt files. It’s an old tool I used on several real world scenarios and it worked pretty well. It saved me a lot of...

View Article

WinDebug quick start tutorial

This reference tutorial will help you grasp the power of WinDebug debugging tool and quickly start using it in your daily development tasks. So, before we start, let me explain what WinDbg is. WinDbg...

View Article


Debugging Into .NET Framework 4.0 Source Code

In this post I’ll show you how to configure your Visual Studio 2010 to step into the source code of .NET Framework 4.0 in 9 easy steps. Download the 167Mb installer that contains the logic and data...

View Article


Using the .NET 4 Task class in WPF

Here’s a quick example on how to implement an asynchronous call in WPF using the System.Threading.Tasks.Task class. Keep in mind that underneath, the call will still end up in a thread pool, as opposed...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images