Masthead image for SitecoreFundamentals.com
Banner image for Handling “Unable to load type [your-model] required for deserialization” when using Redis to store custom objects in User sessions with Azure. article

In our latest project I have been storing an instance of an object in the User's session, which can be recycled on each page load and cuts down load times but 60%. This simple model, which of course must be decorated with [Serializable] or you'll get the error “Type 'xxx' in Assembly 'xxx, Version=...' is not marked as serializable”, has a bunch of reference data pertaining to the User's location. So, when I added some additional data which changed the class, Redis didn't like that. Not. One. Bit.

Read More
Banner image for Adding a Custom 404 Page When the Requested Language Is Missing article

Sitecore won't handle a page request as a 404 if the context language is missing. So, what this means, is your Users will just see  a blank page should the item exist in English but there's no French version, and they're requesting the French page. We need to override HttpRequestProcessor and  ExecuteRequest to make this a friendly experience for your Users. Let's get started!

Read More
Banner image for A Complete Guide to Restricting Access to Sitecore Managed Cloud article

Sitecore Managed Cloud can be a lot of things for an organization, saving a great deal of time and expense having offloaded numerous tasks and resources. One important step that's still up to you, is restricting access to non-delivery resources. Today we're going to cover doing this, along with some automation using PowerShell.

Read More
Banner image for Creating Content Reports With Sitecore PowerShell article

Advanced System Reporter used to be my go-to module for running content reports, but support for this module ended a while ago and it's time to look for something new. Sitecore PowerShell is a massively powerful tool, used for countless reasons when managing a Sitecore instance. I could write a few dozen posts covering all the possibilities, but today I'm only going to show you show to generate a simple content report.

Read More
Banner image for Optional Parameter Don't Play Nice With Sitecore Scheduling article

In my post, How to Add Custom Buttons to the Content Editor Ribbon, I showed a snippet near the end that executes an import function. One small problem I came across, is that an agent won't work well with a method that has optional parameters.

Read More