Archive for the '.NET' Category

FileSystemWatcher Class

Monday, September 25th, 2006

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 like this! Definitely very useful!

BizTalk exams passed!

Saturday, September 9th, 2006

Yesterday I passed both the 2004 exam (074-135: Developing E-Business Solutions Using Microsoft BizTalk Server 2004) and the new 2006 BizTalk exam (070-235: TS: Developing Business Process and Integration Solutions by Using Microsoft® BizTalk® Server 2006)!

Webcasts

When I first started studying for the exam I hadn’t really worked with BizTalk. These Webcasts provided an easy introduction to the basics of the products:

  1. Getting up to speed with BizTalk Server for .NET Developer
  2. BizTalk Orchestration
  3. Biztalk Server 2004 Architecture

The Webcasts are help by Scott Woodgate. He used to be the product manager for BizTalk and knows it inside out (besides being a skilled presenter).

Installation

Next thing I did was to install a Virtual PC with a Windows 2003 server. Then I used this list. The list saved me from some major pitfalls while installing BizTalk (especially 2004 is known to be a messy installation)!

The only problem I ran into during the installation was a collation error on the SQL server (BizTalk Server does not support case-sensitive collations, use Latin1_General_CI_AS).

Tutorials

Then I worked my way through these tutorials. They cover a big part of the product. I can also recommend reading the BizTalk Unleashed 2004 book. Make sure to understand everything in the tutorials as most of it actually will show up on the exam. Make sure to pay extra attention to deployment and the development of business rules! Of course one also has to understand the basics of Orchestration and XML mapping.

Exams

To pass the exams you’ll have to understand the whole architecture and when messages are written to the message database (dehydrate and hydrate). Understand pipelines - develop your own pipeline and deploy it to really understand this part (remember all the interfaces etc). While developing pipeline use the different pipeline testing tools that are available (pipeline.exe etc). Read about message patters and particularly the convoy pattern etc. You will need to know most of the mapping functiods and what they are used for. Use and understand the import, include and redefine functionality in the schema editor.

One big miss I did while studying was the security part and what different BizTalk users groups that exists. Use this list and learn the most important ones (both the Windows and the SQL Server Roles). To pass the exam you don’t really have to know that much about the specifics of BAS, BAM ands HWS - you do need to know what the different solutions are used for and what their limits are.

The new exams are a bit different as they involve setting up a lot of action-lists where one drag and drop actions to create a list of actions for completing a described task. No information about how many actions are required in the finished list etc. However the 2006 is “easier” as it deals a lot with actual development tasks and not so much with security things and details as the old ones (like specific user groups and interfaces etc).

A few tips if your planing to take the 2006 exams is that you study the new BTSTask tool, developing business rules using the Business Rule Composer tool and BAM (Business Activity Monitoring) and especially the process of configuring BAM.

Resources …

Thursday, August 31st, 2006

I’ve started reading this list. Jisses! There’s is literally a ton of links to excellent resources here!

Validation

I’ll work my way down the list when I have some more time. However I found this, seems like it could have saved my a lot if I’d known about earlier. It’s a package with validation controls for ASP.NET for every situation. Looks really good.

Date

This seems like another usefull resource. Loads and loads of different date controls. I’ll have to remeber this site the next time I’ll nedd one.

My first NNUG meeting

Wednesday, August 30th, 2006

I just came back from my first NNUG meeting (.NET user group) ever! The meeting consisted of two presentations (plus some Microsoft info about Tech Ed etc), one about the new Windows Workflow Foundation and one about the Provider model in .NET 2.0.

Neither of them were really breathtaking. Besides the fact that deleting the namespace in the web.coning in ASP.NET 2.0 actually enables the XML config code hinting!

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

Becomes

<configuration>

Apparently it’s a bug in Visual Studio 2005! It’s always irritated me as I’ve seen it working in different presentations etc. At leats it’s an easy fix.

The new Windows Workflow Foundation is basically Orchestration from Biztalk that Microsoft put into a isolated component. This makes it possible to call orchestrations like processes (called workflows) from all .NET code. 

I also got to talk to a guy with heavy Biztalk 2004 experience. It’s interesting as my new job will involve some major Biztalk development. Apparently Biztalk has some issues consering the XML mapper and the XSLT it generates (I’ve heard that before). Sounds like I got some XSLT writing a head of me …

The Regulator!

Tuesday, August 29th, 2006

I had to write a few regular expression for a project today. As always I couldn’t remember the syntax. After a bit of searching I found this excellent free tool!

It saved me a lot of time. It even generates .NET code.