The Problem Solver

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

Google Ads

This Blog

Syndication

Search

Tags

News





  • View Maurice De Beijer's profile on LinkedIn

Community

Email Notifications

Explore

Archives

Browse by Tags

All Tags » VS2010 (RSS)
Windows Phone 7, Animations and Data Binding
While working on one of my WP7 applications I noticed a weird problem with the animations. The app is pretty simple with just two pages. I added the same page load animation, see below, to both pages and all seemed to work just fine. < phone:PhoneApplicationPage...

Posted by Maurice | with no comments

Filed under: , ,

Configuring ASP.NET Session State to use AppFabric Caching
If you are using the information in this MSDN page to get started with the ASP.NET Session State Provider to use Windows Server AppFabric Caching you might run into some problems as the steps are less than complete. First make sure you have Windows Server...

Posted by Maurice | with no comments

Filed under: , , ,

Keyboard and the Windows Phone 7 emulator
By default the WP7 emulator will not react to you typing on the keyboard, instead you have to use the mouse to press keys on the software keyboard that pops up. There is however a hidden feature that will let you use your hardware keyboard, just press...

Posted by Maurice | with no comments

Calling Workflow Services without Add Service Reference
Sometimes you just don’t want to do an Add Service reference in the client application but still be able to to call a WF4 workflow service. The good thing is that a WF4 workflow service is just another WCF service from the client perspective so almost...

Posted by Maurice | 1 comment(s)

Filed under: , , , ,

Throttling workflow services in WF4
Windows Workflow Foundation 4 makes it real easy to create workflow services that do long running work on a server. However when we are doing long running work there could be an issue with lots of workflows being started and too many workflow instances...

Posted by Maurice | 2 comment(s)

Filed under: , , , ,

Versioning long running Workflow Services in WF4, the code
In my previous WF4 post I described the principal of how to version workflow services using the WCF 4 RoutingService. In that post I described the general problem and solution without going into a lot of detail and showing any code. In this blog post...

Posted by Maurice | 5 comment(s)

Filed under: , , , ,

Versioning long running Workflow Services in WF4
One of the problems with the current version of Windows Workflow Foundation is how to handle different versions of your workflows. With short running workflows this is no big deal, workflows do whatever they are supposed to do and finish, and you can...

Posted by Maurice | 2 comment(s)

Filed under: , , , , ,

Book review: Silverlight 4 in Action
Some weeks ago I received a review copy of Silverlight 4 in Action by Pete Brown. Reviewing this book took some time as it weighs in at a hefty 798 pages, who ever said that Silverlight was a small products? That is a lot of material but then the book...

Posted by Maurice | with no comments

Filed under: , , ,

Limiting which user can access service using the Windows Identity Foundation
In my previous blog post I demonstrated how to secure a workflow service using the Windows Identity Foundation. With this in place we only allow users that are trusted by the STS Dominick Baier wrote. That is nice but in some cases we might not want all...

Posted by Maurice | 2 comment(s)

Filed under: , , , , ,

Securing a Workflow Service using Windows Identity Foundation
The way security is often still handled these days with each application keeping track of their own users is somewhat dated. Some form of Federated security, where a single separate server is responsible for the security of a whole series of applications...

Posted by Maurice | 5 comment(s)

Filed under: , , , , ,

Using the WCF OperationContext from a Receive activity
The WF4 Receive activity shields you from a lot of the WCF pipeline. Normally that is a good thing but there are occasions where you want to know more about the incoming WCF request. Normally you can use the WCF OperationContext.Current to get at this...

Posted by Maurice | with no comments

Filed under: , , , ,

Converting a C# workflow into XAML
A interesting question that came up last week was how to convert workflows defined in C# to XAML. A co worker of one of the attendees of the Essential Windows Workflow Foundation 4 course had been experiencing a lot of problems with the workflow designer...

Posted by Maurice | 2 comment(s)

Filed under: , , ,

Workflows and no persist zones
There are times when a workflow can’t be persisted safely using a SqlWorkflowInstanceStore. The reason isn’t so much saving the state of  a workflow to disk, that could be done at any time, but the result when a workflow would be reloaded from disk...

Posted by Maurice | 2 comment(s)

Filed under: , , , ,

Quickly determine the windows identity of an ASP.NET site
  Great tip from Dominick to quickly determine the use an ASP.NET, WCF or WF4 service is running under. Add the following ASPX file and hit it with the browser. <%@ Page %>   <%= System.Security.Principal.WindowsIdentity.GetCurrent...

Posted by Maurice | 1 comment(s)

Filed under: , , , , ,

Hiding the XAMLX from a workflow service
In Windows Workflow Foundation 4 it’s easy to create a workflow and expose it as a WCF service. But one thing is that it exposes a XAMLX endpoint to each client can see the service actually implemented as a workflow service instead of a regular service...

Posted by Maurice | 4 comment(s)

Filed under: , , , ,

Opening a VS2010 project from another location
Whenever I download Visual Studio 2010 projects from the Internet and open the solution I am always prompted by the following message “Security Warning for [project name]. You should only open projects from a trustworthy source”. The warning makes sense...

Posted by Maurice | 3 comment(s)

Filed under: ,

More Workflow 4 Services and duplex communications
Yesterday I posted a long blog post explaining how to do duplex communications in a Workflow service. Its a long story but the most important points where that workflow services don’t support the same style duplex communication as WCF with the callback...

Posted by Maurice | 2 comment(s)

Workflow 4 Services and duplex communications
There are quite a a few cases where it is useful to have a duplex communications. An obvious candidate is allowing a service to notify the user interface application of the progress so the user knows what is happening. Normally, when using plain WCF ...

Posted by Maurice | 3 comment(s)

Workflow Receive activity and message correlation
With WF4 it is quite easy to use data that is part of the request message, for example an order identifier, to route multiple WCF messages to the same workflow. It is also possible to have multiple messages that can start a new workflow. In this blog...

Posted by Maurice | 6 comment(s)

Filed under: , , , ,

Trying the WF ADO.NET Activity Pack CTP 1
Recently the workflow team at Microsoft released a first CTP to the ADO.NET Activity Pack. In this blog post I am going to take a quick look at how to get started with these activities.   First step is installing the activity pack. Download the setup...

Posted by Maurice | 1 comment(s)

More Posts « Previous page - Next page »