I am using Simple Injector as an IoC framework on my Sitecore pojects. And what I faced recently is that Sitecore modules like FXM, WFFM do not work properly. The reason of that is the default Simple Injector implementation regarding constructor resolution behavior. Lots of Sitecore classes like Controllers implemented the way that they have … Continue reading Sitecore and SimpleInjector issues with WFFM
MVC
Sitecore Cache Key Profiling
Not sure what's the problem with your Sitecore rendering cache setup? Since Sitecore 8 version has been released I have been experiencing issues with caching. First is that one I described earlier, then I figured out that one of my renderings is being placed inside of another and it applies caching from the parent rendering … Continue reading Sitecore Cache Key Profiling
Helpfulcore.RenderingExceptions styling updated!
Recently I wrote about handling the rendering exceptions in Sitecore in the post from Novemver 15th. Last week I have updated the styling for them: Now error messages should look the same way on any website you install the package The css classes became more unique now so won't conflict with any classes of your … Continue reading Helpfulcore.RenderingExceptions styling updated!
@Html.Sitecore().Rendering(pathOrId) does not apply “VaryBy” settings
This week I have faced with one unexpected issue in Sitecore 8.1. We are declaring few renderings on the layout using the Rendering method of the SitecoreHelper class in Sitecore.Mvc.dll. The issue can be reproduced by setting the "Cacheable" to true and applying the "VaryBy" settings. In result I can see that the "Cacheable" is … Continue reading @Html.Sitecore().Rendering(pathOrId) does not apply “VaryBy” settings
Fortis & Sitecore Tutorial 2 – Renderings
Let's continue... Today will demonstrate a simple and convenient way of implementing Sitecore renderings which Fortis provides out of the box. The latest Fortis version is built to support Sitecore MVC rendering types. View Renderings Controller Renderings You are more than welcome to organize your razor views the usual way, but in the demo solution … Continue reading Fortis & Sitecore Tutorial 2 – Renderings
Sitecore rendering exception handling
What if your rendering throws an exception? Default Sitecore installation will just use ASP.NET behavior and redirect you to the error page (yellowscreen or custom application error page whatever you have configured) Do you like that? Sitecore page is a set of separate renderings and why would I see the error page if one of … Continue reading Sitecore rendering exception handling