Integrating Integrators – BizTalk, Windows Azure, Windows Workflow, and Beyond
Join
Sign in
Search Options
Search Everything
Search Windows Workflow
Home
AppFabric
BizTalk Server
Windows Azure
Windows Workflow
Jobs (Hire A Guru)
More ...
Home
»
Windows Workflow
»
Windows Workflow Community Blogs via Syndication
»
January, 2010
January, 2010
Windows Workflow
This is the top level group for Microsoft Windows Workflow Foundation. Find blogs, samples, videos, and learning resources for various versions of workflow including 3.0, 3.5, and 4.0 here.
Get this RSS feed
Home
Blog
Files
Wiki
Sitewide Application Navigation
Home
Blogs
Media
Forums
Wikis
Groups
Options
Email Blog Author
RSS for posts
Monthly Archive List
Archives
May 2013
(8)
April 2013
(11)
March 2013
(10)
February 2013
(7)
January 2013
(14)
December 2012
(7)
November 2012
(7)
October 2012
(10)
September 2012
(8)
August 2012
(7)
July 2012
(22)
June 2012
(10)
May 2012
(6)
April 2012
(10)
March 2012
(4)
February 2012
(6)
January 2012
(8)
December 2011
(11)
November 2011
(8)
October 2011
(11)
September 2011
(23)
August 2011
(18)
July 2011
(2)
June 2011
(5)
May 2011
(17)
April 2011
(22)
March 2011
(25)
February 2011
(11)
January 2011
(20)
December 2010
(17)
November 2010
(10)
October 2010
(7)
September 2010
(2)
August 2010
(3)
July 2010
(1)
June 2010
(7)
May 2010
(4)
April 2010
(11)
March 2010
(12)
February 2010
(7)
January 2010
(25)
December 2009
(23)
November 2009
(20)
October 2009
(3)
September 2009
(1)
July 2009
(2)
June 2009
(2)
Tags
.NET
AppFabric
ASP.NET
Azure
Cloud
Community News
Denali
designer
expressions
ExpressionTextBox
Kushal Shah
MVC
Sharepoint 2010
SharePoint 2013
SSAS
Tabular Model
Talks
Visual Studio
vs2010
WCF
WF
WF 4.0
WF4
Workflow
Workflowrkflow
Windows Workflow Community Blogs via Syndication
Windows Workflow Foundation related bloggers. All content is property of the original blog owner.
RSS for posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Windows Workflow Community Blogs via Syndication
Making Swiss Cheese Look Good, or Designers for ActivityAction in WF4
Posted
over 3 years ago
by
Anonymous
In my last post , I covered using ActivityAction in order to provide a schematized callback, or hole, for the consumers of your activity to supply. What I didn’t cover, and what I intend to here, is how to create a designer for that. If you’ve been following along, or have written a few designers using WorkflowItemPresenter, you may have a good idea how we might go about solving this. There are a few gotcha’s along the way that we’ll cover as we go through this. First, let’s familiarize...
Windows Workflow Community Blogs via Syndication
Dev-BA Collaboration:Part-3
Posted
over 3 years ago
by
Anonymous
Scenario: A BA starts with the Workflow authoring using the Re-hosted workflow designer and the Toolbox activities provided in the palette. At some point, the BA figures out that the Toolbox doesn't contain an activity that he is looking for. Only option that the BA has for him is to work offline with the Dev to add such an activity to the Toolbox palette. Loss of considerable amount of time, every time the BA figures out that the activity he needs is not present. Wouldn't it be nice, if...
Windows Workflow Community Blogs via Syndication
Dev-BA Collaboration:Part-2
Posted
over 3 years ago
by
Anonymous
In the series, the next question we generally get is, How about Validations. How can I have one set of validations for Devs in VS only and another set for BAs in a non-VS environment. To demonstrate that, again I have developed it on top of the sample application we saw in the previous post. In here, to know that I am in the VS environment, I am assuming that the designer used would be from CustomActivities.VisualStudio.Design.dll. Next, I override OnModelItemChanged and set the property for the...
Windows Workflow Community Blogs via Syndication
Dev-BA Collaboration:Part-1
Posted
over 3 years ago
by
Anonymous
One of the selling points with Workflows is customers have been able to customize the Workflows and can have a collaborative work between the BAs and Developers. BAs define the business process using the Re-hosted Workflow designer and the dev fine tunes/completes the implementation by taking the Workflow file in VS and editing it as appropriate. In that context, the very first question that generally comes is, for a particular activity, how can we have a specific designer for BA and a different...
Windows Workflow Community Blogs via Syndication
Workflow Toolbar and Customizations
Posted
over 3 years ago
by
Anonymous
In the re-hosted scenario, as part of customizations that domain specific users want – we have been asked many times as to how can we not show the toolbar at the bottom of the designer or show only specific items in that toolbar? Internally we refer to it as the Shellbar as well and the API to go about customizing the toolbar is: this .wd.Context.Services.GetService<DesignerView>().WorkflowShellBarItemVisibility = ShellBarItemVisibility.None; The ShellBarItemVisibility is a enumeration where...
Windows Workflow Community Blogs via Syndication
Toolbox Tooltips and Icons
Posted
over 3 years ago
by
Anonymous
In regards to Toolbox, another common question I get is how can we get the Tooltips and icons for our custom activities. Well, quite simple actually: 1. Description attribute for the Tooltip 2. ToolboxBitmap attribute for the Icon Have both these attributes for your custom activity and once this activity appears in the Toolbox, you would have the tooltip on hover with the description and the icon you added. Of course, this is not just for the code activities, but can also be done for the custom declarative...
Windows Workflow Community Blogs via Syndication
Undo-Redo : Programmatically
Posted
over 3 years ago
by
Anonymous
One of the very essential services while authoring Workflows is Undo-Redo. Common question asked is, how do we get the service outside of VS, in a re-hosted Workflow scenario. Well, in your re-hosted app(assuming it is WPF), it would be: Add the following command bindings: <Window.CommandBindings> <CommandBinding Command= "ApplicationCommands.Undo" Executed= "CommandBinding_UndoExecuted" /> <CommandBinding Command= "ApplicationCommands.Redo" Executed=...
Windows Workflow Community Blogs via Syndication
Base Designer with additional adornments
Posted
over 3 years ago
by
Anonymous
In the previous two posts, we talked about the visual view on the Workflow tracking data and how we can have a restricted debugging experience in the re-hosted scenarios. Moving forward, the next question I get from customers - Is there a way I can show some kind of adorner on the designer when it executes a specific activity in addition to the debug adornment? Also, I want these adornments universal for Out of Box as well as Custom Activities. The adorner can be as simple as a check mark saying...
Windows Workflow Community Blogs via Syndication
About type coercion
Posted
over 3 years ago
by
Anonymous
The hosted compiler does something called type coercion. It converts one type to another type using the widening and narrowing conversions specified by the big VB compiler. On the whole, this is very useful functionality. It allows you to strongly type your arguments but still set your Int16 variable to 5 or your string variable to Nothing. Type coercion is especially important for delegate types and lambda expressions. When the compiler encounters a lambda expression, it infers its type as an anonymous...
Windows Workflow Community Blogs via Syndication
Expression serialization and literal support
Posted
over 3 years ago
by
Anonymous
Expressions created in the WF designer are serialized using square brackets, which is shorthand for VisualBasicValue <T> or VisualBasicReference <T>. For example, drop a WriteLine activity into a Workflow, and set its text to the expression (1+2).ToString (in VB you can omit the brackets after the ToString). Save your workflow, open it in XAML view ( F7 is your friend ). You see the following XAML: < WriteLine Text ="[(1 + 2).ToString]" /> Now not all text that you enter...
Windows Workflow Community Blogs via Syndication
Women in technology at PDC09
Posted
over 3 years ago
by
Anonymous
When I was at PDC I spent some time with Ed and Ashley of Ed and Ashley’s 5 minute show . They have a video blog with a number of interviews they have conducted with women in the technology. I spoke with them about mentoring, and the clip was recently posted. See Episode 57, Cathy Dumas (PDC09) . Upshot: mentoring works, it retains women in high tech, start early in your career, have goals in mind, mentor often. I talked about an outreach program started by Erin Chapple ( see her video ) where mentees...
Windows Workflow Community Blogs via Syndication
End-to-end expression editing feature deck
Posted
over 3 years ago
by
Anonymous
Hi, today I gave a talk to our support team about the expression editing feature. Since this is all public facing information, I thought I would post the deck. Some of this information is old hat to regular readers of this blog (especially the overview and programmability bits, which I ported straight from previous blog entries). However there is plenty of new information in there about serialization, literals, assembly loading, namespace management, imports designer. VisualBasic.Settings, and type...
Windows Workflow Community Blogs via Syndication
Enter and Tab key handling in the ExpressionTextBox
Posted
over 3 years ago
by
Anonymous
The Enter and Tab keys work a bit differently in the ExpressionTextBox than in the big VB IDE. In the big IDE, Enter and Tab always insert their associated characters. If the IntelliSense completion list is up, Enter selects the item and inserts a new line. We noticed that big IDE behavior does not always make sense in a single line editor. We found that users expected the ExpressionTextBox to behave exactly as a TextBox, especially in the property grid. So we changed the handling of the Tab and...
Windows Workflow Community Blogs via Syndication
Least discoverable feature: 100% zoom and fit to screen
Posted
over 3 years ago
by
Anonymous
There are a whole bunch of buttons in the bottom right hand corner of the workflow designer. Here they are: The magnifying glass to the left of the zoom combo box changes the zoom level of the workflow designer to 100%. (Yes this really is a button.) The button to the right of the combo box fits the contents of the current breadcrumb root to your screen. By clicking the magnifying glass, you can easily remove the effect of clicking the Fit to screen button. The final button is for the overview map...
Windows Workflow Community Blogs via Syndication
Least discoverable feature: Workflow designer keyboard shortcuts
Posted
over 3 years ago
by
Anonymous
The Workflow designer, like any good Visual Studio component, has many keyboard shortcuts. We are documenting these shortcuts in the MSDN documentation (I’ll post when the docs are available*), but I thought I’d list them here so that they’re available for you to use now. Shortcut Purpose Ctrl+E, A Shows or hides the Argument Designer. Ctrl+E, C Collapses the selected activity in place. Ctrl+E, E Expands the selected activity in place. Ctrl+E, F Connects the selected activities in a flowchart. Ctrl...
Windows Workflow Community Blogs via Syndication
Least discoverable feature: F7 and Shift+F7 to toggle code view
Posted
over 3 years ago
by
Anonymous
In this episode, we turn to the project system. The Workflow Designer, unlike Cider (the WPF editor), does not have a side-by-side design/code view. If you want to close the designer and view the XAML for the workflow, you must close and reopen the document. You will have to live with this for Dev10. It’s kind of a pain to do this via context menu from the Solution Explorer. Fortunately, there is a keyboard shortcut. When in design view, pressing F7 takes you to the code view. When in code view,...
Windows Workflow Community Blogs via Syndication
Least discoverable feature: Show all conditions/hide all conditions
Posted
over 3 years ago
by
Anonymous
This is the first in an occasional series highlighting some of the least discoverable features of the Workflow Designer. In this episode, we turn to the flowchart. The FlowDecision and FlowSwitch “activity” designers (they’re really items) have this cute little triangle in the top right hand corner. Hover over it, and you see the condition applied to the item. Click it, you can pin the expression to the flowchart so that it is always visible. “But isn’t there some way to pin all the expressions at...
Windows Workflow Community Blogs via Syndication
Windows Workflow 4.0 – Workflow Instance Extensions
Posted
over 3 years ago
by
Anonymous
Update 01/20/2009: Since I failed to mention this before I wanted to make something clear about these workflow posts. All information in these posts is based on the knowledge I gained through developing a framework based on Windows Workflow 4.0. I am not a member of the team nor is this information in any way endorsed by the team. In the previous posts we covered one way you could implement a producer-consumer pattern in workflow. This approach used composition and attempted to hide the complexities...
Windows Workflow Community Blogs via Syndication
Windows Workflow 4.0 – CopyDirectory (Part 3 of 3)
Posted
over 3 years ago
by
Anonymous
So far we have written ParallelItemScheduler<T> , which is a generic activity that goes dormant and schedules actions based on input via bookmark resumption. We then used this activity to design ProducerConsumer<T> , which takes this idea a little further and provides a generic mechanism for running a producer thread that can pump data into a consumer thread. In the last part of this series we finally have all required building blocks to design our highly efficient and parallel copy directory...
Windows Workflow Community Blogs via Syndication
Windows Workflow 4.0 – CopyDirectory (Part 2 of 3)
Posted
over 3 years ago
by
Anonymous
In my previous post I introduced you to NativeActivity and walked through the design and implementation of a class named ParallelItemScheduler<T> . In part 2 of this series we will be utilizing the aforementioned activity to build a new composed activity named ProducerConsumer<T> . Once we have completed this task we will have a framework for building our final activity, CopyDirectory . Building Activities Through Composition Unlike the previous activity, the ProducerConsumer<T>...
Page 1 of 2 (25 items)
1
2