root/branches/2.0.3000/src/demo/OpenRasta.Demo/Web.config

Revision 302, 7.6 KB (checked in by serialseb, 15 months ago)

fixing uri generation and demo project

Line 
1<?xml version="1.0"?>
2<configuration>
3  <configSections>
4    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
5      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
6        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
7        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
8          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
9          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
10          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
11          <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
12        </sectionGroup>
13      </sectionGroup>
14    </sectionGroup>
15  </configSections>
16  <appSettings/>
17  <connectionStrings/>
18  <system.diagnostics>
19    <switches>
20      <add name="ShowErrors" value="4" />
21    </switches>
22  </system.diagnostics>
23  <system.web>
24    <!--
25            Set compilation debug="true" to insert debugging
26            symbols into the compiled page. Because this
27            affects performance, set this value to true only
28            during development.
29        -->
30    <compilation debug="true">
31      <assemblies>
32        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
33        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
34        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
35        <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
36      </assemblies>
37    </compilation>
38    <!--
39            The <authentication> section enables configuration
40            of the security authentication mode used by
41            ASP.NET to identify an incoming user.
42        -->
43    <authentication mode="None"/>
44    <!--
45            The <customErrors> section enables configuration
46            of what to do if/when an unhandled error occurs
47            during the execution of a request. Specifically,
48            it enables developers to configure html error pages
49            to be displayed in place of a error stack trace.
50
51        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
52            <error statusCode="403" redirect="NoAccess.htm" />
53            <error statusCode="404" redirect="FileNotFound.htm" />
54        </customErrors>
55        -->
56    <pages pageParserFilterType="OpenRasta.Codecs.WebForms.OpenRastaPageParserFilter, OpenRasta.Codecs.WebForms, Version=2.0.1.0, Culture=neutral">
57      <namespaces>
58        <add namespace="OpenRasta.Web"/>
59        <add namespace="OpenRasta.Web.Markup"/>
60        <add namespace="OpenRasta.Codecs.WebForms"/>
61        <add namespace="OpenRasta.Codecs.SharpView" />
62        <add namespace="OpenRasta" />
63        <add namespace="OpenRasta.Demo.Handlers"/>
64        <add namespace="OpenRasta.Demo.Resources"/>
65        <add namespace="System.Collections.Generic" />
66      </namespaces>
67      <controls>
68        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
69        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
70      </controls>
71    </pages>
72    <httpHandlers>
73      <add verb="*" path="*.rastahook" type="OpenRasta.Hosting.AspNet.OpenRastaHandler, OpenRasta.Hosting.AspNet, Version=2.0.1.0, Culture=neutral"/>
74      <remove verb="*" path="*.asmx"/>
75      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
76      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
77      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
78    </httpHandlers>
79    <httpModules>
80      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
81      <add name="RastaModule" type="OpenRasta.Hosting.AspNet.OpenRastaModule, OpenRasta.Hosting.AspNet, Version=2.0.1.0, Culture=neutral"/>
82      <add name="PerRequestLifestyle" type="Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule, Castle.MicroKernel" />
83    </httpModules>
84  </system.web>
85  <system.codedom>
86    <compilers>
87      <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="OpenRasta.CodeDom.Compiler.ExtensibleCSharpCodeProvider, OpenRasta" compilerOptions="/warnaserror-">
88        <providerOption name="CompilerVersion" value="v3.5"/>
89        <providerOption name="WarnAsError" value="false"/>
90      </compiler>
91    </compilers>
92  </system.codedom>
93  <!--
94        The system.webServer section is required for running ASP.NET AJAX under Internet
95        Information Services 7.0.  It is not necessary for previous version of IIS.
96    -->
97  <system.webServer>
98    <validation validateIntegratedModeConfiguration="false"/>
99    <modules>
100      <add name="OpenRastaModule" type="OpenRasta.Hosting.AspNet.OpenRastaModule, OpenRasta.Hosting.AspNet"/>
101    </modules>
102    <handlers>
103      <add name="OpenRastaHandler" verb="*" path="*.rastahook" type="OpenRasta.Hosting.AspNet.OpenRastaHandler, OpenRasta.Hosting.AspNet, Version=2.0.1.0, Culture=neutral" />
104    </handlers>
105  </system.webServer>
106  <runtime>
107    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
108      <dependentAssembly>
109        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
110        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
111      </dependentAssembly>
112      <dependentAssembly>
113        <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
114        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
115      </dependentAssembly>
116    </assemblyBinding>
117  </runtime>
118</configuration>
Note: See TracBrowser for help on using the browser.