.RICHARD

Scribbles on .NET, BizTalk and integration etc …

It seems like there more build script one writes, the more often one wants to run them and it’s always a bit annoying (and time consuming) having to leave Visual Studio and start MSBuild from the command line. Brennan Stehling has a cool solution to that problem here were he sets up MSBuild as an […]

Yesterday I presented the MasterData Management using BizTalk 2006 R2 talk (I’ll soon have a post out with the presentation in English) I recently held at Developer Summit at the local .NET user group in Karlstad (KNUG).
KNUG is a new .NET user group that I actually helped start a couple of months ago. This […]

XPathmania and XPath on TV!

I’ve blogged about the Visual Studio extension XPathmania before. It’s a very simple little tool that lets you write and test XPath inside of Visual Studio 2005. No big deal if you already have tools like XMLSpy or XML Notepad but still. I like not having to start another application, opening the XML document I’m […]

TechEd Barcelona here I come!

I’ve just found out that I get to go to TechEd in November! I haven’t been there before. I’ve been to a lot of conferences but not the Microsoft conference. Do I have to say that I’m looking forward to it?
If you’re going and feel like meeting up for a BizTalk lunch, dinner or whatever […]

Ever seen this alert when trying to debug a project using Visual Studio 2005? 
The following module was build with optimizations enabled or without information:
C:\Windows\assembly\GAC_MSIL\ …
To debug this module, change its build configuration to debug mode. TO suppress this message, disable the ‘Warn if no user code on launch’ debugger option.

Basically this means that Visual […]

Simple RegEx replace in C#

As I don’t use regular expressions that often I always forget the syntax. So I thought I just put a basic replace pattern up here.
This method takes a schema, finds all places where is says schemaLocation=”whatever” in a text and changes this to schemaLocation=”whatever.xsd“ and then returns the schema.

private XmlSchema FixSchemaLocation(XmlSchema schema)
{
System.Text.RegularExpressions.Regex locationReplacePattern […]

UPDATE: This does not apply to BizTalk … I’ve made an update post here. Sorry.
We’re working with a lot of code libraries that we use in different parts of our BizTalk solutions. As the are used on several servers and by loads of different “BizTalk parts” (both in orchestrations and maps) it’s important that we always keep the […]

Testable data access code

As one of the most important rules for a test is that it can’t rely on state, I’ve always found automated data access testing hard. As I view it there are three approaches to accomplish reliable testing of such a layer:  

A local database that is restored for each and every test.
Using transactions that can rollback the database after […]

Visual Studio Database Project

I’ve realized that I never understood the full potential of the Visual Studio Database Project. None of the projects I’ve worked on has had a effective process on handling changes and versioning of the database schema. Test data, build scripts, changes to the local development database versus the test and production base has also been a bit bumpy. I’ve haven’t understood that working […]

FileSystemWatcher Class

I just found the FileSystemWatcher class in the System.IO namespace. It provides the functionality to listen on the file system for changes on a file or directory. The class fires a couple of events: Changed, Created, Deleted and Renamed.
I didn’t know of this class until now. I always thought one had to write a service to accomplish something […]

« Previous Entries