Menu

Skip to content
  • Home
  • About

Fire Breaks Ice

Sitecore Tips and Best Practices by Mark Ursino, Sitecore MVP

Author: Mark Ursino

January 29, 2011 by Mark Ursino on ASP.NET

Use Any() Instead of Count() To See if an IEnumerable Has Any Objects

When determining if an IEnumerable contains any objects, avoid Count() and instead use Any().

 
January 27, 2011 by Mark Ursino on jQuery

Avoid return false in jQuery Click Bindings

The use of ‘return false’ in jQuery click bindings prevents JavaScript event bubbling. You can use event.preventDefault() instead to maintain event bubbling.

 
January 21, 2011 by Mark Ursino on Sitecore

Tame Your Sitecore Treelists

The treelist field type is useful to select many items in a tiered structure, but the use of source parameters can help control what editors can see and select.

 
January 18, 2011 by Mark Ursino on Sitecore

Storing Sitecore Media in the Database vs. the File System

Sitecore media assets can be stored in either the database or on the file system. This article covers the pros and cons of each approach.

 
January 15, 2011 by Mark Ursino on Sitecore

Options For Querying Items from Sitecore

There are several options out there for developers to query Sitecore. Read on to figure out what is best for your queries depending on the size of your solution.

 
January 13, 2011 by Mark Ursino on ASP.NET

Filter a List to Unique Objects with a HashSet

The generic HashSet in C# allows for an easy way to filter a list to distinct objects with minimal coding.

 
January 9, 2011 by Mark Ursino on ASP.NET

Disable ASP.NET Web Service Test Pages

Follow this simple web.config tweak to disable the form on any web service ASMX test page.

 
January 3, 2011 by Mark Ursino on Sitecore

All About Sitecore Renderings

This article is a general overview of Sitecore renderings. The general term “rendering” refers to several specific types of front-end components that developers can use.

 
January 2, 2011 by Mark Ursino on ASP.NET

Convert a List of BaseClass to a List of DerivedClass in C#

Its possible to convert a list of objects from narrower types to wider types and vice versa using the OfType extension method. This is useful for simple filtering.

 
January 1, 2011 by Mark Ursino on jQuery

Smooth Scrolling Links to the Top of the Page

Use this simple jQuery snippet to make smooth scrolling “go to top” links.

 
Page 6 of 6
← Newer Posts
 
Subscribe!
Casper WP by Lacy Morrow
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT