Like everybody I was very excited to learn that AppFabric beta 2 was released.
To Install it beta 1 must be removed but unfortunately this was not easy.
AppFabric is a Windows update, not a standalone product install.
1. The uninstall is found at : Control Panel -> Programs -> Programs and Features -> Installed Updates -> Application Server Extensions for .NET 4 (KB970622)
You can also run the Setup wizard again to remove everything. That's in
%WINDIR%\System32\ApplicationServerExtensions directory for Beta 1.
If .NET Framework 4 v4.0.21006 was already removed, create the machine.config and web.config files in the old .NET Framework 4 location by copying from new .NET Framework 4 location. I simply have copied all existing config of v4.0.30128 to .4 v4.0.21006.
After that uninstall AppFabric and restart the machine.
Then open applicationHost.config file of IIS 7 (located at: %WINDIR%\System32\InetSrv\Config\) and remove following attributes from all apps which have it defined: "serviceAutoStartMode" and "previouslyEnabledProtocols
These attributes are in there if you have used “Always Running” feature of AppFabric.