我创建了一个异步控制器,但我认为Sitecore 8不支持它。有没有办法解决这个问题。我尝试了以下方法:http://kamsar.net/index.php/2015/05/Enabling-Async-in-Sitecore-Controller-Renderings/但它不起作用。
答案 0 :(得分:5)
截至2017年3月,它看起来像Sitecore does not support async controller renderings,并没有立即计划。
为了避免死锁,应用程序使用async / await模式should not mix synchronous and asynchronous code。 Sitecore API目前是同步的,因此异步控制器渲染会导致潜在的死锁,直到Sitecore将它们放在一起。