Windows Server AppFabric / Workflow Services Demo - Contoso HR

This sample demonstrates how you can use a Windows Workflow Foundation (WF4) Workflow Service and Windows Server AppFabric to construct a long running business process.

C# (6.3 MB)
 
 
 
 
 
4.9 Star
(8)
6,146 times
Add to favorites
12/3/2011
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
function CheckVisualStudion2010SP1($RegistryKey)
{
    $found = $FALSE;
 
    if (test-path $RegistryKey)
    {
        $entryProperties = Get-ItemProperty -path $RegistryKey
 
        if($entryProperties.SP -eq 1)
        { 
            $found = $TRUE;
        }
    }
 
   $found;
}
 
function SearchVisualStudion2010SP1()
{
    #32 bits
    $found =  CheckVisualStudion2010SP1 -RegistryKey 'HKLM:SOFTWARE\Microsoft\DevDiv\VS\Servicing\10.0\';   
    if($found) {return $found;}
   
    #Wow folder, 64 bits
    $found =  CheckVisualStudion2010SP1 -RegistryKey 'HKLM:SOFTWARE\Wow6432Node\Microsoft\DevDiv\VS\Servicing\10.0\';   
     
    return $found;
}
 
SearchVisualStudion2010SP1