Legal NoticeThe opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.
- C# HttpClient POST or PUT Json with content type application/json
- Run tasks in parallel using .NET Core, C# and async coding
- C# Get expiry timestamp from JWT token
- C# get results from Task.WhenAll
- ASP.Net Core API - "'s' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0."
- Using C# HttpClient from Sync and Async code
- Handling "415 Unsupported Media Type" in .NET Core API
Tag Archives: datasource
Or: How Sitecore DMS and Personalization killed the Sitecore.Context.Item. This post is about how to properly ensure that you get data from the correct item when you develop websites that can be personalized. The Sitecore.Context.Item returns the current item, i.e. … Continue reading
This quick tutorial will guide you trough your first Sitecore Page Editable Component. The Sitecore Page Editor is build around the concept of components. A component is a reusable piece of data that is parred with a sublayout and placed … Continue reading
How do you get the Sitecore Sublayout from a Usercontrol? A Sitecore Sublayout (Sitecore.Web.UI.WebControls.Sublayout) is a container for your Usercontrol (.ascx) page. Therefore the Sublayout is retrieved by typecasting the parent to a Sublayout: Having the Sublayout in hand enables … Continue reading
In Sitecore you can apply a datasource to a sublayout when adding it to a template/item. But the datasource is not automatically used. Your context will not change to the item specified in the datasource. The datasource is therefore not … Continue reading