Sometimes its hard to determine whether to use a property or a method in C#. There are however guidelines to help you choose the right feature to use.
Month: March 2011
Link Directly to a Sitecore Item in a Custom Editor
Learn how to make a custom Sitecore editor link directly to an item using the built-in JavaScript tools.
Use Namespace Aliases for Ambiguous Sitecore Class Names
Easily get over namepsace ambiguity with Sitecore classes by using C#’s namespace aliases.
Right-Click Attach To Process in Visual Studio
Here’s a tip on how to tweak your Visual Studio code window context menu to include the Attach to Process debug command.
Using the DataSource Field with Sitecore Sublayouts
Sitecore sublayouts provide modular presentational pieces to Sitecore sites. Learn how to assign specific data to these components.
Handling Multiple Hostnames in a Sitecore Multi-Site Solution
Learn a quick trick to handle hostnames with and without subdomains in a Sitecore multi-site solution.