Browse Source

忽略webconfig

ST Wu 1 week ago
parent
commit
ca16041e1d

+ 0 - 109
src/Befri.Goldhoo/Befri.Goldhoo.Mobile.MvcUI/Web.config

@@ -1,109 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-  有关如何配置 ASP.NET 应用程序的详细信息,请访问
-  http://go.microsoft.com/fwlink/?LinkId=301880
-  -->
-<configuration>
-  <configSections>
-    <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />
-    <section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling" />
-    
-    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
-  <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections>
-  <dataConfiguration defaultDatabase="Test_Goldhoo" />
-  <connectionStrings>
-    <add name="befri_Goldhoo" connectionString="data source=106.15.35.130;packet size=4096;user id=sa;Password=jinhu2016!;persist security info=False;initial catalog=befri_Goldhoo;" providerName="System.Data.SqlClient" />
-    <add name="befri_Goldhoo2021" connectionString="data source=106.15.35.130;packet size=4096;user id=sa;Password=jinhu2016!;persist security info=False;initial catalog=befri_Goldhoo2021;" providerName="System.Data.SqlClient" />
-	<add name="Test_Goldhoo" connectionString="data source=171.220.242.38;packet size=4096;user id=sa;Password=5tgb*UHB;persist security info=False;initial catalog=befri_Goldhoo;" providerName="System.Data.SqlClient" />
-    <add name="localhost" connectionString="data source=localhost;packet size=4096;user id=sa;Password=123456;persist security info=False;initial catalog=befri_Goldhoo;" providerName="System.Data.SqlClient" />
-  </connectionStrings>
-  <exceptionHandling>
-    <exceptionPolicies>
-      <add name="defaultPolicy">
-        <exceptionTypes>
-          <!--<add type="Artech.VM.Models.InvalidUserNameException, Artech.VM" postHandlingAction="ThrowNewException" name="InvalidUserNameException">
-            <exceptionHandlers>
-              <add name="ErrorMessageHandler" type="Artech.Mvc.Extensions.ErrorMessageHandler, Artech.Mvc.Extensions" errorMessage="用户名不存在" />
-            </exceptionHandlers>
-          </add>
-          <add type="Artech.VM.Models.InvalidPasswordException, Artech.VM" postHandlingAction="ThrowNewException" name="InvalidPasswordException">
-            <exceptionHandlers>
-              <add name="ErrorMessageHandler" type="Artech.Mvc.Extensions.ErrorMessageHandler, Artech.Mvc.Extensions" errorMessage="密码与用户名不匹配" />
-            </exceptionHandlers>
-          </add>
-          <add type="Artech.VM.Models.OutOfStockException, Artech.VM" postHandlingAction="ThrowNewException" name="OutOfStockException">
-            <exceptionHandlers>
-              <add name="ErrorMessageHandler" type="Artech.Mvc.Extensions.ErrorMessageHandler, Artech.Mvc.Extensions" errorMessage="库存不足!" />
-            </exceptionHandlers>
-          </add>-->
-        </exceptionTypes>
-      </add>
-    </exceptionPolicies>
-  </exceptionHandling>
-  <appSettings>
-    <add key="webpages:Version" value="3.0.0.0" />
-    <add key="webpages:Enabled" value="false" />
-    <add key="ClientValidationEnabled" value="true" />
-    <add key="UnobtrusiveJavaScriptEnabled" value="true" />
-    <!-- WebApi -->
-    <add key="WebApi:ResourceUrl" value="http://localhost:12965" />
-    <!--<add key="WebApi:ResourceUrl" value="http://39.106.194.30:8080/goldhoowebapi"/>-->
-    <add key="WebApi:U8Url" value="http://182.138.106.120:8083/U8WebApi/api/" />
-    <add key="WebApi:HistoryUrl" value="http://106.15.35.130:8089/Mobile(2021)" />
-    <!-- 产品配置 -->
-    <add key="Themes" value="Goldhoo" />
-    <add key="ProjectName" value="经销商订货系统" />
-    <add key="TitleName" value="成都市金虎家俱有限公司" />
-    <add key="CompanyName" value="成都市金虎家俱有限公司" />
-    <add key="Copyright" value="成都市金虎家俱有限公司" />
-    <add key="CopyrightDate" value="" />
-    <add key="TechSupport" value="成都能友科技有限责任公司提供技术支持" />
-  </appSettings>
-  <system.web>
-    <authentication mode="Forms">
-      <forms name=".GOLDHOOMOBILE" loginUrl="~/Account/Login" timeout="3600" />
-    </authentication>
-    <compilation debug="true" targetFramework="4.5" />
-    <httpRuntime targetFramework="4.5" />
-  </system.web>
-  <system.webServer>
-    <security>
-      <requestFiltering>
-        <requestLimits maxAllowedContentLength="1073741824" />
-      </requestFiltering>
-    </security>
-    <modules>
-      <remove name="FormsAuthenticationModule" />
-    </modules>
-  </system.webServer>
-  <runtime>
-    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
-			<dependentAssembly>
-				<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31BF3856AD364E35" culture="neutral" />
-				<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
-			</dependentAssembly>
-      <dependentAssembly>
-        <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
-        <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
-      </dependentAssembly>
-      <dependentAssembly>
-        <assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
-        <bindingRedirect oldVersion="0.0.0.0-2.0.12.0" newVersion="2.0.12.0" />
-      </dependentAssembly>
-      <dependentAssembly>
-        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral" />
-        <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
-      </dependentAssembly>
-    </assemblyBinding>
-  </runtime>
-  <entityFramework>
-    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
-      <parameters>
-        <parameter value="mssqllocaldb" />
-      </parameters>
-    </defaultConnectionFactory>
-    <providers>
-      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
-    </providers>
-  </entityFramework>
-</configuration>

+ 0 - 105
src/Befri.Goldhoo/Befri.Goldhoo.MvcUI/Web.config

@@ -1,105 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-  有关如何配置 ASP.NET 应用程序的详细信息,请访问
-  http://go.microsoft.com/fwlink/?LinkId=301880
-  -->
-<configuration>
-  <configSections>
-    <section name="userPrivilegeProvider" type="Befri.Web.Mvc.UserPrivilegeProviderSection,Befri.Web.Mvc" />
-    <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />
-    <section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling" />
-  </configSections>
-  <userPrivilegeProvider defaultProvider="sqlProvider" enabled="true" actionNames="增加,修改,删除,打印,导出,审核,反审核" splitChar=",">
-    <providers>
-      <add name="sqlProvider" type="Befri.Web.Mvc.Security.SqlUserPrivilegeProvider, Befri.Web.Mvc" defaultDatabase="localhost" userModPrivilegesProcName="[Admin].[p_GetUserPrivilegesByLoginName]"></add>
-    </providers>
-  </userPrivilegeProvider>
-  <dataConfiguration defaultDatabase="Test_Goldhoo" />
-  <connectionStrings>
-    <add name="befri_Goldhoo" connectionString="data source=106.15.35.130;packet size=4096;user id=sa;Password=jinhu2016!;persist security info=False;initial catalog=befri_Goldhoo;" providerName="System.Data.SqlClient" />
-	<add name="Test_Goldhoo" connectionString="data source=171.220.242.38;packet size=4096;user id=sa;Password=5tgb*UHB;persist security info=False;initial catalog=befri_Goldhoo;" providerName="System.Data.SqlClient" />
-	<add name="localhost" connectionString="data source=localhost;packet size=4096;user id=sa;Password=123456;persist security info=False;initial catalog=befri_Goldhoo;" providerName="System.Data.SqlClient" />
-  </connectionStrings>
-  <exceptionHandling>
-    <exceptionPolicies>
-      <add name="defaultPolicy">
-        <exceptionTypes>
-          <!--<add type="Artech.VM.Models.InvalidUserNameException, Artech.VM" postHandlingAction="ThrowNewException" name="InvalidUserNameException">
-            <exceptionHandlers>
-              <add name="ErrorMessageHandler" type="Artech.Mvc.Extensions.ErrorMessageHandler, Artech.Mvc.Extensions" errorMessage="用户名不存在" />
-            </exceptionHandlers>
-          </add>
-          <add type="Artech.VM.Models.InvalidPasswordException, Artech.VM" postHandlingAction="ThrowNewException" name="InvalidPasswordException">
-            <exceptionHandlers>
-              <add name="ErrorMessageHandler" type="Artech.Mvc.Extensions.ErrorMessageHandler, Artech.Mvc.Exten
-			  sions" errorMessage="密码与用户名不匹配" />
-            </exceptionHandlers>
-          </add>
-          <add type="Artech.VM.Models.OutOfStockException, Artech.VM" postHandlingAction="ThrowNewException" name="OutOfStockException">
-            <exceptionHandlers>
-              <add name="ErrorMessageHandler" type="Artech.Mvc.Extensions.ErrorMessageHandler, Artech.Mvc.Extensions" errorMessage="库存不足!" />
-            </exceptionHandlers>
-          </add>-->
-        </exceptionTypes>
-      </add>
-    </exceptionPolicies>
-  </exceptionHandling>
-  <appSettings>
-    <add key="WebApi:ResourceUrl" value="http://localhost:12965" />
-    <!--<add key="webapi:resourceurl" value="http://39.106.194.30:8080/goldhoowebapi" />-->
-    <add key="WebApi:BackstageUrl" value="http://localhost:2693" />
-    <add key="WebApi:ShoppingUrl" value="http://106.15.35.130:8089/Mobile(2021)" />
-    <add key="WebApi:MobileUrl" value="http://localhost:2734" />
-    <add key="webapi:u8url" value="http://182.138.106.120:8083/U8WebApi/api/" />
-    <add key="webpages:Version" value="3.0.0.0" />
-    <add key="webpages:Enabled" value="false" />
-    <add key="ClientValidationEnabled" value="true" />
-    <add key="UnobtrusiveJavaScriptEnabled" value="true" />
-  </appSettings>
-  <system.web>
-    <authentication mode="Forms">
-      <forms loginUrl="~/Account/Login" timeout="144000" />
-    </authentication>
-    <compilation debug="true" targetFramework="4.5" />
-    <httpRuntime targetFramework="4.5" />
-  </system.web>
-  <system.webServer>
-    <security>
-      <requestFiltering>
-        <requestLimits maxAllowedContentLength="1073741824" />
-      </requestFiltering>
-    </security>
-    <modules>
-      <remove name="FormsAuthenticationModule" />
-    </modules>
-  </system.webServer>
-  <runtime>
-    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
-      <dependentAssembly>
-        <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
-        <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
-      </dependentAssembly>
-      <dependentAssembly>
-        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
-        <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
-      </dependentAssembly>
-      <dependentAssembly>
-        <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
-        <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
-      </dependentAssembly>
-      <dependentAssembly>
-        <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
-        <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
-      </dependentAssembly>
-      <dependentAssembly>
-        <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
-        <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
-      </dependentAssembly>
-      <dependentAssembly>
-        <assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
-        <bindingRedirect oldVersion="0.0.0.0-2.0.12.0" newVersion="2.0.12.0" />
-      </dependentAssembly>
-    </assemblyBinding>
-  </runtime>
-
-</configuration>