Windows Workflow Foundation (WF4) - Silverlight / State Machine Workflow Service

This sample application was used in the Tech-Ed North America 2011 Session Building State Machine Workflows with Windows Workflow Foundation.  The sample application demonstrates a Workflow Service that is invoked from a Silverlight Application.

 
 
 
 
 
4.3 Star
(10)
8,690 times
Add to favorites
12/16/2011
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • The remote server returned an error: NotFound.
    2 Posts | Last post December 14, 2011
    • Downloaded current version and ran.  Generated remote server not found error at: 
      
      public SecurityDoor.SecurityWeb.AuthorizeResponse EndAuthorizeKey(System.IAsyncResult result)
      
      Can you help?  Thanks.
    • Sorry - a recent update I made broke the sample.  A very subtle error too.  I wrote about it on my blog at http://blogs.msdn.com/b/rjacobs/archive/2011/12/14/troubleshooting-silverlight-workflowservices-wcf-and-behavior-extensions.aspx
      
      Try download it again - it should work.
  • How do i run the code. it is giving error.
    2 Posts | Last post September 30, 2011
    • If i remove the <microsoft.appl​icationServer>,​<monitoring> these tag then it gives me following error.. "The remote server returned an error: NotFound." at this line.. "SecurityDoor.S​ecurityWeb.Auth​orizeResponse _result = ((SecurityDoor.​SecurityWeb.Aut​horizeResponse)​(base.EndInvoke​("AuthorizeKey"​, _args, result)));" 
      
      
      
      if i dont remove it gives following error.
      "Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Unrecognized configuration section microsoft.appli​cationServer"
      
      How do i run this code?
    • Download the latest version and run it.
  • In web.config of SecurityDoor.Web connectionstring 'ApplicationServerMonitoringConnectionString' is connecting to which db and what table?
    2 Posts | Last post September 29, 2011
    • In web.config of SecurityDoor.Web connectionstring  'ApplicationServerMonitoringConnectionString' is connecting to  which db and what table?
      
      it is giving me Error..
      Configuration Error 
      Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 
      Parser Error Message: Unrecognized configuration section microsoft.applicationServer.
      
      If i remove the  <microsoft.applicationServer>,<monitoring> these tag then it gives me following error..
      "The remote server returned an error: NotFound."
      at this line..
       "SecurityDoor.SecurityWeb.AuthorizeResponse _result = ((SecurityDoor.SecurityWeb.AuthorizeResponse)(base.EndInvoke("AuthorizeKey", _args, result)));"
      
      please help me out.
      
      One more thing in workflow u have written receive send sequences . "can we do it by status change event thrown from silverlight and it would be handled by workflow such as event handler instead of having call to sequences." 
    • The connection string was for Windows Server AppFabric monitoring.  Since this sample doesn't really need AppFabric I've modified it to remove the connection string.
      
      When using a Workflow from Silverlight you must use Receive/Send messaging activities because the Workflow runs on the server side.