Blog Posts

Mar 21

Kentico CMS Quick Tip: Use IIS Express with Kentico 5.5 R2

Visual Studio 2010 Service Pack 1 is hot off the presses and it includes a great new feature, IIS Express. IIS Express is a step up from the old Cassini web server that had previously been included with Visual Studio since the 2005 edition. You can read more about IIS Express at Scott Guthrie’s blog.

To switch your Kentico project to use this new feature, you just need to go to the Visual Studio top menu after your solution is loaded, and click Website –> Use IIS Express.

From there you can debug the solution as normal. If you need any help with setting up a Kentico project for debugging check out my post about it. The project should start compiling normally and your default browser should pop up pointed your localhost. This request should now be served up through IIS Express and you should see the IIS Express logo appear in your system tray.

Sure enough that all worked for me, and after the default project loaded I was presented with a nice new shiny………error message.

Kentico CMS and IIS Express HTTP Error 500.22

Hmm that seemed odd to me. But as it turns out there is an HttpModule in the system.web node that IIS Express doesn’t like.

Read more »

Dec 15

5 More Things to Check After Launching a New Kentico CMS Website

To date, the most visited post on my blog has been “7 Things You Might Want to Check After Launching a New Kentico CMS Website”. Based on that post’s success I have decided to create this follow up post. Below are 5 more items to add to your launch checklist.

Read more »

Oct 07

Kentico CMS Quick Tip – Exclude App_Data from Antivirus Scanners

This may seem like a very obvious tip, however, it is something that can easily be overlooked. Check your server to make sure that the ~/App_Data folder of your Kentico installation is totally excluded from its antivirus engine. If the antivirus engine is scanning that directory then you might already be a victim of a performance hit. Let me give a little background first. The Kentico CMS application utilizes the ~/App_Data folder to perform various tasks like importing and exporting objects, pu...

Read more »

Sep 01

Kentico CMS Quick Tip - Smart Search without User Input

Today I'm writing a small quick tip type of post that allows you to customize the Smart search wep parts inside of Kentico CMS in a way that I think helps the usability of searching Kentico based web sites.

Kentico's Smart search web parts easily create functionality that allow you to have a very powerful search engine right at your own disposal. The built-in functionality indexes your site's content and displays search results that are ranked based on relevancy. Trust me, it's much more than just a SQL WHERE clause.  I'm not trying to cover the entire spectrum of search inside a Kentico site so if you are not used to using the Smart search check out the Smart Search documentation on Kentico's Devnet.

Read more »

Aug 18

How To Call the Kentico CMS WebService from a JavaScript method

Reader Tip - Cick the Hide Sidebars link at the top right toolbar on this page to give you some more room to read this post on the screen, because it is code heavy. The Kentico CMS WebService is a little known tool when it comes to the functionality of Kentico. It is used in a few Web Parts, the Repeater for web service Web Part comes to mind right away. The WebService’s job is pretty straightforward, it’s main purpose,  as you could probably guess, is to return data from the Ke...

Read more »

Aug 02

How to Setup Debugging for Custom Event Handlers in Kentico CMS and Visual Studio 2010

This post applies to using Kentico CMS 5.5+ and Visual Studio 2010. It may seem a bit basic to some veteran Kentico developers, but I had to show a few co-workers the ins and outs of setting up a solution the right way. Once they had it, they were able to debug through a local project that contained both the core Kentico code and the extra sample code for creating a custom event handler. You might have a question on what exactly a CustomEventHandler is for Kentico. Well it is basically an avenue...

Read more »

Jul 12

Rocking the Google Site Map Feature of Kentico CMS

I’ve been pretty surprised at the traffic, mention, and email feedback that my last post, 7 Things you might want to check after launching a new Kentico CMS website, has received. In fact I was presented with a very good question in my inbox today about a detail from the fourth item in that list.

Pretty much the question boiled down to, why after submitting the Google site map URL to Google’s Webmaster tools, was the specified website’s pages not showing up in the resulting index or when viewed at the sites ~/CMSPages/GoogleSiteMap.aspx page.

Since the question came in from a friend, I decided to dig deeper and lend a hand. As soon as I logged into the site’s CMSDesk I quickly noticed what was up. Most of the content pages were using Custom Document Types. I was actually impressed to see this because it is sort of an advanced feature to use inside Kentico and normally an under utilized feature as well.

The output of the GoogleSiteMap.aspx page looked something like this, only the normal Menu Items from the CMS Tree:

Read more »

Jul 01

URL Rewriting & Aliasing in Kentico CMS

Kentico CMS is extremely powerful when it comes to controlling the URL of a website. Right out of the box, you get the power of aliasing whatever URL you want to whatever document or resource you have in the content tree.

Heck since Kentico 4.x you can even mask/change the extension or just get rid of it all together, to get more control of your site’s URLs.

I can’t stress enough how beneficial this feature is when it comes to creating SEO friendly links, maintaining out of date website paths/structure, or just making it easier on your visitors to reach the pages that they need to get to.

Let’s get started with an example. For instance let’s say your website had a products section that sold different types of potato chips. My favorite potato chips are Baked Lays. So we will go with that for the example.

Way back when developers didn’t do much to make the URL SEO or user friendly, you would have a typical URL like these: Lays

Google and other search engines see this only as one URL, …/chips.aspx, which doesn’t do us very good.

Now let’s say you had this same website in Kentico. It might look something like this:

Read more »

Jun 23

7 Things You Might Want to Check After Launching a New Kentico CMS Website.

You have just finished importing your export file onto the live server, generated that fresh new license file and installed it, double checked your server's host headers, and fired up your browser of choice to Now wipe that smile away from your face, you still have work to do.

Read more »

 1 2 3 4