Skip to content

Instantly share code, notes, and snippets.

@afternoon
Created June 8, 2010 11:03
Show Gist options
  • Save afternoon/429870 to your computer and use it in GitHub Desktop.
Save afternoon/429870 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<configuration>
<system.diagnostics>
<switches>
<add name="ShowErrors" value="4"/>
</switches>
<!-- log to debug output -->
<sources>
<source name="OpenRasta" switchValue="All">
<listeners>
<add name="TextWriterListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="Logs\OpenRasta.txt"/>
</listeners>
</source>
</sources>
</system.diagnostics>
<system.web>
<compilation debug="true" targetFramework="4.0"/>
<authentication mode="None"/>
<!-- required for WebForms views -->
<pages pageParserFilterType="OpenRasta.Codecs.WebForms.OpenRastaPageParserFilter, OpenRasta.Codecs.WebForms, Version=2.0.1.0, Culture=neutral" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
<namespaces>
<add namespace="OpenRasta.Web"/>
<add namespace="OpenRasta.Web.Markup"/>
<add namespace="OpenRasta.Codecs.WebForms"/>
<add namespace="OpenRasta"/>
<add namespace="System.Collections.Generic"/>
</namespaces>
</pages>
<!-- hook into OpenRasta -->
<httpHandlers>
<add verb="*" path="*.rastahook" type="OpenRasta.Hosting.AspNet.OpenRastaHandler, OpenRasta.Hosting.AspNet, Version=2.0.1.0, Culture=neutral"/>
</httpHandlers>
<httpModules>
<add name="RastaModule" type="OpenRasta.Hosting.AspNet.OpenRastaModule, OpenRasta.Hosting.AspNet, Version=2.0.1.0, Culture=neutral"/>
</httpModules>
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" compilerOptions="/warnaserror-">
<providerOption name="CompilerVersion" value="v4.0"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<!-- iis7 config -->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<!-- hook into OpenRasta -->
<modules>
<add name="OpenRastaModule" type="OpenRasta.Hosting.AspNet.OpenRastaModule, OpenRasta.Hosting.AspNet"/>
</modules>
<handlers>
<add name="OpenRastaHandler" verb="*" path="*.rastahook" type="OpenRasta.Hosting.AspNet.OpenRastaHandler, OpenRasta.Hosting.AspNet, Version=2.0.1.0, Culture=neutral"/>
</handlers>
</system.webServer>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment