Legal NoticeThe opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.
- Using C# HttpClient from Sync and Async code
- An existing connection was forcibly closed by the remote host
- Response.Redirect throws an "Thread was being aborted"
- Sitecore 9 Tracker.Current.Session.Identify is replaced with Tracker.Current.Session.IdentifyAs
- C# Using Newtonsoft and dynamic ExpandoObject to convert one Json to another
- Sitecore Paging SOLR Responses
- Unable to read data from the transport connection: The connection was closed
Tag Archives: Pipeline
In Sitecore, Pipelines are by far my favorite dependency injection pattern, and I have used them since Sitecore 5. One of the secret features of pipelines are the built in profiling. Oh, yes, by flipping 2 switches you can measure the … Continue reading
It’s a well known issue that when Sitecore displays a 404 page, it’s done by doing a 302 redirect to the 404 page, hence the 302 status code is thrown before the 404. The behavior is partially because of the … Continue reading
You all know that you can insert the node name in a text field by writing $name in the __Standard Values: This will fill in the node name when the item is created. Sitecore has more of those built in: … Continue reading
I have previously shown my support for pipelines in Sitecore and I have used pipelines to modify the request header, to create contenteditor warnings, and I have shown how to add parameters to pipelines. Here is another pipeline trick: Using … Continue reading
This article refers to the Google Search Appliance (GSA). But since GSA and http://www.google.com is based on the same algorithms, it is very likely that it also applies to the general Google search as well. The Google Search Appliance allows you to … Continue reading
There are several ways to delete an item in Sitecore programatically. The simplest is to use the item.Delete() function: This, however will delete the item entirely, not move it to the recycle bin. Instead you should use the item.Recycle(): You could … Continue reading
The Sitecore pipeline is another of Sitecore’s code gems that allows you to create a customizable sequence of functions to be performed on your code. Sitecore itself has a vast number of pipelines that processes information, for example the renderField … Continue reading