80 lines
2.6 KiB
XML
80 lines
2.6 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<configuration>
|
|
<configSections>
|
|
<!--<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection"/>-->
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
|
|
<section name="vgquotes" type="System.Configuration.NameValueSectionHandler"/>
|
|
</configSections>
|
|
|
|
<vgquotes>
|
|
<add key="luceneIndexDirectory" value="c:\users\tmont\code\VideoGameQuotes\lucene_index"/>
|
|
</vgquotes>
|
|
|
|
<log4net>
|
|
<appender name="DebugAppender" type="log4net.Appender.DebugAppender">
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
<conversionPattern value="[%-5level] %message%newline" />
|
|
</layout>
|
|
</appender>
|
|
|
|
<appender name="TelnetAppender" type="log4net.Appender.TelnetAppender">
|
|
<port value="23" />
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
<conversionPattern value="[%-5level] %message%newline" />
|
|
</layout>
|
|
</appender>
|
|
|
|
<logger name="VideoGameQuotes.Web">
|
|
<level value="ALL"/>
|
|
<appender-ref ref="DebugAppender" />
|
|
<appender-ref ref="TelnetAppender" />
|
|
</logger>
|
|
|
|
<logger name="NHibernate.SQL">
|
|
<level value="ALL"/>
|
|
<appender-ref ref="DebugAppender" />
|
|
<appender-ref ref="TelnetAppender" />
|
|
</logger>
|
|
</log4net>
|
|
|
|
<system.web>
|
|
<!-- disables input validation for requests -->
|
|
<httpRuntime requestValidationMode="2.0"/>
|
|
|
|
<authentication mode="Forms" />
|
|
|
|
<compilation debug="true" targetFramework="4.0">
|
|
<assemblies>
|
|
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
|
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
|
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
|
</assemblies>
|
|
</compilation>
|
|
|
|
<pages>
|
|
<namespaces>
|
|
<add namespace="System.Web.Mvc" />
|
|
<add namespace="System.Web.Mvc.Ajax" />
|
|
<add namespace="System.Web.Mvc.Html" />
|
|
<add namespace="System.Web.Routing" />
|
|
</namespaces>
|
|
</pages>
|
|
</system.web>
|
|
|
|
<system.webServer>
|
|
<validation validateIntegratedModeConfiguration="false"/>
|
|
<modules runAllManagedModulesForAllRequests="true"/>
|
|
</system.webServer>
|
|
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
</configuration>
|
|
|