Git Repository Public Repository

CPE_learningsite

URLs

Copy to Clipboard

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 4cd176 ... vs d90493 ... for /CPE/CPE.App/CPE.App.Api/Web.config

Diff revisions: vs.
  @@ -1,47 +1,39 @@
1 - <?xml version="1.0" encoding="utf-8"?>
1 + <?xml version="1.0" encoding="utf-8"?>
2 2 <!--
3 3 For more information on how to configure your ASP.NET application, please visit
4 4 http://go.microsoft.com/fwlink/?LinkId=301879
5 5 -->
6 6 <configuration>
7 7 <configSections>
8 -
8 + <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
9 9 <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
10 - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --><sectionGroup name="elmah">
11 - <section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" />
12 - <section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" />
13 - <section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" />
14 - <section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
15 - </sectionGroup></configSections>
10 + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections>
16 11 <connectionStrings>
17 - <!--<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\aspnet-CPE.App.Api-20151016073126.mdf;Initial Catalog=aspnet-CPE.App.Api-20151016073126;Integrated Security=True" providerName="System.Data.SqlClient" />-->
18 - <!--<add name="CPE.DATA" connectionString="Data Source=cpeonlinewebcasts.com;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=webcpe_reporting;Password=Pa$$w0rd" providerName="System.Data.SqlClient" />-->
19 - <!--<add name="CPE.DATA" connectionString="Data Source=DESKTOP-6Q8LB2M\SQL2014;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=sa;Password=intesolver" providerName="System.Data.SqlClient"/>
20 - <add name="CPE.DATA.Local" connectionString="Data Source=DESKTOP-6Q8LB2M\SQL2014;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=sa;Password=intesolver" providerName="System.Data.SqlClient"/>-->
21 - <add name="CPE.DATA" connectionString="Data Source=localhost;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=sa;Password=intesolver" providerName="System.Data.SqlClient" />
22 - <add name="CPE.DATA.Local" connectionString="Data Source=localhost;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=sa;Password=intesolver" providerName="System.Data.SqlClient" />
12 + <add name="DefaultConnection" connectionString="Data Source=(LocalDb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\aspnet-CPE.App.Api-20151016073126.mdf;Initial Catalog=aspnet-CPE.App.Api-20151016073126;Integrated Security=True" providerName="System.Data.SqlClient" />
13 + <add name="CPE.DATA" connectionString="Data Source=DESKTOP-Q4S6BS5;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=sa;Password=1" providerName="System.Data.SqlClient" />
14 + <add name="CPE.DATA.Local" connectionString="Data Source=DESKTOP-Q4S6BS5;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=sa;Password=1" providerName="System.Data.SqlClient"/>
15 + <!--<add name="CPE.DATA" connectionString="Data Source=localhost;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=webcpe_reporting;Password=Pa$$w0rd" providerName="System.Data.SqlClient" />-->
16 + <!--<add name="CPE.DATA.Local" connectionString="Data Source=localhost;Initial Catalog=webcpe_reporting;Persist Security Info=True;User ID=webcpe_reporting;Password=Pa$$w0rd" providerName="System.Data.SqlClient" />-->
17 +
23 18
24 19 </connectionStrings>
20 + <log4net configSource="log4net.config" />
25 21 <appSettings>
26 - <add key="LrsEndpoint" value="http://api.cpeonlinewebcasts.com/api/statements" />
27 - <add key="LrsEndpointUsername" value="admin" />
28 - <add key="LrsEndpointPassword" value="password" />
29 - <add key="EmailSender" value="csreg@cpeincmail.com" />
30 - <add key="EmailReceiver" value="sswebcast@cpeincmail.com" />
31 - <add key="EmailSubject" value="Self-Study Webcast Certificate of Completion" />
32 - <add key="RouteDebugger:Enabled" value="true" />
33 - <!-- <add key="Elucidat.PublicKey" value="FE966693-65D7-0AE0-2CC6-E576109A0BF5" /> CPE's public key-->
34 - <add key="Elucidat.PublicKey" value="1558A022-336C-6922-4B1F-AD3505839D5A" />
35 - <add key="Elucidat.SecretKey" value="A393E5ED-C79F-4EB7-7DAE-9CB6C090B9E8" />
36 - <!--<add key="Elucidat.Secretkey" value="9CB149B8-F419-36FB-CCD3-D45864BC7B1E" /> secret key for CPE-->
37 - <add key="Elucidat.BaseUrl" value="https://api.elucidat.com/v2/" />
38 - <add key="elmah.mvc.disableHandler" value="false" /><add key="elmah.mvc.disableHandleErrorFilter" value="false" />
39 - <add key="elmah.mvc.requiresAuthentication" value="false" />
40 - <add key="elmah.mvc.IgnoreDefaultRoute" value="false" />
41 - <add key="elmah.mvc.allowedRoles" value="*" />
42 - <add key="elmah.mvc.allowedUsers" value="*" />
43 - <add key="elmah.mvc.route" value="elmah" />
44 - <add key="elmah.mvc.UserAuthCaseSensitive" value="true" />
22 + <add key="LrsEndpoint" value="http://api.cpeonlinewebcasts.com/api/statements"/>
23 + <add key="LrsEndpointUsername" value="admin"/>
24 + <add key="LrsEndpointPassword" value="password"/>
25 + <add key="EmailSender" value="csreg@cpeincmail.com"/>
26 + <add key="EmailReceiver" value="sswebcast@cpeincmail.com"/>
27 + <add key="EmailSubject" value="Your certificate of completion from CPE Inc." />
28 + <add key="MS_WebHookReceiverSecret_GitHub" value="c54c44faafdf9584547f8209a8033ee47994f9a1" />
29 + <add key="MS_WebHookReceiverSecret_Elucidat" value="FE966693-65D7-0AE0-2CC6-E576109A0BF5" />
30 + <add key="MS_WebHookReceiverSecret_GenericJson" value="12345678901234567890123456789012" />
31 + <add key="RouteDebugger:Enabled" value="false" />
32 + <add key="Elucidat.PublicKey" value="FE966693-65D7-0AE0-2CC6-E576109A0BF5" />
33 + <add key="Elucidat.Secretkey" value="9CB149B8-F419-36FB-CCD3-D45864BC7B1E" />
34 + <add key="Elucidat.BaseUrl" value="https://api.elucidat.com/v2/"/>
35 +
36 + <add key="CertLink" value="http://api.cpeonlinewebcasts.com/Certificate?a={0}&amp;b={1}&amp;c={2}"/>
45 37 </appSettings>
46 38 <!--
47 39 For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
  @@ -52,30 +44,24 @@
52 44 </system.Web>
53 45 -->
54 46 <system.web>
55 -
56 - <customErrors mode="On" redirectMode="ResponseRedirect" >
57 -
58 - </customErrors>
59 47 <authentication mode="None" />
60 48 <compilation debug="true" targetFramework="4.5" />
61 49 <httpRuntime />
62 50 <pages controlRenderingCompatibilityVersion="4.0" />
63 - <httpModules>
64 - <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
65 - <add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
66 - <add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
67 - </httpModules></system.web>
51 + </system.web>
68 52 <system.webServer>
53 + <httpErrors errorMode="Detailed" existingResponse="PassThrough"></httpErrors>
69 54 <modules>
70 55 <remove name="FormsAuthentication" />
71 - <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler" /><add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" preCondition="managedHandler" /><add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" preCondition="managedHandler" /></modules>
56 + </modules>
72 57
73 58 <handlers>
74 59 <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
75 60 <remove name="OPTIONSVerbHandler" />
76 61 <remove name="TRACEVerbHandler" />
77 62 <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
78 - </handlers><validation validateIntegratedModeConfiguration="false" /></system.webServer>
63 + </handlers>
64 + <directoryBrowse enabled="false" /></system.webServer>
79 65 <runtime>
80 66 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
81 67 <dependentAssembly>
  @@ -152,5 +138,4 @@
152 138 <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
153 139 </compilers>
154 140 </system.codedom>
155 - <elmah>
156 - </elmah></configuration>
141 + </configuration>