Composite Application Block MdiWorkspace Sample

Introduction As has been noted on some other blogs, there is no sample provided for the MdiWorkspace in the Composite Application Block. There are a couple of examples elsewhere, but these seem a little overcomplicated, and I had difficulty getting them running. Also there doesn’t seem to be an example that shows how to use … Continue reading Composite Application Block MdiWorkspace Sample

Introduction to Dependency Injection (Introduction to CAB/SCSF Part 3)

Introduction This article is actually part 3 of an introductory series of articles on Microsoft’s Composite Application Block (CAB) and Smart Client Software Factory (SCSF). However, this particular article will only talk about dependency injection in general terms and not discuss the CAB/SCSF. Part 5 of the series will address dependency injection in the CAB. … Continue reading Introduction to Dependency Injection (Introduction to CAB/SCSF Part 3)

An Introduction to the Smart Client Software Factory and Composite Application Block: Part 2 WorkItems

Introduction In part 1 of this article I introduced a simple example of how to use Microsoft’s Composite Application Block. To try to keep the example as simple as possible I only covered modules and shells. There are two other core concepts that you need to understand to be able to use even the most … Continue reading An Introduction to the Smart Client Software Factory and Composite Application Block: Part 2 WorkItems

An Introduction to the Smart Client Software Factory and Composite Application Block: Part 1 Modules and Shells

Introduction Microsoft’s Smart Client Software Factory (SCSF) and associated application blocks are excellent pieces of software. However, for a developer coming to them for the first time they can be extremely daunting. There are many things that can be confusing. Firstly we have modules, workitems, workspaces, and shells, all of which sound similar. Then there’s … Continue reading An Introduction to the Smart Client Software Factory and Composite Application Block: Part 1 Modules and Shells

C#, Visual Basic and C++ .NET Line Counter Utility – Version 2

Downloads Source code download. Executable download. Update An updated version of the line count utility described in an earlier article is now available. This now: Does basic C++ line counting of Visual Studio.NET projects and solutions, as well as C# and VB.NET as previously. Counts the total number of code files and displays them in … Continue reading C#, Visual Basic and C++ .NET Line Counter Utility – Version 2

C# and VB.NET Line Count Utility – Version 1

This program has now been upgraded to version 2, which additionally deals with C++ .NET solutions. This can be downloaded from my later article. Overview The attached program is a line count utility written in C#. This: Counts the number of lines in a .NET solution, project or individual code file. Works with both C# … Continue reading C# and VB.NET Line Count Utility – Version 1

A Beginner’s Guide to the Black-Scholes Option Pricing Formula (Part 3)

Continued from part 2. Volatility If you know a little about options already you will probably be aware that their values depend on something called volatility. Volatility is usually not needed to price derivatives that are not options. Technically volatility is defined as the annualized standard deviation of the return on an asset (in our … Continue reading A Beginner’s Guide to the Black-Scholes Option Pricing Formula (Part 3)