Quantcast
Channel: briancaos – Brian Pedersen's Sitecore and .NET Blog
Browsing all 276 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Sitecore Media Library integration with Azure CDN using origin pull

If your Sitecore website is heavy on content from the media library you can offload your Sitecore instances by allowing images to be retrieved from a Content Delivery Network (CDN). If you use...

View Article


Image may be NSFW.
Clik here to view.

Sitecore contact cannot be loaded, code never responds

In Sitecore, it is possible to encounter a situation where the calls identifying or locking a contact never responds, but there is no errors returned. A call to identify:...

View Article


Image may be NSFW.
Clik here to view.

Requesting Azure API Management URL’s

The Azure API Management is a scalable and secure API gateway/proxy/cache where you can expose your API’s externally and still have secure access. In Azure API Management you create a “Product” which...

View Article

Image may be NSFW.
Clik here to view.

Webhook Event Receiver with Azure Functions

Microsoft Azure Functions is a solution to run small pieces of code in the cloud. If your code is very small and have only one purpose, an Azure Function could be the cost effective solution. This is...

View Article

Image may be NSFW.
Clik here to view.

Sitecore Scheduled Task – Schedule time format and other quirks

The Sitecore task runner, usually called Scheduled Tasks, is a simple way of executing code with intervals. You configure scheduled tasks in Sitecore, at /sitecore/system/Tasks/Schedules: Scheduled...

View Article


Image may be NSFW.
Clik here to view.

Edit special field types in Sitecore Experience Editor – Custom Experience...

The Sitecore Experience Editor allows inline editing of simple field types like text and rich text (HTML) field, and a few complex ones like links. But editing checkboxes, lookup values, multiselect...

View Article

Image may be NSFW.
Clik here to view.

.NET Session state is not thread safe

When working with the .NET session state you should bear in mind that the HttpContext.Current.Session cannot be transferred to another thread. Imagine that you, from the Global.asax would like to read...

View Article

Image may be NSFW.
Clik here to view.

C# Using Newtonsoft and dynamic ExpandoObject to convert one Json to another

The scenario where you convert one input Json format to another output Json is not uncommon. Before C# dynamic and ExpandoObject you would serialize the input Json to POCO model classes and use a...

View Article


Image may be NSFW.
Clik here to view.

Sitecore Rule – Personalize based on any field in any facet in your Contact

This Sitecore Personalization Rule was developed by my colleague Martin Rygaard with the purpose of being able to personalize on any field in any facet on a contact. Contact Facet Rule Set Editor STEP...

View Article


In Sitecore 9, the ProxyDisabler have been retired completely

Sitecore have finally retired the ProxyDisabler in Sitecore 9. Proxy items were the early version of item cloning and were deprecated in Sitecore 6. And now the ProxyDisabler have been removed. There...

View Article

Image may be NSFW.
Clik here to view.

So we are doing Sitecore MVP announcements now, are we?

Sitecore MVP 2018 Yes, again Sitecore thought that my rants about contacts, experience editor, SOLR, and other Sitecore related topics, are good enough to be awarded with the Sitecore MVP title. My...

View Article

Sitecore Object of type...

When deleting or refactoring Sitecore Contact Facets, and when using a Shared Session Manager, this error can exhaust your solution to the point where the IIS recycles: ERROR Error executing the...

View Article

Sitecore 9 Configuration not available on Dependency Injection –...

Form Sitecore 8.2, Sitecore have implemented Dependency Injection for their own classes. Sitecore uses Microsoft’s Dependency Injection library. Sitecore uses dependency injection to inject many...

View Article


Image may be NSFW.
Clik here to view.

Azure API Management configure CORS in the policy

Cross-Origin Resource Sharing (CORS) allows a user agent gain permission to access a web- or REST service from a server on a different domain than the site currently in use. Modern browsers does not...

View Article

Sitecore – what is the hash property in the image query string?

Have you also wondered why Sitecore adds a “hash=” property to the image query string? https://yourwebsite.com/-/media/image.jpg?w=200&hash=A1FFA19B634EDF53A3AB3B757887E671F1C452A0 The hash key...

View Article


Image may be NSFW.
Clik here to view.

Azure Functions – How to retry messages in the poison queue

When working with a scenario where your Microsoft Azure Function reads data from a queue, your azure functions is automatically triggered when an entry is added to the queue you wish to read from. The...

View Article

Image may be NSFW.
Clik here to view.

Sitecore install local SSL certificate for shared xConnect SOLR server

In Sitecore 9, the SOLR connection is secure by default. The effect is that if your development environment includes a shared SOLR server, your local IIS requires a SSL certificate issued for that...

View Article


Image may be NSFW.
Clik here to view.

Sitecore open internal links in new window

Frequent users of Sitecore have already noticed that the “Insert Sitecore Link” dialog does not have a target selector: Insert Internal Link Yes it’s true, if you wish to open an internal link in a new...

View Article

Creating dynamic arrays and lists using Dynamic and ExpandoObject in C#

In this previous post, C# Using Newtonsoft and dynamic ExpandoObject to convert one Json to another, I described how you can use the dynamic keyword and the ExpandoObject class to quickly transform...

View Article

Sitecore and WebApi

So you have some legacy WebApi code that needs to run in your Sitecore solution? Or are just just a WebApi expert and need to use your favorite tool in the toolbox? Fear not, WebApi will run fine in...

View Article
Browsing all 276 articles
Browse latest View live