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
- Using C# HttpClient from Sync and Async code
- ASP.Net Core API - "'s' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0."
Archive
Meta
Tag Archives: Pipeline
Sitecore Pipelines – The great walkthrough
I have previously stated my enthusiasm for the Sitecore Pipeline concept. This article describes how to create your own, how to add parameters, and which properties to use. WHAT IS A SITECORE PIPELINE? It is best described as a simple … Continue reading
Posted in .net, c#, General .NET, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9
Tagged Dependency Injection, Pipeline, PipelineArgs, Processor, Resolve, Reusable, runIfAborted, Sitecore
Leave a comment
Sitecore Measure Pipeline performance and profile processors
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
Sitecore 404 without 302
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
Posted in c#, General .NET, Sitecore 6
Tagged 302, 404, httpRequestBegin, Pipeline, Sitecore, TrySkipIisCustomErrors
14 Comments
Creating fallback values using the RenderField pipeline
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
Allowing Google to sort your web pages by date
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
Posted in .net, General .NET, Sitecore 6
Tagged Date, Google, Google Search Appliance, GSA, httpRequestBegin, Pipeline, Response Header, Sitecore, Sort
2 Comments
Deleting items to recycle bin in Sitecore
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
Parameters in Sitecore Pipelines
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
Create your own ContentEditorWarnings in Sitecore
A ContentEditorWarning is the yellow box at the top of the Sitecore content editor. This box can be used for numerous purposes. Sitecore itself uses it if you have no access to the item, for workflow messages, protected items etc. … Continue reading
Posted in .net, c#, Sitecore 6
Tagged ContentEditorWarnings, Pipeline, Proecssor, Sitecore
9 Comments