28
May

Security Guidelines for Users and Roles

Sitecore recommended practices for security (users and roles): Break inheritance rather than explicitly deny access rights. Apply security to roles rather than users. Limit access to the parts of the content tree that are relevant to the user that is logged into the system. Limit access to the ribbon items by disabling features that are […]

28
May

Treelist vs TreelistEx

Use TreelistEx instead of Treelist when showing very big trees — like the Home node and its descendants — or have lots of Treelist fields in one single item. TreelistEx only computes the tree when you click Edit whereas a Treelist will compute it every time it is rendered.

Posted in CMS
27
May

LINQ to Sitecore

The Linq to Items layer does not implement all of IQueryable. Below are list of supported and not supported LINQ items. Supported:  All  Any  Between — with an extra overload for including or excluding the start and end ranges.  Boost — makes this part of the query more important than the […]

26
May

Five principles of SOLID

  S – SRP – Single Responsibility Principle O – OCP – Open Close Principle L – LSP – Liskov Substitution Principle I – ISP – Interface Segregation Principle D – DIP – Dependency Inversion Principle

Posted in CMS