January 2008

Monthly Archive

The Morning Brew #22

Posted by on 31 Jan 2008 | Tagged as: .NET, Development, Morning Brew


NetAdvantage for WPF RTM – After a period of Beta testing this collection of rather attractive looking business WPF controls has now been released for download


Explicit Strongly Typed Selective Proxies – This article applies Castle Dynamic Proxy to sho how you can intercept method calls to specific methods on classes

10 ASP.NET Performance and Scalability Secrets – 10 things to help you ASP.NET application fly – some of the tips apply to any technology but al the examples are ASP.NET/Microsoft related

Troubleshooting Expired ASP.NET Session State and Your Options – Scott Hanselman gives some tips on debugging session state problems

Three Rules for Database Work – K. Scott Allen talks about some best practices for databases which really should be part of your development project (but seldom are)

Why threading is hard – Mike Stall talks about the factors that make threading hard

WPF : A Beginners guide part 3 of n – Sacha Barber’s third part of this series, this article covers commands and events.

How-To: Use ClickOnce to deploy your Applications – Shahar Gvirtz gives an overview of clickonce set up with lots of screen shots.


HelloSecureWorld – Microsoft’s new, slightly weird, security site. Collects together videos, virtual labs and blogs in the developer security space

The Morning Brew #21

Posted by on 30 Jan 2008 | Tagged as: .NET, Development, Morning Brew

I managed to get most of today’s post prepared last night, so I’m a little earlier posting today.


Increment Build No in VS.Net – A useful little build tool to change the AssemblyInfo.cs build number – something I always forget to do when bugfixing – so this should save me at least 1 rebuild for every bug fix!

Irony – .NET Compiler Construction Kit – The first public alpha of this pure C# code parsing library


I’ve got the Iteration #1 Blues – Jeremy D. Miller talks about getting the foundations of your project environment in place early on, so you don’t have to retro fit (or worse still make do without) later on.

Lack of Coverage Tools for .NET – Bil Simser remarks on the lack of free Code Coverage tools – the comments contain a few suggestions that I’ll be checking out.

Using MVC to Unit Test WPF Applications – An MVC Unit Testing article – this one deals with WPF applications and goes into a good level of detail

Custom Controls Design Time Support Part 11: Designer Verbs – An excellent tip – something I’ve never come across before. The rest of this series is well worth a look if you have never tried creating custom controls

.NET Framework 3.5 deployment guides have been published on MSDN – Aaron Stebner collects together the different deployment guides for the 3.5 version of the framework


The programmer who programs least, programs best. – Justin Etheredge extols the virtues of writing less code


So A Model, A View, and a Controller Walk Into a Bar – An alternative explanation of MVC

The Morning Brew #20

Posted by on 29 Jan 2008 | Tagged as: .NET, Development, Morning Brew

A lot to report today – a mixture of links from the weekend and yesterday make up today’s post.


KryptonCheckedListBox – Another new control added to the Free to use Krypton Toolkit

Aspose.BarCode for .NET v2.4.1.0 – Latest release of this barcoding component which adds support for recognition of UPS OneCode barcodes

Face and Eyes Detection Using OpenCV – A .NET’ized version of OpenCv allowing face detection in .NET applications

Source Code Outliner 1.0 PowerToy for Visual Studio 2008 – New power toy for Visual Studio, with full source available.

Announcing RTW version of Visual Studio 2008 Web Deployment Projects (WDP) – The Visual Web Developer team announce the Release To Web (RTW) of their latest Web Deployment Projects


Whitebox vs Blackbox testing – Derik Whittaker gives the pros and cons of both locations for your unit tests.

Source Control and Continuous Integration On The Cheap – Rob Conery sets up Source code control and CI using Subversion and TeamCity (by JetBrains)

Detect Client IP in WCF 3.5 – Keyvan Nayyeri shows a .NET 3.5 technique for getting your WCF Service’s client’s IP address

HashSet versus Dictionary Cage Match – A performance analysis of the new .NET 3.5 HashSet and the traditional dictionary.

Expectation Based Testing with Mocks – A simple introduction to Expectation based mocking using Rhino.Mocks

HowTo: SubSonic Introduction – Tony Testa gives a sstep by step introductory tutorial for Subsonic with plenty of code samples

C# Enum Craziness: Sometimes What You Expect Isnít The Case ę Spontaneous Publicity – Luke Foust talks about some of the stranger behaviour of the enum

Latest DLR Hosting Spec – John Lam links to the latest version of the DLR Hosting Specification

CodeProject: URL Object Serialization: An effortless approach to user account confirmation. Free source code and programming help – An interesting use of Serialisation , compressopn and Encryption – not sure if I’d use it in the way the article does, but it illustrates the concepts nicely.

Dynamic Creation Of Assemblies/Apps – A tour of the System.CodeDom functionality of the .NET framework.

How agile are you? – A 42 point test to evaluate how much your team has embraced agile principles. Like so many of these tests I doubt any team would score 42, but scoring something approaching that really should be possible for teams that diligently follow agile principles to the letter.

10 Lessons in Scalability from MySpace – An interesting analysis of the performance tricks that MySpace have used in order to service the demands placed on their systems.

Top 5 Attributes of Highly Effective Programmers – A detailed discussion of 5 very important attributes for good programmers.

The Morning Brew #19

Posted by on 28 Jan 2008 | Tagged as: .NET, Development, Morning Brew

It seems to have been a busy weekend for .NET related stuff. There will be a few more links from the weekend in tomorrows post.


Source Code Outliner 1.0 PowerToy for Visual Studio 2008 – New power toy for Visual Studio, with full source available.

Announcing RTW version of Visual Studio 2008 Web Deployment Projects (WDP) – The Visual Web Developer team announce the Release To Web (RTW) of their latest Web Deployment Projects


CLR Fun Stuff: How is my C# code converted into machine instructions? – Shafqat Ahmed gives an overview of what happens under the hood of the .NET Framework at runtime. Vital reading as ll .NET developers should have an awareness of how this stuff happens.

Introduction to the new .net 3.5 HashSet class – An introduction to set theory and some examples of the new HashSet class in use.

Microsoft SQL Server 2008 Roadmap Clarification – Details of the current plan for SQL Server 2008 release dates.

An easier Table Design View in Sql Server Management Studio – Rick Strahl shows how you can get an easier table editor in management studio – this is a great tip as it solves something that I’ve always found annoying.

Building your own Visual Studio Source Code Outliner extension – A step by step guide to creating a Visual Studio Tool Window using the 2008 SDK.

Code Access Security – Understanding Demand and Declarative Security – Thottam R. Sriram gives an overview of declarative security, using attributes to specify the security requirements of methods.

Future Focus I: Dynamic Lookup – Charlie Calvert and Mads Torgersen start a series of articles which reveal the plans for future Visual studio versions with regard to C#. This month they talk about plans for Dynamic Lookup in C# (similar to VB.NET late binding) which would make COM interop and integration with dynamic languages much easier

Design Patterns – Observer Pattern – An overview of the Observer pattern with a simple example implementation

Create a system tray icon and a dialog in the windows service – Jerry Wang shows a technique to allow a Windows service to place an icon in the system tray to allow configuration of the service by the logged in user

C# 3.0 New Language Features (Part 2) – Mony Hamza completes his coverage for new C# features with a review of Anonymous Types, Lambda Expressions, Query Keywords, Auto-implemented Properties and Partial Method Definitions


Use Cases for Loading and Saving OOXML documents in Aspose.Words – The folks at Aspose are seeking advice from the developer community about a particular feature of their API. This is a really nice thing to see a tools vendor doing.

The Morning Brew #18

Posted by on 25 Jan 2008 | Tagged as: .NET, Development, Morning Brew

At last it is Friday – this week has felt like a very long one. If you have any suggestions for items that should be in the Morning Coffee, please drop me an email – morningbrew@incanus.co.uk – and I’ll consider putting it in the next issue.


KryptonListBox – New Office 2003/2007 styled list box control added to this free to use control library.

Aspose.Network for .NET v3.8.0.0 – Latest Update of the Aspose.Network component. New features include SSL on POP3 and IMAP connections along with a number of bug fixes

Table Data Exporter – Simple utility to export data from a table to a set of insert statements


Development Homeruns – Larry O’Brien continues the discussion about developer productivity

Strongly Typed Datasets (.NET 2.0) – Course Notes – Course Notes from an online course giving lots of information about Strongly Typed Data Sets

Executing Code in Partial Trust Environments : DevTopics – A nice review of Code Access Security and and how you can work in Partial Trust environments.

.NET Graphical Resources – If like me you require as much help as possible in making a GUI look nice, John Russell Plant’s round up of a few graphical resources will be very welcome

Gotchas: Fusion Log Viewer, your best friend for assembly load errors – A reminder about the existance of the Fusion Log Viewer application – a tool to help diagnose assembly loading problems

Create HTTP Endpoint (Web Service) in Sql Server 2005 – A quick example of how easy it is to make a web service in the database in SQL 2005

Avoid API breaking changes – Patrick Smacchia talks about the System.ObsoleteAttribute and some other techniques for checking your API for backward compatibility and breaking changes.

How to write stories _before_ the project kicks off – Jeffrey Palermo gives some thoughts on starting a new project and writing good user stories

Dependency Injection with Spring.Net – No idea if this is a new article or not, but it covers dependency injection using Spring.Net in good detail

Aspect Oriented Programming with .NET with Windsor – A quick introduction to Interceptors using Windsor.

The Morning Brew #17

Posted by on 24 Jan 2008 | Tagged as: .NET, Development, Morning Brew


Welcome to the Web Deployment Team blog – A new Team Blog, and a new rather interesting tool to help keep IIS servers in sync – this looks like it could be really useful


Chaining the C# ?? Operator – Rick Strahl reminds us of the power of the ?? operator

Shredding XML into tables – Kent Tegels gives SQL 2005 and SQL 2008 ways of achieving the same goal.

Looking Inside C# Closures – Bill Wagner covers C# Closures by giving an example of their use

Announcing the MTPS REST API – Craig Andera announces a public prototype at MSDN Labs of a REST implementation for the Microsoft Technet Publishing Service

Writing unit tests for an MVC Framework controller sucks – Mike Hadlow talks about the differences between unit testing Monorail controllers and controllers in the new Microsoft MVC framework.

There is too much money to be made in software development – Raymond Lewallen starts an interesting discussion – the comments are worth a read

MSDN/Architecture Journal Readers and the Reader SDK – Microsoft are eating their own dog food by using the recently released Reader SDK (Syndicated Client Experiences Starter Kit) to create reader apps for MSDN and the Architecture Journal.

Use C# 3 features from C# 2 and .NET 2.0 code (var keyword, anoynoymous types, auto-properties and more from .NET 2.0 project) – Shahar Gvirtz Weblog – Shahar Gvirtz uncovers some the details of how VS2008 allows targeting of .NET 2.when you use .NET 3+ features


Heroes Happen Here – UK Launch Event – I held off mentioning the Microsoft UK 2008 product launch event as I thought by the time I’d posted it there would be no spaces left – however it still sounds as though there are places available.

The Morning Brew #16

Posted by on 23 Jan 2008 | Tagged as: .NET, Development, Morning Brew

Thanks to those who responded to yesterdays incorrectly worded request about display problems with the feed. I think it might be down to some strangeness in the feed generated by FeedBurner – more investigation to follow.


SQL Server 2005 Best Practices Analyzer – Released last week – this is the January 2008 update

Announcing Graffiti Beta 2 – Telligent release the latest beta of their new CMS software


Defensive Coding best practice – Derik Whittaker talks about null reference exceptions and how you can help to avoid them by being defensive in your code

SQL Server Version Numbers – That @@version number means my SQL Server is running what SP? – Greg Duncan gathers together the different version number and their corresponding service pack numbers

Research Supports The Effectiveness of TDD – Phil Haack talks about the evidence to support TDD as an effectiveness enhancer for developers

Obtain System Information Using Windows Management Instrumentation Calls – A good overview of tools and methods for working with WMI to obtain information from Windows.

OpenID implementation in C# and ASP.NET – Mads Kristensen investigates Open ID and implements Open ID Authentication in ASP.NET

ASP.NET Personal Web Site Starter Kit – Ajax Enabled with .NET Framework 3.5 and VS2008 – Brad Abrams talks you through upgrading the Personal Web Site Starter Kit to take advantage of the new features of VS2008 and .NET 2.5


Get Ready for SQL Server 2008! – Details of a free virtual conference to be held tomorrow.

Wanna Blog on ASP.NET ?? – weblogs.asp.net are after some new bloggers to join the ranks along side their well known bloggers

The Morning Brew #15

Posted by on 22 Jan 2008 | Tagged as: .NET, Development, Morning Brew

I’m typing to improve the formatting of The Morning Coffee, If you are reading this in an RSS reader, and its not formatted well, please could you let me know what reader you use. Thanks


F# Compiler – The F# compiler has been updated to version


Increasing the Business Value of Software Using a Separation of Concerns Approach to Software Testing – Interesting slide deck, talking about the different types of testing, and giving some tips for each of them.

FxCop: Writing Your Own Custom Rules – A comprehensive FxCop resource detailing the construction of custom rules for FxCop.

Intellisense-like method selection pop-up window – A tutorial in creating AutoComplete selection lists in WPF

Two data types to represent a period of time with NHibernate usertypers – Two examples of classes to use for time periods, and how you can integrate them with you NHibernate persistence.

The Essential Agile Reading List – Patrick Kua gathers together some of the ebst books on agile development.

The One Minute Build – Peter Gillard-Moss talks about the imprtance of a quick build in your Continuous Integration setup.

Creating a Yellow Fade with ASP.NET AJAX Toolkit – Stephen Wright goes through the process of creating the famous AJAX ‘I’ve update this bit’ fade effect


Geek Speak "Problems and Solutions When Implementing a Windows CardSpace Identity Provider" – Upcoming web cast event from MSDN featuring Barry Dorrans talking on real world CardSpace use.

Next Page »