Email Aaron Blake now at webmaster@aaronblake.co.uk
or contact me

Category Archives: ASP.net

Duplicate Namespace Problem

Today I cam across an annoying Namespace issue, which I spent ages trying to solve.
If you have a namespace which has the same name as another namespace but at a different level, .net won’t know which namespace to use, and will through an error.
This is also true for classes as well.
Example:

namespace Zone.Section
{
[...]

Cuyahoga – How to publish from source.

Introduction
Publishing a Cuyahoga site from the source code using visual studio will not work using the in built publishing tools alone. You need to take a few additional steps.
Please note I used Visual Studio 2008 to create this tutorial. The steps may differ slightly in different versions.
1. Rebuild solution
Rebuild the entire solution to make sure [...]

Cuyahoga: How to change the admin template

Introduction
It didn’t seem obvious to me at first how to change the appearance of the Cuyahoga admin template, so I thought I’d create a simple guide to point you in the right direction.
Web Config
The web config within the admin folder of your Cuyahoga site is where you can find the template settings.
/Admin/Web.config

<appSettings> <add key="TemplateDir" value="~/Admin/Controls/" [...]

Email me through this magic form.