Browse by Tags

All Tags » DevCenter » .NET (RSS)
Using an ActivityDesignerTheme is a quick way to customize the appearance of an activity in the workflow designer. But there is a gotcha Because once you applied the theme and have a workflow with the custom activity open in the designer no matter what...
When working with state machine workflow's the SetStateActivity is one of the more important activities to use. The main reason is that is the one used to transition from one state to another. You can actually transition state in a different way as...
with no comments
Filed under: , , , ,
I just heard about a pretty nasty "bug" with ClickOnce. Well it isn't an actual bug but still a nasty problem to run into. The problem is actually with the certificate used to sign a ClickOnce installer. When you create a new ClickOnce installer...
Most people consider unit testing of custom workflow activities to pretty much impossible. Sure you can create a dummy test workflow containing your new activity, new up a WorkflowRuntime , create a WorkflowInstance and start it. But just think about...
One of the nice new features in Visual Basic 9 are lambda expressions. They where actually added as one of the underlying pieces for LINQ. But besides enabling LINQ you can use them in all sorts of places. One of the places they really help me is in places...
1 comment(s)
Filed under: , , ,
Last week was pretty interesting and busy First we had the DevDays on Thursday and Friday. I was there to answer questions from the audience. I didn't get too many questions so I could take my time and actually spend around 90 minutes answering questions...
with no comments
Filed under: , , ,
As I mentioned in my previous blog post adding a custom ActivityValidator class to an activity validates it at runtime as well as at design time. So when is this runtime validation done and what happens when it fails? The when part is when the WorkflowInstance...
with no comments
Filed under: , , , ,
Modifying already executing workflow's is a very powerful option. Now, as with most advanced options, not something you are going to need every day but certainly something to be aware of and use when the needed. First lets take a quick look at why...
with no comments
Filed under: , , ,
There are several options for validating properties on a custom activity. Besides the possibility of using an ActivityValidator as described here we can also use the ValidationOptionAttribute. Now the ValidationOptionAttribute isn't useful all the...
with no comments
Filed under: , , ,
The current version of SQL Server Compact has no support for 64 bits computing. While this may seem a problem if you want to deploy you application on a 64 bits version of Windows it really isn't most of the time. In fact if you change your assembly...
with no comments
Filed under: , , , ,
Create a derived class from ActivityValidator and add it to your custom activity using the ActivityValidatorAttribute. For example: [ ActivityValidator ( typeof ( ValidatedActivityValidator ))] public partial class ValidatedActivity : SequenceActivity...
VS2008 SP1 Beta is quite a package. By default the installation downloads the packages as needed and when needed. Now that is just fine if you only need to install a single machine. But when you need to install multiple, possibly virtual, machines like...
The Dutch Microsoft office has posted the first of the Community DevCast we recorded. The host is Alex Thissen who actually does most of the work as he also edits the screencasts so don't forget to thank him next week when you run into him at the...
By default every custom workflow activity shows the same icon. And using an icon that help understand what the activity actually does makes life so much easier for the user of your activity. And remember he is a developer so some day he might just return...
with no comments
Filed under: , , , ,
When I tried I received the following very helpful System.ServiceModel.ProtocolException with Message="The remote server returned an unexpected response: (407) Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request...
with no comments
Filed under: , , , ,
For some reason a lot of people seem to think that only a single WorkflowRuntime object can be created in an AppDomain. And it isn't just the average Joe out there who seems to think so, no even book authors describe this behavior as the Workflow...
with no comments
Filed under: , , , ,
The ReplicatorActivity is one of the more interesting Workflow Foundation activities to work with when you have a collection of data and want to iterate over each item. Basically just think of it as a For Each statement in regular code. To demonstrate...
with no comments
Filed under: , , , ,
The recent release of the .NET 3.5 and Visual Studio 2008 beta Service Pack 1 has started an interesting discussion over on Microsoft Watch. Joe Wilcox writes about how some of these posts seem predated and about seeing some blog post before being published...
with no comments
Filed under: , , ,
Attached are the session slides and samples from my Visual Studio Tools for Office session I did in Galway earlier today. Hope you enjoyed the presentation as much as I did Download them here . www.TheProblemSolver.nl http://wiki.WindowsWorkflowFoundation...
1 comment(s)
Filed under: , , ,
Visual Studio visualizers are pretty cool and can help you quite a bit when debugging but you need to develop them and that just ads to the workload. So how about having someone else do it? Well Microsoft added a few visualizers to VS2008 and VS2008 but...
More Posts Next page »