State Machine Workflow – Part 2: States and Events

This is part 2 in a multi-part series.  You can find part 1 here. Last time, I walked through creating the “Hello World” equivalent of a state machine workflow.  Today, we will expand that workflow to contain additional states and events.  The goal will be to demonstrate how these concepts work in the state machine…

4

State Machine Workflow – Part 2: States and Events

 HelloWorld.xoml: Right click on HelloWorld.xoml, select Open With…, followed by XML Editor. Copy and paste the following: <?Mapping XmlNamespace=”ComponentModel” ClrNamespace=”System.Workflow.ComponentModel” Assembly=”System.Workflow.ComponentModel” ?> <?Mapping XmlNamespace=”Compiler” ClrNamespace=”System.Workflow.ComponentModel.Compiler” Assembly=”System.Workflow.ComponentModel” ?> <?Mapping XmlNamespace=”Activities” ClrNamespace=”System.Workflow.Activities” Assembly=”System.Workflow.Activities” ?> <?Mapping XmlNamespace=”RuleConditions” ClrNamespace=”System.Workflow.Activities.Rules” Assembly=”System.Workflow.Activities.Rules” ?> <StateMachineWorkflow x:Class=“StateMachine_HelloWorld.HelloWorld“ x:CompileWith=“HelloWorld.xoml.cs“ ID=“HelloWorld“ CompletedState=“HelloWorldCompletedState“ InitialState=“HelloWorldInitialState“ xmlns:x=“Definition“ xmlns=“Activities“> <State ID=“HelloWorldInitialState“> <EventDriven ID=“ProcessEvent“> <WebServiceReceive ID=“webServiceReceive1“ Activation=“True“ MethodName=“Process_Event“ InterfaceType=“StateMachine_HelloWorld.IHelloWorld“ />…

1

64-bit support in Visual Studio 2005

In the highly unlikely event that you have not seen Rob Caron’s blog, here is a excerpt and link to said critical resource. BTW, we are getting an increased number of questions regarding 64-bit support in VS 2005 and I hope this article helps. Best Regards, -Ken http://blogs.msdn.com/robcaron/archive/2005/10/28/486302.aspx  Team System 64-Bit SupportI’ve received some e-mail…

0

SQL Server Migration Assistant for Oracle V2.0 Beta

http://www.microsoft.com/downloads/details.aspx?familyid=e35cee88-c919-463f-b020-81468cd231da&displaylang=en   SQL Server Migration Assistant (SSMA) is a complete suite of tools that dramatically cuts the effort, cost, and risk of migrating from Oracle to SQL Server. SSMA automates almost every aspect of the migration process including assessment, schema and data migration, business logic conversion, and validation. Companies such as Motorola and Simon &…

4

Refactoring in VB .NET

Not exactly new news, but with the RTM of Visual Studio 2005 I’d thought I’d remind everyone that VB developers get refactoring too!  All you have to do is install Refactor! for Visual Basic .NET 2005.  It’s FREE and available to Visual Basic 2005 developers. -Marc

1

Visual Studio 2005 Pre-RTM Uninstall Instructions

I am sure it’s been blogged tons o’ times already, but it’s the first thing that came up when I MSN’d it http://search.msn.com/results.aspx?q=rtm+visual+studio+beta+uninstall&FORM=QBHP.  These instructions should help http://lab.msdn.microsoft.com/vs2005/uninstall/preRTMuninstall/default.aspx.  Don’t miss the auto-uninstall tool at the top of the page. -Marc

0

VS2005 Team Foundation Beta3 Refresh ready!

Visual Studio 2005 Team Foundation Beta3 Refresh has released and will be on MSDN for subscribers to download later today.  This release provides full compatibility with the RTM (“release to manufacture”) versions of Visual Studio 2005 and SQL Server 2005 that we announced yesterday.  This version includes improved setup and MSF for CMMI. Have a great weekend….

0

Code Snippets a great new feature in the VS2005 IDE

Are you a developer who writes the same code blocks over and over again and wishes that there was a faster way to insert the code blocks into your code within the Visual Studio IDE?  Or are you a Lead Developer who wants to make it easier for the developers on your team to have…

0

Adding a user to Active Directory (Screencast)

Have you ever wondered how you could programmatically add a user to Active Directory with .NET (Visual Studio)?  Well, in this screencast you will see a 10 minute walkthrough with all of the steps and sample code needed to do so.    Watch my screencast at the following location and let me know if you…

5

Creating an Accessible Web Page (Screencast)

One of the things I hear often from our Federal customers is “How do I create Section 508 compliant web sites?”  ASP.NET 2.0 and Visual Studio 2005 to the rescue!  Learn how to get started by watching my screencast and reading the related material here. -Marc

0