Category: .Net

Office Add-In Development “Gotcha”

Office Add-In Development “Gotcha”

Because of the nature of how Office add-ins are loaded, it’s an easy enough mistake to try to name your configuration file as: <library-name-with-extension>.config or in my case, <executable-name-with-extension>.config. In fact, the configuration file actually needs to be named WINWORD.exe.config...

Enterprise Library 3.0 Released

Enterprise Library 3.0 Released

I just noticed moments ago that the final release of Enterprise Library 3.0 released recently. Unfortunately, after a quick glance at the documentation, it seems like ObjectBuilder has been left off the table (link goes to online documentation for ObjectBuilder,...

Automatic Properties in C# 3.0…Why?

Automatic Properties in C# 3.0…Why?

One of the new features in C# 3.0 makes absolutely no sense to me: automatic properties. I have two issues with this approach. First, Wouldn’t it make more sense to just have VS ask: “Do you want to generate a...

NHibernate Or Bust!

NHibernate Or Bust!

So my interest in NHibernate is picking back up again.  The 1.2 beta release that’s circulating now (the candidate release has been out since February of this year) addresses various issues with NHibernate in my previous time with it. Specifically,...

Combating Namespace Bloat With .Net XML Serialization

Combating Namespace Bloat With .Net XML Serialization

Anyone who has used the .Net XmlSerializers have surely encountered the dreaded namespace bloat which makes the serialized objects grow to ridiculous sizes. There’s a nice little article over at TopXML on how to deal with this bloat. If you’re...

WF Passivation Services Issues

WF Passivation Services Issues

If you’re expecting the WF (Windows Workflow) passivation services to work out of the box, well, you’re half right.  From one of my workflows, I’ve been able to trap that an error was being thrown at some point during execution, but...

Setting Links in Word Programmatically

Setting Links in Word Programmatically

Since I didn’t find anything on this topic via Google… Just a quick “how to” on setting links in Microsoft Word programmatically (in this case, C#):

The code is wrapped in a function call I’m using for testing. The key...

Revisiting Spring.Net

Revisiting Spring.Net

Spring.Net is an application framework which has its roots in the Spring Framework for Java. Now first of all, I know many developers have an averse reaction to the use of the phrase “application framework” and immediately reject such things...

Most Annoying Error Ever.

  So I’ve been working on this Windows Forms app for the past month and recently, it started developing this very odd error that occurs only after a successful build, just as I fire up the window.  Behold: Argh!  What’s...

My Thoughts on WF

My Thoughts on WF

As I commented in a post on Paul Andrew’s blog regarding what WF is and what it is not: As I’ve been working with WF these last few weeks, I’ve come to form another view of WF and what it...