.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Santhakumar Munuswamy
Fauzul Azmi
Asad Ali
Post New Web Links

WF - WCF integration - Idled workflows

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :JavaScript/VBScript
 

I am working on the consulting field for many customers in Win32/C++ land for long previous years and now In the .NET/C# world.

I am helping a customer project that implements a custom ETL for data transformation on SQL Server. The ETL is a windows service that create a master workflow. This master workflows looks for incomming files to decide what tasks to perform. Every time a incoming file arrives, a child workflow is created or the data are send through workflows queues to the an existing one (some workflows are implemented as an infinite while, listening on a worklow queue for incomming data and some others are implemented as one shot for doing a particular piece of code and they quit).

For integration purpose with a new business component (implemented in WCF), we had to implement a WCF service on our part. When we need to communicate with this business component, we create a workflow which makes a WCF to call and then wait to a WCF replay notify us that the job is finished.

I have implemented a Workflow local service that hosts a WCF service and when I receive a WCF call (a notification that the business module has finished its job), I raise an event to the right workflow instance to wake up its ListenActivity/HandleExternalEvent acti


View Complete Post


More Related Resource Links

CLR Integration With Microsoft SQL Server

  
Transact-SQL provides as much flexibility as possible but, because it is not a real programming language, it has some shortcomings about many issues (memory management, exception handling, debugging, file processing (or streaming), object-orientation (classes), or thread management). Transact-SQL also lacks features of normal libraries (arrays, collections, serialization, expressions, or string manipulations, etc).

SharePoint 2007 Workflows - Things to Consider Before You Start

  
SharePoint 2007 (MOSS) utilizes the Workflow Foundation (WF) to enable workflows on lists and content types. But before you start doing cartwheels there are few things you should know before you get started. The experiences I'll be discussing are not from book smarts but from building real MOSS solutions that are in production today.

AppFabric Cache: Real-World Usage and Integration

  

Windows Server AppFabric provides a distributed cache for both web and desktop applications. Well show you how to integrate AppFabric caching into your apps, along with some hints for taking advantage of new cache features in the .NET Framework 4.

Andrea Colaci

MSDN Magazine June 2010


Workflow Services: Visual Design of Workflows with WCF and WF 4

  

The .NET Framework 4 makes it easier than ever to implement WCF services using WF. We'll demonstrate just how easy it is by modeling a long-running, durable and instrumented workflow based on a real-world business case without having to write any code.

Leon Welicki

MSDN Magazine May 2010


Foundations: Versioning Workflows

  

Developers often struggle with versioning workflows and their related classes. Matt Milner discusses the core issues related to workflow versioning and provides recommendations for making changes to workflow definitions, activities, and workflow services.

Matthew Milner

MSDN Magazine May 2009


Foundations: Error Handling In Workflows

  

Workflows often define long-running processes and an unhandled failure usually means termination. Avoid this scenario by handling exceptions properly.

Matt Milner

MSDN Magazine February 2009


Foundations: Unit Testing Workflows And Activities

  

Matt Milner takes a look at some of the challenges and techniques related to testing Windows Workflow Foundation activities, workflows, and associated components.

Matt Milner

MSDN Magazine November 2008


Form Filler: Build Workflows to Capture Data and Create Documents

  

Learn how to create a workflow that uses InfoPath forms and other office documents for passing data to targeted activities and for use in Office documents.

Rick Spiewak

MSDN Magazine June 2008


Talk Back: Voice Response Workflows with Speech Server 2007

  

Speech Server 2007 lets you create sophisticated voice-response applications with Microsoft .NET Framework and Visual Studio tool integration. Here's how.

Michael Dunn

MSDN Magazine April 2008


CI Server: Redefine Your Build Process with Continuous Integration

  

Jay Flowers demonstrates how to set up and use a Continuous Integration server using both discrete tools and the more comprehensive CI Factory solution.

Jay Flowers

MSDN Magazine March 2008


Cutting Edge: Transactional Workflows

  

When modeling business logic, workflows inevitably represent transactional tasks, so you need to know how to code transactional semantics in the Windows Workflow Foundation.

Dino Esposito

MSDN Magazine June 2007


Foundations: ActivityExecutionContext in Workflows

  

This month Matt Milner explains a critical component in the execution, persistence, and compensation of workflows.

Matt Milner

MSDN Magazine June 2007


Windows Workflow: Build Custom Activities To Extend The Reach Of Your Workflows

  

This article covers the core components required for building custom activities in Windows Workflow Foundation.

Matt Milner

MSDN Magazine December 2006


Web Service Workflows: Deploy Distributed Business Processes With Windows Workflow And Web Services

  

Due to the distributed nature of a business process it makes sense for a workflow to be deployed as a distributed application. See how Windows Workflow and Web Services hold the key.

Israel Hilerio

MSDN Magazine October 2006


Agile Development: Extend Team Foundation Server To Enable Continuous Integration

  

How does Visual Studio 2005 Team System and Team Foundation Server facilitate the process of agile development and continuous integration? Here Ben Waldron explains it all.

Ben Waldron

MSDN Magazine March 2006


Service Station: SOA: More Integration, Less Renovation

  

Since the focus of this column is service-oriented architecture (SOA), I thought now might be a good time to step back and take a wide-angle look at the general concept and what it means to developers.

Aaron Skonnard

MSDN Magazine February 2005


Scripting: Windows Script Host 5.6 Boasts Windows XP Integration, Security, New Object Model

  

Windows Script Host (WSH) 5.6, a major upgrade for the WSH environment, provides some significant improvements over previous versions. A brand new security model that is tightly integrated with security in Windows XP allows administrators to place fine-grained restrictions on scripts reducing the risk from malicious code. In addition, local scripts can now run on remote machines, and enhancements to the object model reduce the amount of boilerplate code needed when writing professional code. This overview of WSH 5.6 explains these changes and how .NET and scripting work together.

Dino Esposito

MSDN Magazine May 2002


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend