CodeProject Newsletter (5 May 2008)


New articles added Last week

List Controls

  • Enable MultiSelect in WPF ListView - Leung Yat Chun
    Make your ListView support Item Selection by Dragging, (Unedited)
    C# (C# 3.0, C#), Windows (Windows, WinXP, Vista), WPF, Design, Beginner

Ajax and Atlas

ASP.NET

ASP.NET Controls

Client side scripting

Internet / Network

  • A Code Project Article Information Library (Part 2) - Derek Bartram
    This library provides a framework for using Code Project article information in applications, and provides a utility for extracting user information (Unedited)
    C#, Windows (Win2K, WinXP, Win2003, Vista, Windows), .NET (.NET 2.0, .NET 3.0, .NET 3.5, .NET), Win32, Win64, Arch, Dev, Beginner

  • The Code Project Kevin Bacon Game (Part 3) - Derek Bartram
    A Code Project orientated Kevin Bacon game utilising the CodeProject.dll (Unedited)
    C#, SQL, Windows (Win2K, WinXP, Win2003, Vista, Windows), .NET (.NET 2.0, .NET 3.0, .NET 3.5, .NET), Win32, Win64, CEO, Arch, DBA, Dev, QA, Design, Intermediate, Advanced

Silverlight

  • Silverlight2 Lightbox - Tim Mason
    A Silverlight2 lightbox control (Unedited)
    C# (C# 3.0, C#), JScript, .NET (.NET, .NET 3.5), Visual Studio (VS2008, VS), XAML, Design, Dev, Intermediate

  • Silverlight 2.0: The first native rich text editor - Christoph Husse
    In contrast to existing ones, my RTE is fully written in C# and doesn't use any HTML rendering or JavaScript. Most common features are supported! (Unedited)
    C# (C# 3.0, C#), .NET (.NET, .NET 3.0, .NET 3.5), XAML, WPF, Design, Dev, Beginner, Intermediate

  • A Textured Triangle Control for Silverlight 2 - the Basic Building Block for 3D - Florian Kruesch
    This article is all about implementing a triangle primitive as custom control in Silverlight 2.0 that can be used for 3D effects in Silveright. (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0, C#), .NET, XAML, Dev, Beginner, Intermediate, Advanced

Web Security

  • Query string encryption for ASP.NET - Michael Ulmann
    Clear text query strings are a potential security threat for your web application. Thus, query strings should be always encrypted. (Unedited)
    JScript, CSS, HTML, C#, ASP, ASP.NET, Ajax, Dev, Beginner, Intermediate

Database

.NET Framework

  • Publishing Remote Object From IIS - ayrilmaz
    How to publish a remote object using IIS (Internet Information Server) (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0, C#), Intermediate

  • JIT Optimizations - Sasha Goldshtein
    In this article, we will look into JIT optimizations, with specific focus on inlining.
    C# (C# 1.0, C# 2.0, C# 3.0, C#), ASM, MSIL, Windows, .NET, Dev, Design, Advanced

  • Handling HTML Events from .NET, using C# - Sharon Salmon
    This article demonstrates a simple way to bind to any HTML document event from a .NET WinForms application or a BandObject or a Browser Helper Object.
    C#, VB (VB 7.x, VB 8.0, VB 9.0, VB 6, VB), .NET, WinForms, Intermediate

  • Running a ClickOnce application from another program - dwrogers
    A bootstrap loader to execute a ClickOnce application - written in C# (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0, C#), VB, Windows, .NET, WinForms, Arch, Dev, Intermediate

Windows Communication Foundation

  • Simple WCF - X509 Certificate - meetsenthilbtech
    how to create Temporary X509 certificate and also to implement X509 Certificate security in WCF service and client (Unedited)
    WCF, Dev, Intermediate

Windows Presentation Foundation

  • Simple slide game using Viewbox - Sacha Barber
    A simple 9 peice puzzle using ImageBrush.ViewBox (Unedited)
    C# (C# 3.0, C#), .NET (.NET, .NET 3.5), WPF, Design, Arch, Dev, Intermediate

  • Creating the Same Program in Windows Forms and WPF - Josh Smith
    Shows how to write the same simple program in Windows Forms and WPF (Unedited)
    C# (C# 3.0, C#), .NET (.NET, .NET 3.5), XAML, WPF, WinForms, Arch, Dev, Beginner

  • Aggregating WPF Commands with CommandGroup - Josh Smith
    Introduces a generic technique of chaining commands together (Unedited)
    C# (C# 2.0, C# 3.0, C#), .NET (.NET, .NET 3.5, .NET 3.0), XAML, WPF, Arch, Dev, Intermediate

Windows Workflow Foundation

C#

  • Simple C# Downloader - Sean Dastouri
    Connect and download any file from the internet using .NET and C#. (Unedited)
    C# (C# 3.0, C#), .NET, Beginner

  • MySQL Table Manager - AKA MAJO
    MySQL engine permits user level locks. The program explains how to manipulate these lock types. (Unedited)
    C#, .NET (.NET 2.0), WinForms, Intermediate

Java

  • EJB 3.0 Remote Session Bean Lookup - bijulsoni
    This article describes a way to perform remote lookup of EJB 3.0 session bean into simple Java application.
    Java, Java (J2EE), Dev, Intermediate

VB.NET

  • Drag and Drop on a Windows Form - Sigurd Johansen
    How to insert an image on a form in runtime mode, dragging it to the right position and by using a database retrieve the position and shape when starting the application up again
    VB, SQL, .NET, Dev, Intermediate

Algorithms & Recipes

  • Virtual Cursor - Hatem Mostafa
    This article demonstrates a new technique to optimize DBMS' output cursor storage using Virtual Cursor. (Unedited)
    C++, C, Advanced

  • Calculating Percentiles in Memory-bound Applications - John D. Cook
    How to compute percentiles of a stream of data too large to fit into memory at once
    C++, WindowsVS2005, Dev, Intermediate

Threads, Processes & IPC

Design and Architecture

  • Designing Application Using Test Driven Development - azamsharp
    In this article we will take a look at designing application using test driven development.
    C#, ASP.NET, Arch, Dev, Design

  • Secrets for Setting Up Continuous Integration - wallism
    A few simple tips that should help when you are considering setting up CI (Unedited)
    SQL, C# (C# 1.0, C# 2.0, C# 3.0, C#), VB (VB 7.x, VB 8.0, VB 9.0, VB), .NET (.NET, .NET 3.5, .NET 3.0, .NET 1.1, .NET 2.0), SQL (SQL 2005, SQL), WinForms, WebForms, ASP.NET, Arch, DBA, Dev, Beginner, Intermediate, Advanced

Hardware & System

  • WMI Provider Extensions in .NET 3.5 - Sasha Goldshtein
    In this article, we will write a full-blown WMI provider in managed code and consume that provider from managed code using the WMI extensions in .NET 3.5.
    C++/CLI, C# (C# 1.0, C# 2.0, C# 3.0, C#), Windows (Windows, Win2K, WinXP, Win2003, Vista), .NET (.NET, .NET 3.5), Arch, Dev, QA, Design, Beginner, Intermediate

Product Showcase

  • Visualize Data on a Mobile Device using Visual Studio - Vladimír Gregor
    This article is about displaying data in mobile applications built on the .NET Compact Framework platform. It demonstrates several typical data structures and their visualization on the small display of a mobile device.
    Windows, .NET CF, Visual Studio (VS2008, VS), Arch, Dev, Intermediate

Articles updated added Last week

Combo & List Boxes

Desktop Gadgets

  • Developing a Realtime Stockreader using WPF and Yahoo Finance Data - michbex
    RealtimeSockreader is a desktop widget for viewing live stock data of your portfolio (Unedited)
    C# (C# 1.0, C# 2.0, C#, C# 3.0), Windows (Windows, WinXP, Vista), .NET (.NET, .NET 3.0), Visual Studio (VS, VS2008), XAML, WPF, Design, Dev, QA, Intermediate

Edit Controls

  • A C# Numeric Field Control - Michael Chapman
    An abstract base for a numeric fielded control.
    C# 2.0, Windows, .NET 2.0, Visual Studio, Dev, Intermediate

Grid & Data Controls

  • Cell Blink for DataGridView - Raghavan Ram Raja
    An article on adding a cell blink feature for DataGridView
    C# 2.0, Windows, .NET 2.0, Visual Studio, WinForms, Dev, Intermediate

List Controls

  • A Much Easier to Use ListView - Phillip Piper
    This article describes a much easier to use ListView that supports sorting and grouping.
    C# 2.0, Windows, .NET 2.0VS.NET2003, VS2005, Dev, Intermediate

Miscellaneous

  • A C# IP Address Control - Michael Chapman
    A C# analogue to the MFC CIPAddressCtrl
    C#, Windows, .NET 1.1VS.NET2003, Dev, Intermediate

Progress Controls

Tree Controls

  • Visual Studio 2005 ToolBox Clone - Popangler
    A simple clone of the Visual Studio 2005 toolbox using a standard treeview. (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0, C#), Windows (Windows, Win2K, WinXP, Win2003, Vista), Win32, GDI+, Dev, Design, Beginner

Applications & Tools

ASP.NET

ASP.NET Controls

Client side scripting

Internet / Network

Silverlight

Libraries

  • Xport: XHTML Parsing and Objective Reporting Toolkit - Mitchel Haas
    Open source C++ class template library for generating and parsing xhtml documents. (Unedited)
    C++ (VC6, VC7, VC7.1, VC8.0, C++), C++/CLI, C, Windows (Windows, NT4, Win2K, WinXP, Win2003, Vista), Win32, STL, CEO, Arch, Dev, Intermediate, Advanced

Mobile Development

  • Pocket PC and Smartphone 99% .NET MAPI - rwt33
    A wrapper for using MAPI on the Pocket PC and Smartphone, written 99% in .NET, resulting in a fast and easy-to-maintain library.
    C++, C# 2.0, Windows, .NET CF, .NET 2.0, Visual Studio, Dev, Advanced

Windows Presentation Foundation

  • WPF Runtime Localization - Andrew Wood
    A WPF localization solution with runtime updating and design-time support in Visual Studio and Expression Blend
    C# (C# 2.0, C#), Windows, .NET (.NET, .NET 3.0), XAML, WPF, VS2005, Design, Dev, Intermediate

  • Introduction to XPS - Part 1 of n(ot too many) - Lee Humphries
    XPS is a fixed document format derived from XAML - so how do you use it to produce the documents you want? (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0, C#), XML, XSLT, .NET (.NET, .NET 3.5, .NET 3.0), XAML, Arch, Dev, Beginner, Intermediate

C / C++ Language

  • C++ Memory Management Innovation: GC Allocator - xushiwei
    Most of the C++ programmers do not benefit from "Garbage Collection" technique (GC). Here is a new memory management technique named "GC Allocator" (Note it is not "GC"). (Unedited)
    C++ (VC6, VC7, VC7.1, VC8.0, C++), C++/CLI, C, Windows, ATL, STL, COM, Arch, Dev, Intermediate, Advanced

C#

  • EventyList: The List with Events - gajatko
    Generic list class based on Microsoft's implementation with few additional events to handle like BeforeAdd, OnAdd, BeforeRemove, etc.
    C# 2.0, Windows, .NET 2.0VS2005, Dev, Intermediate

  • VTD-XML: XML Processing for the Future (Part II) - Jimmy Zhang
    Reveal XML processing issue #1 and explain why document-centric XML Processing is the future (Unedited)
    C#, XML, .NET (DotGNU, .NET), Dev

  • Index XML Documents with VTD-XML - Jimmy Zhang
    Introduce a simple, efficient, human-readable XML index called VTD+XML (Unedited)
    C, C# (C# 1.0, C# 2.0, C# 3.0, C#), JScript, XML, CSS, HTML, ASM, MSIL, UML, Forth.NET, XSLT, LINQ, Office, XBox, Windows (Windows, Win2K, WinXP, Win2003, Vista), WinCE, .NET CF, .NET (.NET, Mono, DotGNU, .NET 3.5), ASP, ASP.NET, Win32, Win64, SQL (SQL 2000, SQL 2005, SQL), IIS, GDI, GDI+, OpenGL, DirectX, Ajax, WCF, XAML, WPF, COM, COM+, ADO, ADO.NET, VS.NET2002, VS.NET2003, VS2005, VS2008, Design, CEO, Arch, DBA, Dev, QA, Beginner, Intermediate, Advanced

  • Schemaless C#-XML data binding with VTD-XML - Jimmy Zhang
    Agile, efficient XML data binding without schema (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0, C#), XML, .NET CF, .NET (.NET, .NET 3.5, .NET 3.0, .NET 1.0, .NET 1.1, .NET 2.0), ASP, Win32, Win64, WCF, Ajax, Design, CEO, Arch, DBA, Dev, QA, Beginner, Intermediate, Advanced

  • Multiple Ways to do Multiple Inserts - Neeraj Saluja
    Various ways to do Multiple Inserts in SQL Server 2000/2005 or Oracle Database using ADO.NET in single database round trip. (Unedited)
    C# (C# 1.0, C# 2.0, C#), .NET (.NET, .NET 1.1, .NET 2.0), ADO.NET, Dev, Intermediate

XML

  • XML on a Chip - Jimmy Zhang
    Discuss the technical considerations of porting XML processing to custom chips.
    XML, Arch, Dev, Intermediate

Algorithms & Recipes

Cryptography & Security

  • Cryptographic Interoperability: Keys - Jeffrey Walton
    Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
    C++ (VC6, VC7, VC7.1, VC8.0, C++), C# (C# 2.0, C# 3.0, C#), Windows (Windows, Win2K, WinXP, Win2003, Vista), .NET (.NET, .NET 3.5, .NET 3.0, .NET 2.0), Win32, Win64, Dev, Intermediate

Macros and Add-ins

  • Common Add-Ins - Sp1ff
    Writing add-ins for DevStudio, Visual Studio, and Office
    VC6, VC7, VC7.1, VC8.0Win2K, WinXPVS2005, VS6, Dev, Intermediate

  • Increment File and Product Version Number - Multiple IDE - Jordan Walters
    An add-in to automatically increment the FileVersion and ProductVersion fields in your application's resource file. Works in VC6 and VS2005, and probably all versions in between.
    C++ (VC6, VC7, VC7.1, VC8.0, C++, VC9.0), Windows (Windows, WinXP, Vista), Visual Studio (VS.NET2002, VS.NET2003, VS2005, VS6, VS2008, VS), ATL, STL, Dev, QA, Intermediate, Advanced

String handling

  • Parsing command line arguments - trupik
    CommandLineParser library provides simple way to define command line arguments and parse them in your application (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0, C#), Windows, .NET, Dev, Beginner

Threads, Processes & IPC

Hardware & System


No comments: