Skip to content

Commit 680c339

Browse files
committed
Restored webconfig file
1 parent 6deb06c commit 680c339

File tree

1 file changed

+23
-40
lines changed

1 file changed

+23
-40
lines changed

eFormAPI/eFormAPI/Web.config

Lines changed: 23 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
32
<!--
43
For more information on how to configure your ASP.NET application, please visit
54
https://go.microsoft.com/fwlink/?LinkId=301879
65
-->
76
<configuration>
87
<configSections>
9-
<section name="entityFramework"
10-
type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
11-
requirePermission="false" />
8+
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
129
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
1310
</configSections>
1411
<connectionStrings>
15-
<add name="eFormMainConnection" connectionString="Data Source=.\SQLEXPRESS01;Initial Catalog=eFormMain;Integrated Security=True"
16-
providerName="System.Data.SqlClient" />
12+
<add name="eFormMainConnection" connectionString="" providerName="System.Data.SqlClient" />
1713
</connectionStrings>
1814
<appSettings>
1915
<add key="webpages:Version" value="3.0.0.0" />
@@ -24,12 +20,12 @@
2420
<add key="email:smtpPort" value="" />
2521
<add key="email:login" value="" />
2622
<add key="email:password" value="" />
27-
<add key="loginPage:mainText" value="Sample login page main text" />
28-
<add key="loginPage:mainTextVisible" value="False" />
29-
<add key="loginPage:secondaryText" value="Sample login page secondary text" />
30-
<add key="loginPage:secondaryTextVisible" value="False" />
23+
<add key="loginPage:mainText" value="Microting eForm" />
24+
<add key="loginPage:mainTextVisible" value="True" />
25+
<add key="loginPage:secondaryText" value="No more paper-forms and back-office data entry" />
26+
<add key="loginPage:secondaryTextVisible" value="True" />
3127
<add key="loginPage:imageLink" value="" />
32-
<add key="loginPage:imageLinkVisible" value="False" />
28+
<add key="loginPage:imageLinkVisible" value="True" />
3329
<add key="header:mainText" value="Microting eForm" />
3430
<add key="header:mainTextVisible" value="True" />
3531
<add key="header:secondaryText" value="No more paper-forms and back-office data entry" />
@@ -41,13 +37,12 @@
4137
<add key="auth:isTwoFactorForced" value="False" />
4238
</appSettings>
4339
<!--
44-
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
45-
46-
The following attributes can be set on the <httpRuntime> tag.
47-
<system.Web>
48-
<httpRuntime targetFramework="4.6.1" />
49-
</system.Web>
50-
-->
40+
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
41+
The following attributes can be set on the <httpRuntime> tag.
42+
<system.Web>
43+
<httpRuntime targetFramework="4.6.1" />
44+
</system.Web>
45+
-->
5146
<system.web>
5247
<compilation debug="true" targetFramework="4.6.1" />
5348
<httpRuntime targetFramework="4.6" />
@@ -58,14 +53,10 @@
5853
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
5954
<remove name="OPTIONSVerbHandler" />
6055
<remove name="TRACEVerbHandler" />
61-
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*"
62-
type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
63-
<add name="get-image-png" path="*.png" verb="GET" type="System.Web.Handlers.TransferRequestHandler"
64-
preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="0" />
65-
<add name="get-image-jpg" path="*.jpg" verb="GET" type="System.Web.Handlers.TransferRequestHandler"
66-
preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="0" />
67-
<add name="get-image-jpeg" path="*.jpeg" verb="GET" type="System.Web.Handlers.TransferRequestHandler"
68-
preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="0" />
56+
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
57+
<add name="get-image-png" path="*.png" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="0" />
58+
<add name="get-image-jpg" path="*.jpg" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="0" />
59+
<add name="get-image-jpeg" path="*.jpeg" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="0" />
6960
</handlers>
7061
<validation validateIntegratedModeConfiguration="false" />
7162
<modules />
@@ -121,30 +112,24 @@
121112
<bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
122113
</dependentAssembly>
123114
<dependentAssembly>
124-
<assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35"
125-
culture="neutral" />
115+
<assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" culture="neutral" />
126116
<bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
127117
</dependentAssembly>
128118
<dependentAssembly>
129-
<assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35"
130-
culture="neutral" />
119+
<assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" culture="neutral" />
131120
<bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
132121
</dependentAssembly>
133122
<dependentAssembly>
134-
<assemblyIdentity name="Microsoft.IdentityModel.Logging" publicKeyToken="31bf3856ad364e35"
135-
culture="neutral" />
123+
<assemblyIdentity name="Microsoft.IdentityModel.Logging" publicKeyToken="31bf3856ad364e35" culture="neutral" />
136124
<bindingRedirect oldVersion="0.0.0.0-5.2.1.0" newVersion="5.2.1.0" />
137125
</dependentAssembly>
138126
</assemblyBinding>
139127
</runtime>
140128
<entityFramework>
141129
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
142130
<providers>
143-
<provider invariantName="MySql.Data.MySqlClient"
144-
type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6, Version=6.9.11.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d">
145-
</provider>
146-
<provider invariantName="System.Data.SqlClient"
147-
type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
131+
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6, Version=6.9.11.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"></provider>
132+
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
148133
</providers>
149134
</entityFramework>
150135
<system.codedom>
@@ -153,9 +138,7 @@
153138
<system.data>
154139
<DbProviderFactories>
155140
<remove invariant="MySql.Data.MySqlClient" />
156-
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient"
157-
description=".Net Framework Data Provider for MySQL"
158-
type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.11.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
141+
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.11.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
159142
</DbProviderFactories>
160143
</system.data>
161144
</configuration>

0 commit comments

Comments
 (0)