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

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

How to customize workflow canvas in re-host environment?

Posted By:      Posted Date: August 30, 2010    Points: 0   Category :Windows Application
Hi there,  Currently I'm developing a re-hosted debugger for Windows Workflow.  For the workflow canvas, I'm using View property of WorkflowDesigner class and bind my ContentControl to it.  The question here is, how to customize the WorkflowDesigner.View? Examples of customization are:   Extract the overview window, so that I can put the window in another part of the UI Change the zoom tool into the slide bar as in MS Word.   Thanks and best regards,  Arinto

View Complete Post

More Related Resource Links

Suspend / Resume Instances within Workflow Service Host (in Windows Service)

We are hosting WF 4 worklfow instances within a Windows Service that uses the Workflow Service host container.   On the Windows Service OnStart we start the workflow service host (w/ multiple WCF endpoints such as start workflow instance, cancel workflow instance, poll workflow instance status, etc.) and these endpoints create or work on one or more long running workflow instances.     My question is, if a user attempts to stop the Windows Service while workflow instance(s) are running, what is the best way to manage this scenario.   Our inclination is to persist these workflows (using sql persistence) and then on the next start of the Windows Service, resume these workflow instances and allow them to continue to completion.    In OnStart, we have a handle to the Workflow Service host.    How can we iterate through all the active workflow instances in OnStop and then in OnStart, resume these after the workflow service host is opened and running?   Are there are any methods of managing this scenario?    Thanks

How to customize toolbox content of workflow designer in Visual Studio 2010?

Hi all,

I am working on customizing the Workflow Design Experience in VS2010 Extensibility. Now I want to control VS built-in ToolBox display information(Categories, contained activities when my Workflow file is open.
You can see one example which is implemented in out of VS IDE to image my requirement in VS. 

Please give me some hints on this issue. Thanks for your help in advance.

.NET 4: Windows Workflow Foundation Production Environment footprint


Hi There,

We are currently an ISV evaluating WF4 for use as a Rules/Workflow engine, possibly intending to use the 'Forward-chaining' rules engine from WF3 in WF4. We currently have no WF assets.

We need to understand what the production environment footprint would be for WF4 and/or WF3.

I cannot find any useful info easily, so my questions are as follows,

1. What Server versions support WF4/3? W2003, W2008 etc

2. If I host my workflows in IIS what version of IIS will I need?

3. I have not got too far into WF yet, but I assume there are various datastores, what is the minimum version of SQL server I would need?

Thanks for you help

newbee: How to start a workflow from a wcf service (not host a workflow in a WCF service)


Hi. I'm a newbee on this workflow technology and I have the following problem:

I have a State Machine workflow that is hosted in a form application. A user starts the workflow through this application. The workflow executes some activities inside the 'Begin' state. At certain point, after the activities were executed, the workflow stops and the state is changed to NeedToApproval state.

A user using an application on a wireless device (for example a tablet) is pooling a WCF webservice asking for persons that needs loan approval. When the WS send a Person object (that cointains the workflow instanceId inside it), all data of this person is shown on and then the user can click on "Approve' button.

What I want is:When the button is clicked, I want to resume the workflow from the NeedToApprovalstate to the end, executing activities that are inside of this state.

I'm stuck onhow to integrate this two things. I'm quite sure this is not the case of host the workflow in a WCF service, because it is hosted in an form application.

How to do that? Create a regular WCF application and call the workflow from it? But how?

Could someone give some help or advice or points me some sampleS?


Thanks in advance and sorry about my bad English.


How to host Workflow Designer in Windows Forms


I want to host windows workflow foundation designer into windows forms so that our client can use this designer to change his design according to his needs in the future once project is completed.

But I am not getting the idea of designer hosting and which functionalities to provide while re-hosting workflow which is designed in Visual Studio.

I want to re-host the same workflow designed in visual studio in Windows Forms.


Six easy ways to customize your site using Web Parts in SharePoint

Becoming familiar with Web Part customization techniques gives you a range of page-customization choices. For example, you can customize your site's home page so that it displays the specific information that your team needs. You can rearrange the list items on the home page, add lists, and even change the images on the home page. As you become more familiar with Web Part Page customization techniques, you can build interactive Web Part Pages that makes the data in lists more dynamic and useful, and you can add new Web Parts that provide access to external data and Web services.

Free Series of SharePoint Workflow How-to Videos

This is the series of "How to" Document Workflow with SharePoint using Visual Studio 2008 (using the .NET Framework 3.0 for backward compatibility to Visual Studio 2005). I have created video's that show the most common requests that I have seen around MOSS/SharePoint 2007 workflow & document workflow.

Customize the Micrsoft Dyanamic CRM using ASP.net


I need to Customize the Micrsoft Dyanamic CRM using ASP.net

How to change or integrate the Micrsoft Dynamic CRM using ASP.net ?

Please provide any project or plugin or code that have integrate or change Microsfot Dyanmic CRM using asp.net ?



Required permissions cannot be acquired when host asp.net 3.5 application in godaddy


I got the following error when click print report button.

Application : asp.net 3.5

Crystal report : 10.5

Host: godaddy

Please help me.


Required permissions cannot be acquired.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Security.Policy.PolicyException: Required permissions cannot be acquired.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

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

Workflow Essentials: Collaborative Workflow Improvements in SharePoint 2010


In this article, the author covers the new features in SharePoint 2010 geared for workflow developers and then walks the reader through a couple of new user scenarios.

Paul Andrew

MSDN Magazine November 2009

Foundations: Workflow Services for Local Communication


This month's column describes how to use WCF for communication between a workflow and a host application in Windows Workflow Foundation 3. This knowledge should help developers with their efforts using WF3 and prepare them for WF4, where WCF is the only abstraction over queues (referred to as "bookmarks" in WF4) that ships with the framework.

Matthew Milner

MSDN Magazine November 2009

Foundations: Windows Workflow Design Patterns


Design patterns provide a common, repeatable approach to solving software development tasks, and many different patterns can describe how to accomplish a certain goal in code. When developers begin working with Windows Workflow Foundation (WF), they often ask about how to accomplish common tasks with the technology. This month's column discusses several design patterns used in WF.

Matthew Milner

MSDN Magazine August 2009

ASP.NET Workflow: Web Apps That Support Long-Running Operations


Integrating workflow into ASP.NET applications means communicating with activities via a workflow queue and hosting the runtime in the global application class. We'll show you how.

Michael Kennedy

MSDN Magazine January 2009

Real-World WF: Best Practices For Windows Workflow Foundation Apps


The heart of Windows Workflow Foundation is its declarative programming model. Here are some best practices to consider when using WF to realize software solutions in the real world.

Josh Lane

MSDN Magazine December 2008

Foundations: Workflow Tips and Tricks


Matt Milner addresses reader requests for information about safely sharing a persistence database across applications and using lesser-known parts of the framework such as ChannelManagerService.

Matt Milner

MSDN Magazine August 2008

Data and WPF: Customize Data Display with Data Binding and WPF


Here we present techniques for programmatic and declarative data binding and display with Windows Presentation Foundation.

Josh Smith

MSDN Magazine July 2008

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