Update of /cvsroot/springnet/Spring.Net/examples/Spring/Spring.WebQuickStart/src/Spring.WebQuickStart.2005
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv30198/examples/Spring/Spring.WebQuickStart/src/Spring.WebQuickStart.2005
Modified Files:
Web.Config
Log Message:
fix for SPRNET-794
Index: Web.Config
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/examples/Spring/Spring.WebQuickStart/src/Spring.WebQuickStart.2005/Web.Config,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Web.Config 27 Jul 2007 13:52:21 -0000 1.5
--- Web.Config 3 Feb 2008 21:38:27 -0000 1.6
***************
*** 1,32 ****
<?xml version="1.0"?>
<configuration>
!
! <configSections>
! <sectionGroup name="spring">
! <section name="context" type="Spring.Context.Support.WebContextHandler, Spring.Web"/>
! <section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core"/>
! </sectionGroup>
!
! <sectionGroup name="common">
! <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
! </sectionGroup>
!
! </configSections>
!
! <!-- to see logging output in the attached debugger -->
! <common>
! <logging>
! <factoryAdapter type="Common.Logging.Simple.TraceLoggerFactoryAdapter, Common.Logging">
! <arg key="Level" value="ALL" />
! </factoryAdapter>
! </logging>
! </common>
!
<system.web>
<compilation debug="true">
<assemblies>
<add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies></compilation>
! <authentication mode="Windows"/>
!
<!--
The following needs to be configured in order to enable Spring.NET Web Framework features
--- 1,30 ----
<?xml version="1.0"?>
<configuration>
! <configSections>
! <sectionGroup name="spring">
! <section name="context" type="Spring.Context.Support.WebContextHandler, Spring.Web"/>
! <section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core"/>
! </sectionGroup>
! <sectionGroup name="common">
! <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging"/>
! </sectionGroup>
! </configSections>
! <!-- to see logging output in the attached debugger -->
! <common>
! <logging>
! <factoryAdapter type="Common.Logging.Simple.TraceLoggerFactoryAdapter, Common.Logging">
! <arg key="Level" value="ALL"/>
! </factoryAdapter>
! </logging>
! </common>
<system.web>
<compilation debug="true">
<assemblies>
<add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies></compilation>
! <pages>
! <controls>
! <add tagPrefix="spring" namespace="Spring.Web.UI.Controls" assembly="Spring.Web"/>
! </controls>
! </pages>
<!--
The following needs to be configured in order to enable Spring.NET Web Framework features
***************
*** 34,38 ****
<httpModules>
<add name="SpringModule" type="Spring.Context.Support.WebSupportModule, Spring.Web"/>
! <add name="HtmlCommentAppender" type="HtmlCommentAppenderModule"/> <!-- this custom module is only for DI demonstration purposes -->
</httpModules>
<httpHandlers>
--- 32,37 ----
<httpModules>
<add name="SpringModule" type="Spring.Context.Support.WebSupportModule, Spring.Web"/>
! <add name="HtmlCommentAppender" type="HtmlCommentAppenderModule"/>
! <!-- this custom module is only for DI demonstration purposes -->
</httpModules>
<httpHandlers>
***************
*** 40,45 ****
</httpHandlers>
</system.web>
!
! <!-- demonstrates how to configure IHttpModule instances -->
<spring>
<context>
--- 39,43 ----
</httpHandlers>
</system.web>
! <!-- demonstrates how to configure IHttpModule instances -->
<spring>
<context>
***************
*** 47,59 ****
</context>
<objects xmlns="http://www.springframework.net">
-
<!-- configure our custom HttpModule -->
<object name="HttpApplicationConfigurer" type="Spring.Context.Support.HttpApplicationConfigurer, Spring.Web">
<property name="ModuleTemplates">
<dictionary>
! <entry key="HtmlCommentAppender"> <!-- this name must match the module name -->
<object>
<!-- select "view source" in your browser on any page to see the appended html comment -->
! <property name="AppendText" value="My configured comment!" />
</object>
</entry>
--- 45,57 ----
</context>
<objects xmlns="http://www.springframework.net">
<!-- configure our custom HttpModule -->
<object name="HttpApplicationConfigurer" type="Spring.Context.Support.HttpApplicationConfigurer, Spring.Web">
<property name="ModuleTemplates">
<dictionary>
! <entry key="HtmlCommentAppender">
! <!-- this name must match the module name -->
<object>
<!-- select "view source" in your browser on any page to see the appended html comment -->
! <property name="AppendText" value="My configured comment!"/>
</object>
</entry>
***************
*** 61,67 ****
</property>
</object>
-
</objects>
</spring>
-
</configuration>
--- 59,63 ----
|