Last active 1688330780

web.config for Kentico

taterxxwardy revised this gist 1688330780. Go to revision

2 files changed, 2 insertions, 2 deletions

sample-web.config

@@ -1,6 +1,6 @@
1 1 <configuration>
2 2 <configSections>
3 - <!-- Content staging asd BEGIN -->
3 + <!-- Content staging asdasdasd BEGIN -->
4 4 <section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
5 5 <!-- Content staging END -->
6 6 <!-- AjaxControlToolkit BEGIN -->

web.config

@@ -3,7 +3,7 @@
3 3 <configSections>
4 4 <!-- Content staging BEGIN -->
5 5 <section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
6 - <!-- Content staging asd END -->
6 + <!-- Content staging asdasdasdasd END -->
7 7 <!-- AjaxControlToolkit BEGIN -->
8 8 <section name="ajaxControlToolkit" type="AjaxControlToolkit.AjaxControlToolkitConfigSection, AjaxControlToolkit" requirePermission="false" />
9 9 <!-- AjaxControlToolkit END -->

taterxxwardy revised this gist 1688330762. Go to revision

2 files changed, 2 insertions, 2 deletions

sample-web.config

@@ -1,6 +1,6 @@
1 1 <configuration>
2 2 <configSections>
3 - <!-- Content staging BEGIN -->
3 + <!-- Content staging asd BEGIN -->
4 4 <section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
5 5 <!-- Content staging END -->
6 6 <!-- AjaxControlToolkit BEGIN -->

web.config

@@ -3,7 +3,7 @@
3 3 <configSections>
4 4 <!-- Content staging BEGIN -->
5 5 <section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
6 - <!-- Content staging END -->
6 + <!-- Content staging asd END -->
7 7 <!-- AjaxControlToolkit BEGIN -->
8 8 <section name="ajaxControlToolkit" type="AjaxControlToolkit.AjaxControlToolkitConfigSection, AjaxControlToolkit" requirePermission="false" />
9 9 <!-- AjaxControlToolkit END -->

taterxxwardy revised this gist 1688330633. Go to revision

2 files changed, 268 insertions

sample-web.config(file created)

@@ -0,0 +1,25 @@
1 + <configuration>
2 + <configSections>
3 + <!-- Content staging BEGIN -->
4 + <section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
5 + <!-- Content staging END -->
6 + <!-- AjaxControlToolkit BEGIN -->
7 + <section name="ajaxControlToolkit" type="AjaxControlToolkit.AjaxControlToolkitConfigSection, AjaxControlToolkit" requirePermission="false" />
8 + <!-- AjaxControlToolkit END -->
9 + </configSections>
10 + <appSettings>
11 +
12 + <add key="CMSEnableOrderItemEditing" value="true" />
13 +
14 + .
15 +
16 + .
17 +
18 + .
19 +
20 + </appSettings>
21 + <connectionStrings>
22 + <clear />
23 + <add name="CMSConnectionString" connectionString="Data Source=localhost;Initial Catalog=MedioClinic;Integrated Security=True;Persist Security Info=False;Connect Timeout=60;Encrypt=False;Current Language=English;" />
24 + </connectionStrings>
25 + </configuration>

web.config(file created)

@@ -0,0 +1,243 @@
1 + <?xml version="1.0" encoding="utf-8"?>
2 + <configuration>
3 + <configSections>
4 + <!-- Content staging BEGIN -->
5 + <section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
6 + <!-- Content staging END -->
7 + <!-- AjaxControlToolkit BEGIN -->
8 + <section name="ajaxControlToolkit" type="AjaxControlToolkit.AjaxControlToolkitConfigSection, AjaxControlToolkit" requirePermission="false" />
9 + <!-- AjaxControlToolkit END -->
10 + </configSections>
11 + <appSettings>
12 + <add key="CMSProgrammingLanguage" value="C#" />
13 + <add key="WS.webservice" value="http://localhost/WebService/webservice.asmx" />
14 + <add key="CMSTrialKey" value="CX12-20181127-NEjcBx" />
15 + <add key="ChartImageHandler" value="storage=session;timeout=20;" />
16 + <add key="PageInspector:ServerCodeMappingSupport" value="Disabled" />
17 + <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
18 + <add key="CMSApplicationGuid" value="9862b169-8562-413e-a56b-6fe38a2f4615" />
19 + <add key="CMSApplicationName" value="Default Web Site/Kentico12_2" />
20 + <!-- Note: Changing the 'CMSHashStringSalt' value may prevent macros from resolving correctly, and break dialog links and images on your website.
21 + To fix these issues, you need to globally re-sign macros in 'System -> Macros -> Signatures' or manually re-save the affected content. -->
22 + <add key="CMSHashStringSalt" value="04177380-ebe4-43bd-8e3b-fb312187da94" />
23 + </appSettings>
24 + <connectionStrings>
25 + <clear />
26 + <add name="CMSConnectionString" connectionString="Data Source=localhost;Initial Catalog=MedioClinic;Integrated Security=True;Persist Security Info=False;Connect Timeout=60;Encrypt=False;Current Language=English;" />
27 + </connectionStrings>
28 + <system.web>
29 + <pages validateRequest="false" clientIDMode="AutoID">
30 + <controls>
31 + <add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
32 + <add tagPrefix="cms" namespace="CMS.PortalEngine.Web.UI" assembly="CMS.PortalEngine.Web.UI" />
33 + <add tagPrefix="cms" namespace="CMS.DocumentEngine.Web.UI" assembly="CMS.DocumentEngine.Web.UI" />
34 + <add tagPrefix="cms" namespace="CMS.UIControls" assembly="CMS.UIControls" />
35 + <add tagPrefix="cms" namespace="CMS.FormEngine" assembly="CMS.FormEngine" />
36 + <add tagPrefix="cms" namespace="CMS.FormEngine.Web.UI" assembly="CMS.FormEngine.Web.UI" />
37 + <add tagPrefix="cms" namespace="CMS.OnlineForms.Web.UI" assembly="CMS.OnlineForms.Web.UI" />
38 + <add tagPrefix="cms" namespace="CMS.Base.Web.UI" assembly="CMS.Base.Web.UI" />
39 + <add tagPrefix="cms" namespace="CMS.TranslationServices.Web.UI" assembly="CMS.TranslationServices.Web.UI" />
40 + <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
41 + <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
42 + </controls>
43 + <namespaces>
44 + <add namespace="CMS.Helpers" />
45 + <add namespace="CMS.Base.Web.UI" />
46 + </namespaces>
47 + </pages>
48 + <customErrors mode="RemoteOnly">
49 + <error statusCode="500" redirect="~/CMSMessages/Error.aspx" />
50 + </customErrors>
51 + <authentication mode="Forms">
52 + <forms loginUrl="CMSPages/logon.aspx" defaultUrl="Default.aspx" name=".ASPXFORMSAUTH" timeout="60000" slidingExpiration="true" />
53 + </authentication>
54 + <httpRuntime maxRequestLength="2097151" waitChangeNotification="1" maxWaitChangeNotification="3600" requestValidationMode="2.0" maxUrlLength="1000" targetFramework="4.6.1" />
55 + <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-US" uiCulture="en-US" />
56 + <membership defaultProvider="CMSProvider" userIsOnlineTimeWindow="30">
57 + <providers>
58 + <clear />
59 + <add name="CMSProvider" type="CMS.MembershipProvider.CMSMembershipProvider" connectionStringName="CMSConnectionString" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" passwordFormat="Hashed" />
60 + </providers>
61 + </membership>
62 + <roleManager defaultProvider="CMSRoleProvider" enabled="true" cacheRolesInCookie="true" cookieName=".ASPROLES" cookieTimeout="30" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="All">
63 + <providers>
64 + <clear />
65 + <add name="CMSRoleProvider" type="CMS.MembershipProvider.CMSRoleProvider" connectionStringName="CMSConnectionString" applicationName="SampleApplication" writeExceptionsToEventLog="false" />
66 + </providers>
67 + </roleManager>
68 + <xhtmlConformance mode="Strict" />
69 + <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />
70 + <compilation debug="false" numRecompilesBeforeAppRestart="100" targetFramework="4.6.1">
71 + <assemblies>
72 + <add assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
73 + <add assembly="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
74 + <add assembly="System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
75 + <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
76 + <add assembly="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
77 + <add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
78 + <add assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
79 + <add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
80 + <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35" />
81 + <add assembly="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
82 + <add assembly="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
83 + <add assembly="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
84 + <add assembly="WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
85 + <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
86 + <add assembly="System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
87 + </assemblies>
88 + </compilation>
89 + <httpCookies httpOnlyCookies="true" />
90 + </system.web>
91 + <!-- Windows authentication BEGIN -->
92 + <!--
93 + <location path="">
94 + <system.web>
95 + <authorization>
96 + <deny users="?"/>
97 + </authorization>
98 + </system.web>
99 + </location>
100 + -->
101 + <!-- Windows authentication END -->
102 + <location path="cms">
103 + <system.web>
104 + <authorization>
105 + <deny users="?" />
106 + </authorization>
107 + </system.web>
108 + </location>
109 + <!-- WebDAV location BEGIN -->
110 + <location path="cms/files">
111 + <system.web>
112 + <httpRuntime executionTimeout="2400" maxRequestLength="2097151" />
113 + </system.web>
114 + <system.webServer>
115 + <handlers>
116 + <clear />
117 + <add name="CMSWebDAVHandler" path="*" verb="*" type="CMS.WebDAV.WebDAVHandler, CMS.WebDAV" />
118 + </handlers>
119 + <security>
120 + <requestFiltering>
121 + <requestLimits maxAllowedContentLength="2147483648" />
122 + </requestFiltering>
123 + </security>
124 + </system.webServer>
125 + </location>
126 + <!-- WebDAV location END -->
127 + <!-- Content staging BEGIN -->
128 + <microsoft.web.services3>
129 + <security>
130 + <securityTokenManager>
131 + <add type="CMS.Synchronization.WSE3.WebServiceAuthorization" namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" localName="UsernameToken" />
132 + </securityTokenManager>
133 + <x509 allowTestRoot="true" verifyTrust="true" />
134 + </security>
135 + <policy fileName="wse3policy.config" />
136 + <diagnostics>
137 + <trace enabled="false" input="InputTrace.webinfo" output="OutputTrace.webinfo" />
138 + </diagnostics>
139 + </microsoft.web.services3>
140 + <!-- Content staging END -->
141 + <!-- AjaxControlToolkit BEGIN -->
142 + <ajaxControlToolkit renderStyleLinks="false" />
143 + <!-- AjaxControlToolkit END -->
144 + <system.webServer>
145 + <modules>
146 + <remove name="WebDAVModule" />
147 + <remove name="XHtmlModule" />
148 + <remove name="CMSApplicationModule" />
149 + <add name="XHtmlModule" type="CMS.OutputFilter.OutputFilterModule, CMS.OutputFilter" />
150 + <add name="CMSApplicationModule" preCondition="managedHandler" type="CMS.Base.ApplicationModule, CMS.Base" />
151 + </modules>
152 + <handlers>
153 + <remove name="WebDAV" />
154 + <remove name="CMSGetAttachment" />
155 + <remove name="CMSGetMedia" />
156 + <remove name="CMSGetMetafile" />
157 + <remove name="CMSGetFile" />
158 + <remove name="CMSGetAvatar" />
159 + <remove name="ChartImageHandler" />
160 + <add name="CMSGetAttachment" path="getattachment/*/*" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
161 + <add name="CMSGetMedia" path="getmedia/*/*" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
162 + <add name="CMSGetMetafile" path="getmetafile/*/*" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
163 + <add name="CMSGetFile" path="getfile/*/*" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
164 + <add name="CMSGetAvatar" path="getavatar/*/*" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
165 + <add name="ChartImageHandler" preCondition="integratedMode" verb="*" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
166 + </handlers>
167 + <staticContent>
168 + <remove fileExtension=".woff" />
169 + <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
170 + <remove fileExtension=".svg" />
171 + <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
172 + <remove fileExtension=".nupkg" />
173 + <mimeMap fileExtension=".nupkg" mimeType="application/zip, application/octet-stream" />
174 + <remove fileExtension=".webm" />
175 + <mimeMap fileExtension=".webm" mimeType="video/webm" />
176 + <remove fileExtension=".mp4" />
177 + <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
178 + </staticContent>
179 + <security>
180 + <requestFiltering>
181 + <!-- Disable direct access to these files which are used only internally by CMS application -->
182 + <denyUrlSequences>
183 + <add sequence="/CMSTemplates" />
184 + <add sequence="/CMSPages/PortalTemplate.aspx" />
185 + </denyUrlSequences>
186 + </requestFiltering>
187 + </security>
188 + </system.webServer>
189 + <system.serviceModel>
190 + <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
191 + <bindings>
192 + <basicHttpBinding>
193 + <!-- SalesForce BEGIN -->
194 + <binding name="SalesForceBinding" transferMode="Buffered" maxReceivedMessageSize="131072">
195 + <security mode="Transport">
196 + <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
197 + <message clientCredentialType="UserName" algorithmSuite="Default" />
198 + </security>
199 + </binding>
200 + <!-- SalesForce END -->
201 + </basicHttpBinding>
202 + </bindings>
203 + <client>
204 + <!-- SalesForce BEGIN -->
205 + <endpoint address="https://login.salesforce.com/services/Soap/u/23.0" binding="basicHttpBinding" bindingConfiguration="SalesForceBinding" contract="WebServiceClient.Soap" name="SalesForceClient" />
206 + <!-- SalesForce END -->
207 + </client>
208 + </system.serviceModel>
209 + <runtime>
210 + <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
211 + <dependentAssembly>
212 + <assemblyIdentity name="Microsoft.Rest.ClientRuntime" publicKeyToken="31bf3856ad364e35" culture="neutral" />
213 + <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
214 + </dependentAssembly>
215 + <dependentAssembly>
216 + <assemblyIdentity name="Microsoft.Rest.ClientRuntime.Azure" publicKeyToken="31bf3856ad364e35" culture="neutral" />
217 + <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
218 + </dependentAssembly>
219 + <dependentAssembly>
220 + <assemblyIdentity name="Microsoft.Spatial" publicKeyToken="31bf3856ad364e35" culture="neutral" />
221 + <bindingRedirect oldVersion="0.0.0.0-7.2.0.0" newVersion="7.2.0.0" />
222 + </dependentAssembly>
223 + <dependentAssembly>
224 + <assemblyIdentity name="Microsoft.Azure.Search" publicKeyToken="31bf3856ad364e35" culture="neutral" />
225 + <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
226 + </dependentAssembly>
227 + <dependentAssembly>
228 + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
229 + <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
230 + </dependentAssembly>
231 + <dependentAssembly>
232 + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" />
233 + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" />
234 + </dependentAssembly>
235 + </assemblyBinding>
236 + </runtime>
237 + <system.codedom>
238 + <compilers>
239 + <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
240 + <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
241 + </compilers>
242 + </system.codedom>
243 + </configuration>
Newer Older