.NET news » Examples Examples Rss Feed

TLS: An exercise in concurrent programming

This article has two aims. Firstly, there are a series of five exercises that detail the process of successfully multi-threading a sequential algorithm with timely progress display in the UI. It also provides an implementation of a thread local storage class which can help realise the performance promise of many-core machines.
11 May 2008, 11:54:00   Source: TLS: An exercise in concurrent programming   Tags: Examples Performance

Creating the Same Program in Windows Forms and WPF

This article shows two implementations of the same simple program. First, we examine the Windows Forms version, followed by the WPF version. The purpose of this article is to show WinForms programmers a simple example of creating a WPF application. Along the way, we compare and contrast working with the two platforms.
3 May 2008, 21:31:00   Source: Creating the Same Program in Windows Forms and WPF   Tags: Examples GUI

Simple slide game using Viewbox

This is a very simple article that really just demonstrates the various capabilities of the WPF ImageBrush. The basic idea is that the attached demo emulated one of those 9 square puzzles you used to get in XMAS stockings.
29 Apr 2008, 02:54:00   Source: Simple slide game using Viewbox   Tags: Examples Graphics

Serialization for Rapid Application Development: A Better Approach

Serialize and Deserialize your objects with ease and simplicity

Sending SMTP Email

Many modern applications send email for a variety of purposes. This includes sending email to customers, suppliers and other businesses or individuals or for reporting problems that have occurred whilst running a program. With.NET, sending mail is easy.
24 Apr 2008, 15:36:07   Source: Sending SMTP Email   Tags: Internet Examples

WCF WPF Chat Application

This application is built on the WCF .NET Framework 3.0. It uses duplex communication and TCP binding (for some reasons that are discussed later in this article). It concentrates on handling and controlling a WCF service that has to make reliable sessions with many clients and keep those connections alive as long as possible.
15 Apr 2008, 11:24:00   Source: WCF WPF Chat Application   Tags: Internet Examples

Microsoft.Reporting without Sql Server Reporting Services

Learn how to use the Report Viewer with any data source and build reports on the fly for use on the web or in Windows applications.
14 Apr 2008, 06:13:00   Source: Microsoft.Reporting without Sql Server Reporting Services   Tags: Examples

C# Script: The Missing Puzzle Piece

An article on a "scripting engine" for the C# language
11 Apr 2008, 18:51:00   Source: C# Script: The Missing Puzzle Piece   Tags: Examples

Index XML Documents with VTD-XML

Traditionally DOM or SAX-based enterprise applications have to repeat CPU-intensive XML parsing when accessing the same documents multiple times. This article introduces a very simple, general-purpose, native XML index called VTD+XML that eliminates the need for repetitive parsing of those applications.
11 Apr 2008, 14:20:00   Source: Index XML Documents with VTD-XML   Tags: XML Examples

Anagrams - A Word Game in C#

The classic word game using words and letter scores alllowed in Scrabble.
7 Apr 2008, 10:45:00   Source: Anagrams - A Word Game in C#   Tags: Examples