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

Image may be NSFW.
Clik here to view.

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


Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

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


Image may be NSFW.
Clik here to view.

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


Image may be NSFW.
Clik here to view.

Sitecore Display Name not Shown

My display names went missing from Sitecore. But only in my development environment, not the test or production environment. Some googling lead me to this article from Stackexchange, but my database...

View Article

Image may be NSFW.
Clik here to view.

C# Mask email address for GDPR reasons

This is a C# extension method that will mask your email address following this pattern: If it’s not an email, the entire string will be masked (“this string” => “***********”) If the first part of...

View Article

Image may be NSFW.
Clik here to view.

SHA256 hashing email addresses for GDPR reasons

This is a followup on the previous post C# Mask email address for GDPR reasons, where user Inspector Cluedget pointed out that masking (replacing characters with *) an email address in the log file is...

View Article

Image may be NSFW.
Clik here to view.

Sitecore from Rendering to Experience Editor

In Sitecore, how do you set up a template  and a rendering that works in the Experience editor? Here is the checklist: STEP 1: CREATE A TEMPLATE Create the template. For each field, use the “Title”...

View Article


Image may be NSFW.
Clik here to view.

Sitecore find unused templates

Long lived Sitecore projects tend to build up dead templates and renderings as design, features and functions evolve. Finding those unused templates is not always just a matter of checking the Sitecore...

View Article

Image may be NSFW.
Clik here to view.

Sitecore find Unused Sublayouts

Long lived Sitecore solutions tend to build up unused renderings and sublayouts as design, features and functions evolve. Finding those unused sublayouts it not just a matter of checking the Sitecore...

View Article


Image may be NSFW.
Clik here to view.

Using Notepad++ to mask email address for GDPR reasons

With the new GDPR rules enforced in Europe, shipping log files containing personal information (including email addresses) to 3rd parties are a no-go. Unless you have a signed controller/processor...

View Article

Image may be NSFW.
Clik here to view.

Sitecore 8.2 changed maxInvalidPasswordAttempts from 256 to 5

I noticed that some of my users got locked out of my solution after I upgraded from Sitecore 8.0 to Sitecore 9.0. That’s because Sitecore have decided to change the default value of the membership...

View Article


Image may be NSFW.
Clik here to view.

Sitecore The “placeholder” placeholder was not rendered in the “page” item

Do you get this error in Sitecore 9? 9952 2018:10:23 12:56:42 WARN The “xxxxx” placeholder was not rendered in the “xxxxx” item ({00000000-0000-0000-0000-000000000000}) rendering context. Possible...

View Article

Image may be NSFW.
Clik here to view.

Sitecore 9 Dependency Injection – Extend the Sitecore Logging

With the extended use of Dependency Injection (DI) in Sitecore 9, you have yet another tool to extend the Sitecore functionality. With DI you can basically replace or extend standard Sitecore...

View Article

Image may be NSFW.
Clik here to view.

Solr delete document using UI and querystring

How do you delete a document from Solr? You can use query string parameters to do the delete:...

View Article
Browsing all 286 articles
Browse latest View live


Latest Images