Quantcast
Channel: The grumpy coder.
Browsing latest articles
Browse All 43 View Live

CSS Resource Versioning with Microsoft ASP.NET Web Optimization

This post will demonstrate how you can easily add version tags (aka fingerprints) to file references (font, image references and so on) in your CSS style bundles when using Microsoft’s Bundling and...

View Article


Introducing the Sitecore Item Binding Framework

I have spent the last 10+ years working with Sitecore and I have loved every minute of it - well almost every minute. The only part that I have never liked is the ridiculous amount of time spent...

View Article


Sitecore Publish Cache Dependency

From time to time we all run into situations where we want to use caching to store data and when working with Sitecore a lot of those situations also involves data originating from items. But what...

View Article

Creating secure web services with Web API 2 and Sitecore

Microsoft Web API 2 brings a lot of improvements when dealing with security in HTTP based web services. In this post I will show how to use some of these features in conjunction with Sitecore to create...

View Article

Combining Sitecore ItemBinding with Glass.Mapper.Sc

You can’t have your cake and eat it too a popular saying goes. However I never like being told what I can and can’t do and the other day I was thinking about how cool it would be to combine something...

View Article


Sitecore ItemBinding TDS Code Generation Templates

This is just a short post to announce that I have released a set of Team Development for Sitecore T4 code generation templates for Sitecore ItemBinding.The templates are fairly basic but hopefully they...

View Article

Sitecore Itembinding Framework registering custom model factories

Just a quick post to pick up on one of the improvements that has been added to the Sitecore ItemBinding Framework. When the framework was first release it was possible to create your own custom model...

View Article

Implementing a Differentiated robots.txt on a Sitecore Multisite

I recently answered a question on how to implement a differentiated robots.txt in Sitecore when you have multiple websites running in the same instance. I know that to some this may seem like a trivial...

View Article


Relative Data Source Paths When Inserting a Rendering in Sitecore

When you are working with Sitecore sites where the pages have a lot of inserted renderings you usually also end up with a lot of data sources and if they are all placed in a central location then you...

View Article


Sitecore Clones and ItemCloning.ForceUpdate – It Almost Works!

Recently I found myself in a situation where using clones in Sitecore seemed like a good idea. We had a large product item tree on a main site that we also wanted to use on a number of sub sites so we...

View Article

Sitecore Web Forms for Marketers Adds jQuery Scripts to Your Pages

Recently I had an issue with a JavaScript in a Sitecore 8.2 update 3 installation that was throwing errors on some pages and not on others. I started comparing the different pages and realized that the...

View Article

NullReferenceException in SessionStateItemCollection.Remove() in Sitecore 8.2...

After upgrading to Sitecore 8.2 update 3 I received the following error at random in the content editor and experience editor. [NullReferenceException: Object reference not set to an instance of an...

View Article

Image may be NSFW.
Clik here to view.

Extending the Sitecore Device Editor Dialog with Datasource Information

Back in time, most pages used to have a number of fields directly on the page item and maybe three or four inserted renderings at the most. However, in recent time I have noticed that more and more of...

View Article


Image may be NSFW.
Clik here to view.

Error in Sitecore Publishing Server 2.1.0 if an Item Version has a Publish...

This is just a short description of an error that I have encountered in Sitecore Publishing Server v. 2.1.0. If you have an item with two versions and the second version has a publish from date set but...

View Article

Sitecore Publishing Server and Content Availability

As long as I have worked with Sitecore the three main complaints that I have always received from content editors are that the experience editor is slow, publishing is slow and that the publishing...

View Article


Sitecore Context Database is Null, What is Your Context?

I frequently receive questions about the context database in Sitecore and about what the content database is and how it relates to the context database. So here is a small breakdown of the database...

View Article

Navigating the Layers of Helix

In my discussions with other fellow Sitecore developers there is one topic that comes up frequently which is, what to do if you find yourself in a situation where you have two feature modules that in...

View Article


Triggering Sitecore Campaigns With External Campaign Codes

If there is one thing that marketers seem to love it is Google campaigns and utm tracking codes or any other kind of campaign codes for that matter - well that is, all campaign codes other than the...

View Article

Dynamic Robots.txt in Sitecore

For some reason one of the most common search terms for people visiting this blog is robots.txt and since I have not written a post about this I think it is about time. So by popular demand here is a...

View Article

How to Handle Protected Sitecore Media Files in CDN

Implementing a CDN setup in Sitecore is really easy. Basically you just ned to set the setting Media.AlwaysIncludeServerUrl to true and include the base address to your CDN of choice in the...

View Article
Browsing latest articles
Browse All 43 View Live