The Problem Solver

Tell me and I will forget
Show me and I will remember
Involve me and I will understand
- Confucius -

Browse by Tags

All Tags » .NET (RSS)
Windows Workflow Foundation 4 and persistence
The whole persistence model has changed quite a but for WF4.   The persistence class out of the box is called SqlWorkflowInstanceStore and as the name suggests it saves workflow data in either SQL Server 2005 or 2008. It is based on the InstanceStore...

Posted by Maurice | 1 comment(s)

Filed under: , , ,

Comparing two Uri’s
This one bit me today a bit unexpectedly.   I was comparing two Uri’s and was getting unexpected matches between two Uri’s that where quite clearly not the same. Turns out the when comparing Uri’s the Fragment, or anchor or part after the #, is not...

Posted by Maurice | with no comments

Filed under:

Sending mail messages through Gmail
recently I had to send a bunch of identical email messages for the CodeCamp we are organizing. Now there are plenty of ways to do this but I decided to write a little program using C# to send them. And just to make sure I can find the code next year  ...

Posted by Maurice | with no comments

Filed under: ,

CodeCamp 2009: Sessies en OpenSpace
Als eerste: de sessies voor de CodeCamp 2009 zijn bekend en staan online op http://www.codecamp.nl We denken dat het een erg interessante mix van sessies is, met genoeg sessies voor iedereen om een aantal interessante onderwerpen voor iedereen. De agenda...

Posted by Maurice | with no comments

Filed under: , ,

Flowcharts in Workflow 4 and the Switch activity
Flowcharts are a nice addition to Windows Workflow Foundation 4. They allow for a lot of pretty complex behavior that is hard to do in a sequential workflow. In WF 3 we used to model these complex behaviors as state machine workflows. That worked but...

Posted by Maurice | 2 comment(s)

Filed under: , , ,

Workflow 4 and Visual Basic expressions
When using Windows Workflow Foundation 4 you often need to enter expression in some activity property. The new thing is these expressions are all in the Visual Basic dialect regardless of what language you project is in. So when developing a project in...

Posted by Maurice | 9 comment(s)

Filed under: , , , , ,

Call for speakers: 3rd Dutch Code Camp
Op 21 november 2009 organiseren de SDN, de dotNED User Group en VBcentral.nl samen de derde Nederlandse Code Camp. Een unieke dag, voortkomend uit een unieke samenwerking. Kenmerkend aan deze dag is, dat het een evenement is dóór ontwikkelaars en vóór...

Posted by Maurice | with no comments

Filed under: , ,

Nederlandse CodeCamp 2009
Op 21 november 2009 organiseren de SDN , Stichting dotNed en VBcentral samen het derde Nederlandse Code Camp . Dit is een dag lang met code, code sharing, freaking en gezellig samenzijn. Een evenement door ontwikkelaars, voor ontwikkelaars. De regie ligt...

Posted by Maurice | 1 comment(s)

Nationale Office Dag files
Looking for the slides and samples from my two presentations at the Nationale Office Dag in Ede? You can download them from here . Enjoy!   www.TheProblemSolver.nl Wiki.WindowsWorkflowFoundation.eu

Posted by Maurice | with no comments

Filed under: , ,

WF4&WCF and message correlation
In the previous blog posts, here , here and here , I demonstrated how to  use WCF from WF4. This same some more about sending multiple messages to the same workflow, AKA Workflow Correlation.   One of the ugly parts of Windows Workflow Foundation...

Posted by Maurice | 2 comment(s)

Filed under: , , , , ,

.NET Events site bijgewerkt met iCalendar optie
Ik heb zojuist een nieuwe versie van .NET Events in Nederland beschikbaar gemaakt.   Nieuw is de mogelijkheid om de gegevens ook als iCalendar agenda binnen te halen in Microsoft Outlook of een andere agenda die met een iCalendar feed om kan gaan...

Posted by Maurice | 1 comment(s)

Filed under:

Sending your own objects to a WF4 workflow
In the previous two blog posts ( here and here ) I showed how to create and expose a Windows Workflow Foundation 4 workflow via WCF and have both a workflow and a regular C# client work with it. But the parameter and return value where real simple with...

Posted by Maurice | 5 comment(s)

Using Windows Workflow Foundation 4 Receive from an non WF client
In a previous blog post I described how to use the WorkflowServiceHost and host a workflow with a Receive activity that waits for WCF messages. I also added a WF4 client that called the service and received a response. However a lot of clients out there...

Posted by Maurice | 2 comment(s)

Filed under: , , , , ,

Combined DevelopMentor instructors blog feed.
Michael Kennedy , one of the co instructors from DevelopMentor , has created a combined feed from all the blogs of the various DevelopMentor. An awesome group of people with a lot of knowledge to share. Highly recommended in you RSS reader. http://feeds...

Posted by Maurice | with no comments

Using ASP.NET MVC
Recently I started using ASP.NET MVC for a real project. SO far I had been reluctant to use ASP.NET MVC as it meant giving up on the post back model that so many of the available ASP.NET controls depend on. Yet a lot of people I know and respect where...

Posted by Maurice | 2 comment(s)

Filed under: , ,

Error Logging Modules and Handlers for ASP.NET (MVC)
I am working on a new ASP.NET MVC app and like so many other applications out there I need to log any errors should they occur. recently I heard about ELMAH Error Logging Modules and Handlers for ASP.NET through this blog post of Scott Hanselman. So as...

Posted by Maurice | 1 comment(s)

Filed under: , , ,

Combining WCF and WF4
There are several ways to use WCF in combination with Windows Workflow Foundation 4. The two can be combined inside of a XAMLX file as Ron Jacobs describes here . Another option is using the WF4 Receive and SendReply activities and hosting the workflow...

Posted by Maurice | 4 comment(s)

Filed under: , , ,

Data and Windows Workflow Foundation 4
  One thing that has completely changed in Windows Workflow Foundation is the way we work with data in a workflow. In WF 3 we used properties to store data. We could use regular .NET properties but most of the time dependency properties where the...

Posted by Maurice | with no comments

Filed under: , , ,

More asynchronous work in Windows Workflow Foundation 4
In my previous post I showed how to use an AsyncOperationBlock to do some basic asynchronous work in WF 4. As I mentioned this was for relatively short lived asynchronous operations as the workflow could not be persisted and unloaded while this asynchronous...

Posted by Maurice | with no comments

Filed under: , ,

Basic asynchronous work in Windows Workflow Foundation 4
The whole asynchronous execution model in WF 4 has changed quite a bit from WF 3. Not really a surprise as this one of the areas where WF 3 was really hard to work with.   Below is a very simple example. It does nothing useful, it’s only task is...

Posted by Maurice | 3 comment(s)

Filed under: , ,

More Posts Next page »