Category Archives: The .NET Framework

Crafting Better Code – C#: Write abundant quality comments

From the very start of your software-engineering you should compose cogent comments right along with your code. The only exception is where your code is so small that it is trivial and obvious (to anyone besides yourself) or else you … Continue reading

Posted in C#, Software Design, Uncategorized | Tagged , , | Leave a comment

Simplifying your Software Design: Logging

I prefer my tools to be spartan and simple. I want them to just work. Without a lot of prep, reading, and thought — “just flip’n do it and don’t get in my way!” Continue reading

Posted in C#, Software Design, The Development Process | Tagged , | Leave a comment

Visual Studio 2013 is released, with F# 3.1, the Visual F# tools, and improvements to ASP.NET

Announcement of a pre-release of F# 3.1 Continue reading

Posted in F#, Visual Studio | Tagged , , | Leave a comment

Silverlight 5 is available in beta now

The next version of Microsoft Silverlight will be version 5.  You can download a beta and related tools right now from here.  Microsoft has an announcement and description page here. You’ll also want to download the Silverlight 5 Beta Tools … Continue reading

Posted in Graphics, silverlight, Software Design | Tagged | Leave a comment

A Virtual Keyboard for your WPF apps

A design for a Virtual Keyboard using WPF. Continue reading

Posted in C#, CodeProject, silverlight, Software Design, The .NET Framework, WPF | Tagged , | 37 Comments

WPF Tip #1: avoid App.Current.Shutdown

In your WPF application’s Exit command handler, be wary of calling App.Current.Shutdown unless you want to bypass the normal ‘Close’ process. It can result in your override of OnClosing to NOT be called, and your closing-event handlers don’t get called … Continue reading

Posted in WPF | Tagged | Leave a comment

Databinding in WPF/SilverLight

One of the more interesting features of the WPF/SilverLight framework, is databinding. And also one of the more confusing. I’m going to list a few tips here, to serve as a cheat-sheet.. By “source property” I mean that bit of … Continue reading

Posted in WPF | Tagged | 1 Comment

The C# Code-Formatting Standard

Digging into an existing software project of significant size can be confusing and, without a clear structure and organization of the code and the documentation, can result in a lot of wasted time. Structure guides and clarifies, and self-documents. Well, … Continue reading

Posted in beginner, C#, Software Design, The .NET Framework, The Development Process, WPF | Tagged , , | 3 Comments

How to use your own fonts within Silverlight

Silverlight seems to provide for excellent control over the presentation of your online prose and typography, compared to HTML. The use of the built-in default fonts is quite straightforward. But I wanted to deploy some other typefaces within my online … Continue reading

Posted in C#, CodeProject, Software Design, The .NET Framework | Tagged , , , | 3 Comments

ParseLib: A C# library for parsing values from a TextBox

(Note: I’ll come back to edit this post after I figure out how to properly format code for blog articles, and provide for downloadable sample code!) It’s common to use a TextBox control for entering numbers, dates and other data types that … Continue reading

Posted in C#, Software Design, WPF | Tagged , , | 2 Comments