Windows WorkFlow Foundation - Interview Questions with Answers

1. Are there advantages to building workflows using only XAML? Are there disadvantages?
2. What are the pros and cons of using an ExternalDataExchange service versus going directly to the WorkflowQueuingService?
3. When are attached dependency properties useful in WF programming?
4. What behavior does the default scheduling service provide?
5. How can my code participate in a database transaction with a workflow instance?
6. Why would I use a tracking service?
7. Describe a scenario where the WF runtime will cancel an executing activity.
8. Describe a scenario where I'd need to spawn an ActivityExecutionContext.
9. Tell me why I'd use a compensation handler.
10. Tell me about the following activities: Replicator, Parallel, and Policy.
  • What is Windows Workflow Foundation?
  • What is a Workflow?
  • What are different types of Workflow in Windows Workflow foundation?
  • When should we use a sequential workflow and when should we use state machines?
  • How do we create workflows using designer?
  • How do we specify conditions in Work flow?
  • How do you handle exceptions in workflow?
  • What is the use of XOML files?
  • How can we pass parameters to workflow?

What is Windows Workflow Foundation (WF)

WF is a tool for building workflow enabled applications on windows.
The Windows Workflow Foundation namespace in Microsoft .NET Framework is called System.Workflow. Windows Workflow Foundation provides a consistent and familiar development experience with other Microsoft .NET Framework technologies such as ASP.NET, Windows Communication Foundation and Windows Presentation Foundation. Windows Workflow Foundation provides full support for Visual Basic .NET and C, debugging, a graphical workflow designer and the ability to develop your workflow completely in code. Windows Workflow Foundation also provides an extensible model and designer to build custom activities which encapsulate workflow functionality for end-users or for re-use across multiple projects.
WF provides a flexible flow model for various types of workflow:
Sequential workflow in which one task is executed after another
State machine workflow in which external events drive the flow
Rule-driven workflow in which a set of rules in combination with the state of data drive the order of processing.

Please click here to get answers : Windows Workflow Foundation (WWF) Interview Questions

No comments: