1
1
<?xml version =" 1.0" ?>
2
2
<configuration >
3
-
4
- <configSections >
5
- <sectionGroup name =" system.web.extensions" type =" System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" >
6
- <sectionGroup name =" scripting" type =" System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" >
7
- <section name =" scriptResourceHandler" type =" System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission =" false" allowDefinition =" MachineToApplication" />
8
- <sectionGroup name =" webServices" type =" System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" >
9
- <section name =" jsonSerialization" type =" System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission =" false" allowDefinition =" Everywhere" />
10
- <section name =" profileService" type =" System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission =" false" allowDefinition =" MachineToApplication" />
11
- <section name =" authenticationService" type =" System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission =" false" allowDefinition =" MachineToApplication" />
12
- <section name =" roleService" type =" System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission =" false" allowDefinition =" MachineToApplication" />
13
- </sectionGroup >
14
- </sectionGroup >
15
- </sectionGroup >
16
- </configSections >
17
-
18
- <appSettings />
19
- <connectionStrings />
20
-
3
+ <appSettings />
4
+ <connectionStrings />
21
5
<system .web>
22
- <compilation debug =" true" >
23
-
24
- <assemblies >
25
- <add assembly =" System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
26
- <add assembly =" System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
27
- <add assembly =" System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
28
- <add assembly =" System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
29
- </assemblies >
30
-
31
- </compilation >
6
+ <compilation debug =" true" targetFramework =" 4.0" />
32
7
<!--
33
8
The <authentication> section enables configuration
34
9
of the security authentication mode used by
35
10
ASP.NET to identify an incoming user.
36
11
-->
37
- <authentication mode =" Windows" />
12
+ <authentication mode =" Windows" />
38
13
<!--
39
14
The <customErrors> section enables configuration
40
15
of what to do if/when an unhandled error occurs
47
22
<error statusCode="404" redirect="FileNotFound.htm" />
48
23
</customErrors>
49
24
-->
50
-
51
- <pages >
52
- <controls >
53
- <add tagPrefix =" asp" namespace =" System.Web.UI" assembly =" System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
54
- <add tagPrefix =" asp" namespace =" System.Web.UI.WebControls" assembly =" System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
55
- </controls >
56
- </pages >
57
-
58
25
<httpHandlers >
59
- <remove verb =" *" path =" *.asmx" />
60
- <add verb =" *" path =" *.asmx" validate =" false" type =" System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
61
- <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" />
62
- <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" />
63
-
64
- <add path =" *" type =" ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb =" *" />
26
+ <add path =" *" type =" ServiceStack.HttpHandlerFactory, ServiceStack" verb =" *" />
65
27
</httpHandlers >
66
- <httpModules >
67
- <add name =" ScriptModule" type =" System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
68
- </httpModules >
69
-
28
+ <pages controlRenderingCompatibilityVersion =" 3.5" clientIDMode =" AutoID" />
70
29
</system .web>
71
-
72
- <system .codedom>
73
- <compilers >
74
- <compiler language =" c#;cs;csharp" extension =" .cs" warningLevel =" 4"
75
- type =" Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
76
- <providerOption name =" CompilerVersion" value =" v3.5" />
77
- <providerOption name =" WarnAsError" value =" false" />
78
- </compiler >
79
- </compilers >
80
- </system .codedom>
81
-
82
30
<!--
83
31
The system.webServer section is required for running ASP.NET AJAX under Internet
84
32
Information Services 7.0. It is not necessary for previous version of IIS.
85
33
-->
86
34
<system .webServer>
87
35
<validation validateIntegratedModeConfiguration =" false" />
88
- <modules >
89
- <remove name =" ScriptModule" />
90
- <add name =" ScriptModule" preCondition =" managedHandler" type =" System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
91
- </modules >
92
36
<handlers >
93
- <remove name =" WebServiceHandlerFactory-Integrated" />
94
- <remove name =" ScriptHandlerFactory" />
95
- <remove name =" ScriptHandlerFactoryAppServices" />
96
- <remove name =" ScriptResource" />
97
- <add name =" ScriptHandlerFactory" verb =" *" path =" *.asmx" preCondition =" integratedMode"
98
- type =" System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
99
- <add name =" ScriptHandlerFactoryAppServices" verb =" *" path =" *_AppService.axd" preCondition =" integratedMode"
100
- type =" System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
101
- <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" />
102
-
103
- <add path =" *" name =" ServiceStack.Factory" type =" ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb =" *" preCondition =" integratedMode" resourceType =" Unspecified" allowPathInfo =" true" />
37
+ <add path =" *" name =" ServiceStack.Factory" type =" ServiceStack.HttpHandlerFactory, ServiceStack" verb =" *" preCondition =" integratedMode" resourceType =" Unspecified" allowPathInfo =" true" />
104
38
</handlers >
105
39
</system .webServer>
106
- <runtime >
107
- <assemblyBinding appliesTo =" v2.0.50727" 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
-
119
- </configuration >
40
+ </configuration >
0 commit comments