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

Tip: C# 3.0 Partial Methods

One other interesting new feature in C# 3.0 are partial methods. Have you ever crossed a partial class with something like: [crayon-51dafc64f393f/] Lets see how this can be done and, by using...

View Article



Tip: C# 3.0 Extension Methods

Another great feature in c# 3.0 is Extension Methods. Extension Methods are created in a way that allow developers to inject them in other classes as being part of them. This article will provide an...

View Article

Applying a Watermark to an image with .NET and GDI+

In this article I’ll be showing how to watermark a photo using .NET and, more specifically, GDI+ through the System.Drawing namespace. GDI stands for Graphic Device Interface, and basically consists of...

View Article

MSXML 4.0 SP3 now available

Microsoft released MSXML 4.0 Service Pack 3. MSXML SP3 Core Services are a complete replacement of MSXML 4.0, MSXML 4.0 Service Pack 1 (SP1) and MSXML 4.0 Service Pack 2. MSXML 4.0 SP3 provides a...

View Article

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 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

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

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


VS2012 XMTransposeMatrix memory alignment error

Working on a simple 3D engine I occasionally stumbled upon an invalid access exception on a XMMATRIX transpose operation while invoking rendering in dirty state shapes in my scene. At first I thought...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images