forked from extnet/Ext.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWeb.config
More file actions
108 lines (103 loc) · 4.92 KB
/
Web.config
File metadata and controls
108 lines (103 loc) · 4.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="extnet" type="Ext.Net.GlobalConfig" requirePermission="false" />
</configSections>
<!--<extnet theme="Gray" renderScripts="CDN" renderStyles="CDN" initScriptMode="Linked" />-->
<extnet scriptMode="Debug" theme="Gray" />
<appSettings>
<add key="ShowHiddenExamples" value="False" />
<add key="LocalLogging" value="True" />
<add key="GoogleAnalytics" value="False" />
</appSettings>
<!--
Possible Exception thrown if using local SQLEXPRESS connection strings on a production install of IIS.
Exception Message:
Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path.
Please make sure the user has a local user profile on the computer. The connection will be closed.
More Info:
http://support.microsoft.com/kb/2002980
Solution:
Add databases to SQL Server and update connection strings.
-->
<connectionStrings>
<add name="NorthwindConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Northwind.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />
<add name="SimpleTasksConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\SimpleTasks.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />
</connectionStrings>
<system.web>
<!-- DO NOT change this trust level. Application MUST run in "Medium" trust. -->
<!-- Full trust is required for the FeedViewer example because of outbound HTTP requests to fetch RSS feeds -->
<trust level="Full" />
<webServices>
<protocols>
<add name="HttpGet" />
<add name="HttpPost" />
</protocols>
</webServices>
<customErrors mode="Off">
<error statusCode="404" redirect="~/404.aspx" />
</customErrors>
<compilation targetFramework="4.0" debug="true">
<assemblies>
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
</assemblies>
</compilation>
<authentication mode="Windows" />
<authorization>
<allow users="*" verbs="GET,POST,PUT,DELETE" />
</authorization>
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
<controls>
<add tagPrefix="src" src="~/HighLighter/HighLighterButton.ascx" tagName="SourceButton" />
<add assembly="Ext.Net" namespace="Ext.Net" tagPrefix="ext" />
</controls>
</pages>
<httpModules>
<add name="AnalyticsModule" type="Ext.Net.Examples.AnalyticsModule, Ext.Net.Examples" />
<add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net" />
</httpModules>
<httpHandlers>
<add path="*/ext.axd" verb="*" type="Ext.Net.ResourceHandler" validate="false" />
</httpHandlers>
</system.web>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.webServer>
<staticContent>
<mimeMap fileExtension=".json" mimeType="application/json" />
<mimeMap fileExtension=".woff" mimeType="application/x-woff" />
</staticContent>
<modules>
<add name="AnalyticsModule" preCondition="managedHandler" type="Ext.Net.Examples.AnalyticsModule, Ext.Net.Examples" />
<add name="DirectRequestModule" preCondition="managedHandler" type="Ext.Net.DirectRequestModule, Ext.Net" />
</modules>
<security>
<authorization>
<remove users="*" roles="" verbs="" />
<add accessType="Allow" users="*" verbs="GET,POST,PUT,DELETE" />
</authorization>
</security>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="DirectRequestHandler" verb="*" path="*/ext.axd" preCondition="integratedMode" type="Ext.Net.ResourceHandler" />
</handlers>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="1.0.0.0-4.5.9" newVersion="4.5.10" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Ext.Net.Utilities" publicKeyToken="2c34ac34702a3c23" />
<bindingRedirect oldVersion="0.0.0.0-2.0.1" newVersion="2.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Transformer.NET" publicKeyToken="e274d618e7c603a7" />
<bindingRedirect oldVersion="0.0.0.0-2.0.0" newVersion="2.1.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>