有谁知道如何检查Windows Server AppFabric缓存服务是否以编程方式启动并运行?
如果AppFabric服务关闭,它将抛出异常。这是一个非常昂贵的过程,因此在从AppFabric创建缓存对象之前,我需要检查服务是否已启动并正在运行。这意味着只有当AppFabric正在运行时,我才希望使用AppFabric作为缓存服务,否则我希望使用System.Web缓存。
傀儡代理(Windows 2008 R2)
# This is the init.pp manifest file for the appfabricmodule
$setup_base_directory = 'D:setup_base_directory}WindowsServerAppFabricSetup_x64.exe"
$