How to, see link below.
Blogs View.
Author: Andreas Plahn
On Writing Maintainable Code | Jeremy D. Miller
Introducing Gulp, Grunt, Bower, and npm support for Visual Studio – Scott Hanselman
Continuous Tests – Mighty Moose
Get date from 60 days ago in SQL
Like this:
SELECT * FROM MyTable
WHERE myTable.Created > DATEADD(day, -60, GETDATE())
.NET Concepts Simplified For Interviews: Shallow Copy and Deep Copy in C#
david-tec.com | mappings for PageTypeBuilder property attributes to typed pages in EPiServer 7
PageTypeBuilder | EPiServer CMS 7 | ||
---|---|---|---|
Attribute | Property/Field | Attribute | Property/Field |
Namespace: PageTypeBuilder | Namespace: System.ComponentModel.DataAnnotations | ||
PageTypeProperty | DisplayInEditMode | ScaffoldColumnAttribute | |
PageTypeProperty | EditCaption | Display | Name |
PageTypeProperty | HelpText | Display | Description |
PageTypeProperty | SortOrder | Display | Order |
PageTypeProperty | Tab | Display | GroupName |
PageTypeProperty | Required | Required | |
Namespace: EPiServer.DataAnnotations | |||
PageTypeProperty | Searchable | Searchable | |
PageTypeProperty | Type | BackingType | |
PageTypeProperty | UniqueValuePerLanguage | CultureSpecific | |
– | Access | Users | |
– | Access | Roles | |
– | Access | VisitorGroups |
From: david-tec.com | Comparing PageTypeBuilder and EPiServer 7 Preview typed pages (part 3 of 3).
Analyzing SQL Server database size — Krompaco
A note on EPiServer Commerce entry data and serialization
To improve performance, catalog entry meta data is serialized and stored in a field for each catalog entry. This allows all meta data information to be fetched from a single field and de-serialized, which reduces the number of database calls and greatly increases performance compared to non-serialized data fields.
The SerializedData field should be updated after updating any catalog data through 3rd party sources. The SerializedData field is part of the CatalogEntryDTO (data transfer object), and will be cached based on catalog cache settings. Storing images and files in meta fields will increase the size of the serialized data, and increase catalog cache size.
From the Commerce 7.5 documentation:
http://world.episerver.com/Documentation/Items/Developers-Guide/EPiServer-Commerce/75/Catalogs/Guidelines-for-working-with-catalogs/
Frequent used IOC Services in EPiServer 7 CMS – EPiServer CMS note
From: Important IOC Services in EPiServer CMS – EPiServer CMS note.
A list of the most frequent used IOC services for the CMS
Usage
ServiceLocator.Current.GetInstance<ServiceType>();
Services
DisplayChannelService – Handle display channels
IContentLoader – Load Content
IContentRepository – CRUD operations for content
IContentVersionRepository – Handles versions of IContent
ILanguageBranchRepository – Handle language branches
IPageCriteriaQueryService – Searches in content
LocalizationService – Handle translations
PageTypeRepository – CRUD operations for page types
UrlResolver – route helper to get URLs for content