datacachefactory

AppFabric DataCacheFactory() initialization hangs in VS2013, works fine in VS2010 and VS2012

跟風遠走 提交于 2019-12-07 03:39:59
问题 I have an application that has been working for a while. I tried running it with VS2013 and it hangs on a line where it tries to initialize a DataCacheFactory object. The same code works fine with VS2010 and VS2012. private static DataCacheFactory GetDataCacheFactory() { if (factory == null) { lock (lockObject) { if (factory == null) { factory = new DataCacheFactory(); //VS2013 hangs on this line } } } return factory; } No errors are generated. The code just hangs on the line factory = new

AppFabric DataCacheFactory() initialization hangs in VS2013, works fine in VS2010 and VS2012

烂漫一生 提交于 2019-12-05 07:47:26
I have an application that has been working for a while. I tried running it with VS2013 and it hangs on a line where it tries to initialize a DataCacheFactory object. The same code works fine with VS2010 and VS2012. private static DataCacheFactory GetDataCacheFactory() { if (factory == null) { lock (lockObject) { if (factory == null) { factory = new DataCacheFactory(); //VS2013 hangs on this line } } } return factory; } No errors are generated. The code just hangs on the line factory = new DataCacheFactory() . The AppFabric DLLs are current versions. I welcome any suggestions for identifying