in

Foo Theory

Partners in Community - serving up some ice cold Kool-Aid!
Welcome to footheory.com.  The bloggers and contributing members on this site are consultants, project/program managers and software architects working across the US.  Our community will focus on Microsoft technologies, .NET architecture, software patterns & practices and just plain stream of consciousness.

Bennie's Weblog

Sample SMO Activities

I uploaded a WF custom activity library, which contains two activities:

  • BackupDatabase: Performs a full or incremental backup of a database
  • RestoreDatabase: Performs a restore of a database

Both activities leverage the SQL Server 2005 System Management Objects (SMO). For details on the file contents, please refer to our downloads folder.

This sample illustrates a couple of interesting concepts, specifically:

  1. Implementing a validator for a custom activity.  
  2. Developing a custom Designer for an activity.
  3. Leveraging inheritance to develop custom activities.
  4. Leveraging a custom WorkflowRuntimeService to provide feedback about long-running operations to the hosting application.

I am planning on writing a number of follow-up posts, which will highlight some of the more interesting aspects of these activities, so stay tuned!

Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add

About bennie

I work for a Microsoft Gold Partner, Statera SouthWest as a Strategic Partner and a Solutions Architect
Copyright ASIQS Corporation © 2006, All rights reserved.
Powered by Community Server (Commercial Edition), by Telligent Systems