Hibernating Rhinos has two really good products for profiling applications that are using NHibernate or Linq to SQL, NHibernate Profiler and Linq to Sql Profiler. To profile your application you need to reference an appender and initialize it upon startup. This can easily be done in several ways in EPiServer CMS, using HTTP modules, the [...]
In my previous post I described how to query an IIS log as if it was a database table using SQL Servers OPENROWSET. This post is a short follow up on that describing how to query EPiServer (log4net) logs in the same way. In EPiServers logfiles, there are no character sequence that can be used as row [...]
IIS logs are a good source of information when you want to analyze the behavior of your site. There are many tools and log parsers around, but I tend to prefer SQL Servers OPENROWSET to parse and query log files. To use OPENROWSET you need to map the format of the file to a virtual database [...]
EPiServer CMS 6 introduced new tools for site and license administration. One not so known feature in these tools are the ability to generate demo licenses. In admin mode, click Site Information under the Config tab. Select the License Information tab and scroll down to Download License section. Select Demo license and hit Download License. [...]
In my previous post I described how the number of clicks within edit mode can be reduced by adding keyboard shortcuts for common tasks like switching between tabs and saving pages. Another very common and click intensive task in EPiServer CMS is to set the value of PageReference properties. First the editor has to click the [...]
One thing editors sometimes ask me is if it’s possible to reduce the number of mouse clicks within the EPiServer edit mode. We all know that creating even the simplest page requires a lot of clicks to get the page created and saved. One way to solve this could be the use of keyboard shortcuts. [...]
Nowadays almost all EPiServer projects involves some kind of interactivity powered by jQuery and AJAX. When it come to frameworks, there are a lot of alternatives to choose from on both the client- and serverside. On the clientside, jQuery has emerged to be the alternative to use. On the serverside, Microsoft offers a couple of different alternatives [...]
In my current project I need to know when the latest change was made on any page on the entire site. My first thought was to use FindPagesWithCriteria or maybe to do a recursive GetChildren to find the latest value of the PageData.Changed property. But since EPiServer CMS 6, there is a change log you [...]
Today I installed Page Type Builder 1.2 Beta 2 on my ongoing EPiServer CMS 6 project. I dropped the Page Type Builder assemblies in the bin folder, recreated the references, did an iisreset and then tried to start the site. I got the following exception: Unable to load one or more of the requested types. [...]
Page Type Builder might be one of the best things that happened to EPiServer CMS over the last couple of years. I strongly recommend you to use it. With that said, I want to share a small debugging tip that is very useful while using Page Type Builder. Debugging is in general a lot about [...]