Legal Notice
The opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.Top Posts
- C# HttpClient POST or PUT Json with content type application/json
- C# get results from Task.WhenAll
- C# Get expiry timestamp from JWT token
- Run tasks in parallel using .NET Core, C# and async coding
- Handling "415 Unsupported Media Type" in .NET Core API
- 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
Archive
Meta
Category Archives: Sitecore 4
Which of my old Sitecore posts are still valid in Sitecore 9?
I have been writing Sitecore blog posts since April 2006. The first ones were for Sitecore 4.2. Now, 13 years later, some of the old posts are still valid, while others are obsolete as the Sitecore API have changed. But … Continue reading
Posted in .net, .NET Core, c#, General .NET, Sitecore, Sitecore 4, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9
Tagged Sitecore
Leave a comment
Sitecore: Login to website and how to restrict access to content
The Sitecore security model has not changed substantially since Sitecore 4. And yet I still find myself struggling every time I have to set up a website that require login, or where users require special access rights to parts of … Continue reading
Posted in Sitecore 4, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9
Tagged login, security, Sitecore
1 Comment
Measuring Sitecore performance with HighResTimer
The HighResTimer is a Sitecore feature that has been around since Sitecore 4. It’s a simple timer that allows you to very precisely measure time in microseconds by using the underlying OS timers. It is very easy to use: The … Continue reading
Posted in General .NET, Sitecore 4, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8
Tagged HighResTimer, Performance, Sitecore
2 Comments
Streaming objects into a cookie
Cookies are text strings that is used within the browser memory. In reality, cookies can store anything, as long as you follow these limitations: Do not store more than 20 cookies per domain. Do not store more than 4096 bytes … Continue reading
Posted in General .NET, Sitecore 4, Sitecore 5, Sitecore 6
Tagged base64string, cookie, serialize, stream
3 Comments
XSLT Quick reference
I am using a lot of XSLT in my work with Sitecore 4 and 5. Practically every component that reads from Sitecore I do in XSLT. Only backend, formulars and business logic is programmed in c#. One of my colleagues … Continue reading
Sitecore : Changing language removes your parameters
Sitecore 4 have the simplest way of choosing language. Just add a link with the parameter ?lg=language (where language is the language to switch to, DA for example). Many of my websites is multilanguage sites. At the top of each … Continue reading