Computer-related design and development articles by Matt Weber.

Recent Posts

Jan 19 2012

Adding 'beforefieldinit' Support to Custom Advice with PostSharp

An update to a previous article I wrote on the subject, specifically concerning the 'beforefieldinit' flag.

Nov 28 2011

Validating Method Parameters with PostSharp

Discusses how one can extend PostSharp using the PostSharp SDK to allow for easy method parameter validation.

Oct 28 2011

Propagating PostSharp Aspects

Discusses how to allow for PostSharp aspects applied to a base class to also be applied to all derived classes.

Sep 26 2011

Automating WiX with MSBuild

Discusses an updated way to integrate WiX with MSBuild.

Aug 2 2011

VS 2010 SP1 Crashes when Viewing TFS 2008 Build Reports

Details a crash occurring in VS 2010 SP1 when viewing TFS 2008 build reports as well as how to fix it.

Aug 2 2011

WiX Automation with MSBuild Tasks

Discusses how to integrate WiX into your automated build process through MSBuild.

Aug 2 2011

Creating a Proper Update Experience with WiX

Discusses how one can make user friendly *.msp patches using WiX and a little bit of magic.

Aug 2 2011

Outlook 2010 Update Butchers Shared Folder IDs

Discusses a breaking change in Outlook that affects anyone who makes use of folder Entry ID's in external MAPI clients or communications.

Aug 2 2011

Outlook 2010 Update Butchers Shared Folder IDs, Part 2

Discusses a follow up to the previous article on butchered ID's with a workaround for online mode (and in general).

Aug 2 2011

Outlook Profile Management II

A follow up to the previous Outlook profile management article, delving deeper into some of the twists 'n turns with OL2010's new profile system.

Aug 1 2011

Using Server Manager Remotely

Discusses the ability to use Windows 2008's Server Manager remotely from a non-Windows 2008 machine, and how to get it working for you.

Aug 1 2011

What's Happening with this Website?

Discusses some disruptive changes occurring on my site.

Aug 1 2011

Preexisting Schemata Relational Mappings Using Entity Framework 4.1 (Code First)

How to make use of the new Entity Framework Code First approach when working with an existing database.

Aug 1 2011

Properly Handling “A potentially dangerous Request.Form value was detected…”

Explains what HttpRequestValidationExceptions are, and how to properly avoid them.

Aug 1 2011

Simplicity is the Glory of Expression

Discusses how we can throw ArgumentNullExceptions without having to provide a string literal of the parameter name through the use of Expressions.

Aug 1 2011

Sorting Large Datasets under a CollectionViewSource

Talks about how we can achieve faster sorts with a CollectionViewSource in WPF, and some general information regarding extending base WPF behavior.

Jul 27 2011

Client-Side Data, List Boxes, and EventValidation

Looks at what Event Validation is, and how we can avoid Event Validation errors without disabling it entirely.

Jul 27 2011

Determining Whether Outlook 2007 or 2010 is Installed

Which Outlook version is installed? This article takes a look at a few approaches for figuring that out.

Jul 27 2011

Efficient Representation of Large Data Sets With ItemsControl

Discusses how we can bind very large datasets to an ItemControl without killing your performance.

Jul 27 2011

Entity Framework: Executing Arbitrary SQL Commands

Discusses how we can use the Entity Framework to perform arbitrary SQL operations not covered by normal Entity Framework functionality.

Jul 27 2011

Entity Framework: Unwanted Insertions of Existing Entities (DbUpdateException)

Discusses an issue with Entity Framework where things are being added to the database that have no business there!

Jul 27 2011

Establishing Cardinality between Views and other Entities

Discusses how we can make full use of views and create relationships between them and other entities using Entity Framework.

Jul 27 2011

How the ‘PATRIOT Sunsets Extension Act of 2011′ Came to Be

Discusses the legal manoeuvring employed by the Senate to extend the PATRIOT Sunsets Extension Act of 2011.

Jul 27 2011

How to Detect the Language Used by Outlook

Briefly discusses how one may determine the active language being used by Outlook.

Jul 27 2011

Office and Embedded Interop Types

Discusses using the "embed interop types" feature with an Office add-in.

Jul 27 2011

Outlook COM Interop and Reference Counting: Or How I Learned to Stop Worrying and Love the RCW

Discusses various aspects of COM Interop in Office (Outlook specifically).

Jul 27 2011

Outlook COM Interop and Instance Equivalence for Unique Runtime Callable Wrapper Objects

Discusses how to check for equivalence between instances retrieved via COM Interop, specifically in an Outlook environment.

Jul 27 2011

Outlook 2010 Profile Management

Discusses various aspects of Outlook Profiles from a programmatic perspective.

Jul 26 2011

Why isn't TypeDescriptor.AddProvider Working with ASP.NET?

We examine why TypeDescriptor.AddProvider may not work as expected when using ASP.NET, and then discuss solutions to this problem.

Jul 26 2011

Specifying DateTime Format Specifiers

A small foray into the world of .NET DateTime format specifiers, culture, and the like.

Page: 1 2