|
1 | 1 | <?xml version="1.0"?> |
2 | 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 | | - |
19 | | - |
20 | 3 | <!-- ServiceStack: Required to host at: /servicestack --> |
21 | 4 | <location path="servicestack"> |
22 | 5 | <system.web> |
|
34 | 17 | </handlers> |
35 | 18 | </system.webServer> |
36 | 19 | </location> |
37 | | - |
38 | | - |
39 | | - <system.web> |
40 | | - <!-- |
41 | | - Set compilation debug="true" to insert debugging |
42 | | - symbols into the compiled page. Because this |
43 | | - affects performance, set this value to true only |
44 | | - during development. |
45 | | - --> |
46 | | - <compilation debug="true"> |
47 | | - <assemblies> |
48 | | - <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> |
49 | | - <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> |
50 | | - <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
51 | | - <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> |
52 | | - </assemblies> |
53 | | - </compilation> |
54 | | - <!-- |
55 | | - The <authentication> section enables configuration |
56 | | - of the security authentication mode used by |
57 | | - ASP.NET to identify an incoming user. |
58 | | - --> |
59 | | - <authentication mode="Windows"/> |
60 | | - <!-- |
61 | | - The <customErrors> section enables configuration |
62 | | - of what to do if/when an unhandled error occurs |
63 | | - during the execution of a request. Specifically, |
64 | | - it enables developers to configure html error pages |
65 | | - to be displayed in place of a error stack trace. |
66 | | -
|
67 | | - <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> |
68 | | - <error statusCode="403" redirect="NoAccess.htm" /> |
69 | | - <error statusCode="404" redirect="FileNotFound.htm" /> |
70 | | - </customErrors> |
71 | | - --> |
72 | | - <pages> |
73 | | - <controls> |
74 | | - <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
75 | | - <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
76 | | - </controls> |
77 | | - </pages> |
78 | | - <httpHandlers> |
79 | | - <remove verb="*" path="*.asmx"/> |
80 | | - <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
81 | | - <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"/> |
82 | | - <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"/> |
83 | | - |
84 | | - <!-- ServiceStack: Required for MONO --> |
85 | | - <add path="servicestack*" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*"/> |
86 | | - </httpHandlers> |
87 | | - <httpModules> |
88 | | - <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
89 | | - </httpModules> |
90 | | - </system.web> |
91 | | - <system.codedom> |
92 | | - <compilers> |
93 | | - <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
94 | | - <providerOption name="CompilerVersion" value="v3.5"/> |
95 | | - <providerOption name="WarnAsError" value="false"/> |
96 | | - </compiler> |
97 | | - </compilers> |
98 | | - </system.codedom> |
99 | 20 | <!-- |
100 | 21 | The system.webServer section is required for running ASP.NET AJAX under Internet |
101 | 22 | Information Services 7.0. It is not necessary for previous version of IIS. |
|
119 | 40 | <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
120 | 41 | </handlers> |
121 | 42 | </system.webServer> |
122 | | - <runtime> |
123 | | - <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v2.0.50727"><dependentAssembly> |
124 | | - <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/> |
125 | | - <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> |
126 | | - </dependentAssembly> |
127 | | - <dependentAssembly> |
128 | | - <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/> |
129 | | - <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> |
130 | | - </dependentAssembly> |
131 | | - </assemblyBinding></runtime> |
132 | | - <system.serviceModel> |
133 | | - <bindings/> |
134 | | - <client/> |
135 | | - </system.serviceModel> |
136 | 43 | </configuration> |
0 commit comments