As part of the lazy-loading project (#111), I made all of the ITopicRepository members async. There remain a couple of actions in the OnTopic.AspNetCore library that are synchronous, however, and thus can't take advantage of this—not to mention other performance features of ASP.NET Core. There are also a couple of dependencies that are still synchronous, such as methods on the IHierarchicalTopicRepository.
As part of the lazy-loading project (#111), I made all of the
ITopicRepositorymembersasync. There remain a couple of actions in theOnTopic.AspNetCorelibrary that are synchronous, however, and thus can't take advantage of this—not to mention other performance features of ASP.NET Core. There are also a couple of dependencies that are still synchronous, such as methods on theIHierarchicalTopicRepository.RedirectControllertoasyncSitemapControllertoasyncIHierarchicalTopicRepository.GetHierarchicalRoot()toasyncLoad(topicRepository, routeData)toasync(inTopicRepositoryExtensions)CurrentTopictoasync GetCurrentTopic()(inTopicController,ErrorController)IndexAsync()andHttpAsync()toIndex()andHttp()(inErrorController)base.OnActionExecuting(context)withawait next().ConfigureAwait(false)(inValidateTopicAttribute,TopicResponseCacheAttribute