Navigation and service panel


Content

Database performance analysis - Part II

By Ernst Joss on 22. April 2015, No comments

Usually one might not bother about database for Sitcore websites, especially not when the „normal“ SQL guidelines are taken into account during setup of your SQL server. But there might be situation where you think that maybe your database could be the limiting factor for your website. In this cases it can be helpful to know a little bit more about the state of your database used.
In Part I I described some techniques how to identify queries for further analysis. This second Part will now talk about how further analysis for particular queries can happen.

read on
Categories  Tools  Troubleshooting Tags  SQL  diagnostics

Database performance analysis - Part I

By Ernst Joss on 13. April 2015, No comments

Usually one might not bother about databases for Sitcore websites, especially not when the "normal" SQL guidelines are taken into account during setup of your SQL server. But there might be situations where you think that maybe your database could be the limiting factor for your website. In this cases it can be helpful to know a little bit more about the state of your database used.

read on
Categories  Tools  Troubleshooting Tags  SQL  diagnostics

Sitecore Hackathon 2015

By Tobias Studer on 9. February 2015, No comments

A year has passed since the last Sitecore Hackathon and the time has come once again for Sitecore developers from around the world to slap their keyboards, pick their brains and fight against those heavy eyelids. A 24 hour timeline to create a Sitecore module from scratch and reach for fame and glory within the community. Or maybe just have fun. Team Unique has been a part of it, once again.

read on
Categories  Events  Modules Tags  Hackathon  Uniques  Marketplace  PackMan

Check log files on remote environments

By Kevin Brechbühl on 6. February 2015, No comments

On local environments, looking into log files is easy. It's also possible for remote authoring servers where we have the Sitecore backend available. But how do we check the log files for remote delivery systems, where we don't have any access? This blog post introduces a new Shared Source Module which exactly solves this issue.

read on
Categories  Modules  Sitecore Logging Tags  View  Log  GitHub

Get url for area controller action from a View Rendering

By Kevin Brechbühl on 4. February 2015, No comments

Sitecore doesn't support Mvc Areas out of the box, but of course we can use these anyway. This post shows how to resolve an url for a controller action from a Sitecore View Rendering within an area.

read on
Categories  ASP.NET MVC  Best Practice Tags  Mvc  Url  Areas

Create a Single Sitecore Log File per Day

By Zahid Nawaz on 27. January 2015, No comments

This blog post is about how to prevent Sitecore from creating a new log file each time the IIS or its AppPool restarts.

read on

Custom date format in Sitecore MVC forms

By Kevin Brechbühl on 10. November 2014, No comments

Usually in .net solutions, date formats are based on the current culture. In Switzerland the situation is a bit complicated: We have three cultures (German, French and Italian) but almost every website also covers English, which is not an available culture. This means we don't have a valid combination of language and format infos. With this blog post I want to show a way to use custom date format in MVC forms.

read on

Separating Glass Mapper contextes

By Kevin Brechbühl on 24. October 2014, No comments

Glass Mapper itself works with a static context. Everytime on the application start, the Glass context is configured and registered to the dependency injection container. For example, if you have a separate module which is completely decoupled from your Sitecore solution but should also use Glass Mapper, you can't use the same static context. This blog post describes how you can create different contextes for different concerns.

read on
Categories  Configuration  Modules Tags  Glass Mapper  Context

Create Media Item along with language version through Sitecore Item Web API

By Zahid Nawaz on 25. September 2014, No comments

In this blog post I will explain how to create a media item along with different language versions through the Sitecore Item Web API. Out-of-the-box Item Web API does not provide feature to create other language versions of existing media item. To achieve this goal one need to write his own custom pipeline processor. In this blog post I have explained which processor do you need to override and what should you care about while overriding?

read on

Dependency Injection sets you free from Conditional Statements

By Dawid Dworak on 10. September 2014, No comments

Conditional statements have been present to developers for nearly as long as the programming itself. Unfortunately in the world of OOP they are very often abused even by most exceptional developers and thus increase complexity of created applications. There are number of campaigns all over the world that raise awareness of effective use of software design principles and practices first of all by removing bad IFs and replacing them with alternative constructs. Dependency Injection make it possible to enhance the maintainability of code and let developers stay away from overwhelming amount of conditional statements.

read on