Basically you can look at the TinyUrl example. This can easily become a project template and was the initial purpose of the example.
For NHaml, there are additional configuration - that is related directly to NHaml -- for example adding a namespace for templates:
http://code.google.com/p/nhaml/wiki/ConfigurationMy plan is to write a Wiki article about configuration in general.
It is all very lightweight, except for the case when you're using NHaml.