Skip to content

Instantly share code, notes, and snippets.

@carlhoerberg
Created October 22, 2010 12:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlhoerberg/640479 to your computer and use it in GitHub Desktop.
Save carlhoerberg/640479 to your computer and use it in GitHub Desktop.
Web.config lines to enable dynamic in NHaml views
<configSections>
<section name="nhaml" type="NHaml.Configuration.NHamlConfigurationSection, NHaml"/>
</configSections>
<nhaml templateCompiler="CSharp4" useTabs="true">
<assemblies>
<add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<add assembly="Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</assemblies>
</nhaml>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment