Removing /en/ language option from Sitecore URLs
by David on Jan.30, 2012, under Sitecore
Open the web.config file and find the following:
‘languageEmbedding’ – set it to ‘never’. By default it seems to be set to ‘asNeeded’. Do this like so:
languageEmbedding=”never”
That’s it. No more annoying duplicate page entries in your Google Analytics and things like that.
Excluding Sitecore items from Search Results
by David on Jan.27, 2012, under Sitecore
Excluding Sitecore items from your search results in Sitecore using Lucene
Lets say you want to exclude a particular item from being displayed in your search results when searching in your Sitecore site. This can be done by adding a couple of lines to your web.config file.
Do a search for:
"Sitecore.Search.Crawlers.DatabaseCrawler, Sitecore.Kernel"
It's possible to add templates or IDs of items of which should be included to the index or excluded from it. Lets say you want to exclude all Read more [...]
Leave a Comment
:index, Lucene, searching, Sitecore
more...
Why you SHOULD have a modern browser
by David on Jan.12, 2012, under Web Dev
As someone who works with the web day to day, there are some things which tend to give you 'groan' moments. The moments where you can't help but feel sorry for those less 'browser-endowed'. This post is aimed at being a little provocative and if you are reading this post (and make it to the end) and are not using a Modern Browser, you are obviously somewhat interested in what a modern browser can offer and should definitely go and upgrade. If for any reason your web-cataract is clouding your vision Read more [...]
Leave a Comment
:browser, update, Web
more...
Understanding ASP.NET Dynamic Compilation Pages
by David on Dec.30, 2011, under Web Programming
When you request and ASP.NET page, ASP.NET framework checks for a .NET class that corresponds with the page. Should it not be able to find one, the framework will automatically compile the page into a new class which gets stored in:
\WINDOWS\Microsoft.NET\Framework\v4.0.30128\Temporary ASP.NET files
This means that it only needs to compile the first time (or after any source code files are changed) and then it will return the pre-compiled page to any requesting the page afterwards from that Read more [...]
Leave a Comment
:.net, ASP.NET
more...
To compile or not to compile..
by David on Dec.06, 2011, under Web Programming
A quick brain dump on compiling code for the web:
Recently at work there was discussion on the topic of compiled code vesus un-compiled code when building websites. What should be compiled and what shouldn't be or can't be.
I like the idea of compiling code when developing - it's relatively new to me strangely having a mixed coding background and creative industries background but compiling all of your code behind files into a .dll file and keeping your front end files separate makes perfect Read more [...]
Leave a Comment
:.net, C#, code, compiling, dll
more...

