This commit is contained in:
		
							parent
							
								
									145844fbed
								
							
						
					
					
						commit
						382644d35b
					
				| 
						 | 
					@ -515,9 +515,6 @@ FCL/FineUIPro.Web/Report/ScoreDataSet.xsc
 | 
				
			||||||
FCL/FineUIPro.Web/Report/ScoreDataSet.xsd
 | 
					FCL/FineUIPro.Web/Report/ScoreDataSet.xsd
 | 
				
			||||||
FCL/FineUIPro.Web/Report/ScoreDataSet.xss
 | 
					FCL/FineUIPro.Web/Report/ScoreDataSet.xss
 | 
				
			||||||
FCL/FineUIPro.Web/Report/ScoreReport.rdlc
 | 
					FCL/FineUIPro.Web/Report/ScoreReport.rdlc
 | 
				
			||||||
FCL/FineUIPro.Web/Web.config
 | 
					 | 
				
			||||||
FCL/FineUIPro.Web/Web.Debug.config
 | 
					 | 
				
			||||||
FCL/FineUIPro.Web/Web.Release.config
 | 
					 | 
				
			||||||
FCL/Model/bin/Debug/Model.dll
 | 
					FCL/Model/bin/Debug/Model.dll
 | 
				
			||||||
FCL/Model/bin/Debug/Model.pdb
 | 
					FCL/Model/bin/Debug/Model.pdb
 | 
				
			||||||
FCL/Model/bin/Debug/Newtonsoft.Json.dll
 | 
					FCL/Model/bin/Debug/Newtonsoft.Json.dll
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,30 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="utf-8"?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!-- 有关使用 web.config 转换的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=125889 -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
 | 
				
			||||||
 | 
					  <!--
 | 
				
			||||||
 | 
					    在下例中,“SetAttributes”转换将更改 
 | 
				
			||||||
 | 
					    “connectionString”的值,仅在“Match”定位器 
 | 
				
			||||||
 | 
					    查找到值为“MyDB”的特性“name”时使用“ReleaseSQLServer”。
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    <connectionStrings>
 | 
				
			||||||
 | 
					      <add name="MyDB" 
 | 
				
			||||||
 | 
					        connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" 
 | 
				
			||||||
 | 
					        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
 | 
				
			||||||
 | 
					    </connectionStrings>
 | 
				
			||||||
 | 
					  -->
 | 
				
			||||||
 | 
					  <system.web>
 | 
				
			||||||
 | 
					    <!--
 | 
				
			||||||
 | 
					      在下例中,“Replace”转换将替换 
 | 
				
			||||||
 | 
					      web.config 文件的整个 <customErrors> 节。
 | 
				
			||||||
 | 
					      请注意,由于 
 | 
				
			||||||
 | 
					      在 <system.web> 节点下仅有一个 customErrors 节,因此不需要使用“xdt:Locator”特性。
 | 
				
			||||||
 | 
					      
 | 
				
			||||||
 | 
					      <customErrors defaultRedirect="GenericError.htm"
 | 
				
			||||||
 | 
					        mode="RemoteOnly" xdt:Transform="Replace">
 | 
				
			||||||
 | 
					        <error statusCode="500" redirect="InternalError.htm"/>
 | 
				
			||||||
 | 
					      </customErrors>
 | 
				
			||||||
 | 
					    -->
 | 
				
			||||||
 | 
					  </system.web>
 | 
				
			||||||
 | 
					</configuration>
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,31 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="utf-8"?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!-- 有关使用 web.config 转换的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=125889 -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
 | 
				
			||||||
 | 
					  <!--
 | 
				
			||||||
 | 
					    在下例中,“SetAttributes”转换将更改 
 | 
				
			||||||
 | 
					    “connectionString”的值,仅在“Match”定位器 
 | 
				
			||||||
 | 
					    查找到值为“MyDB”的特性“name”时使用“ReleaseSQLServer”。
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    <connectionStrings>
 | 
				
			||||||
 | 
					      <add name="MyDB" 
 | 
				
			||||||
 | 
					        connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" 
 | 
				
			||||||
 | 
					        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
 | 
				
			||||||
 | 
					    </connectionStrings>
 | 
				
			||||||
 | 
					  -->
 | 
				
			||||||
 | 
					  <system.web>
 | 
				
			||||||
 | 
					    <compilation xdt:Transform="RemoveAttributes(debug)" />
 | 
				
			||||||
 | 
					    <!--
 | 
				
			||||||
 | 
					      在下例中,“Replace”转换将替换 
 | 
				
			||||||
 | 
					      web.config 文件的整个 <customErrors> 节。
 | 
				
			||||||
 | 
					      请注意,由于 
 | 
				
			||||||
 | 
					      在 <system.web> 节点下仅有一个 customErrors 节,因此不需要使用“xdt:Locator”特性。
 | 
				
			||||||
 | 
					      
 | 
				
			||||||
 | 
					      <customErrors defaultRedirect="GenericError.htm"
 | 
				
			||||||
 | 
					        mode="RemoteOnly" xdt:Transform="Replace">
 | 
				
			||||||
 | 
					        <error statusCode="500" redirect="InternalError.htm"/>
 | 
				
			||||||
 | 
					      </customErrors>
 | 
				
			||||||
 | 
					    -->
 | 
				
			||||||
 | 
					  </system.web>
 | 
				
			||||||
 | 
					</configuration>
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,142 @@
 | 
				
			||||||
 | 
					<?xml version="1.0"?>
 | 
				
			||||||
 | 
					<!--
 | 
				
			||||||
 | 
					  有关如何配置 ASP.NET 应用程序的详细消息,请访问
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  http://go.microsoft.com/fwlink/?LinkId=169433
 | 
				
			||||||
 | 
					  -->
 | 
				
			||||||
 | 
					<configuration>
 | 
				
			||||||
 | 
					  <configSections>
 | 
				
			||||||
 | 
					    <section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false"/>
 | 
				
			||||||
 | 
					  </configSections>
 | 
				
			||||||
 | 
					  <connectionStrings>
 | 
				
			||||||
 | 
					    <add name="FCLDBConnectionString" connectionString="Data Source=.\SQL2016;Initial Catalog=FCLDB;uid=sa;pwd=1111;" providerName="System.Data.SqlClient"/>
 | 
				
			||||||
 | 
					  </connectionStrings>
 | 
				
			||||||
 | 
					  <FineUIPro DebugMode="false" CustomTheme="Metro_Dark_Blue" EnableAnimation="true" JSLibrary="All"/>
 | 
				
			||||||
 | 
					  <appSettings>
 | 
				
			||||||
 | 
					    <!--连接字符串-->
 | 
				
			||||||
 | 
					    <!--<add key="ConnectionString" value="Server=.;Database=FCLDB;Integrated Security=False; User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/>-->
 | 
				
			||||||
 | 
					    <!--系统名称-->
 | 
				
			||||||
 | 
					    <add key="SystemName" value="FC"/>
 | 
				
			||||||
 | 
					    <add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
 | 
				
			||||||
 | 
					    <add key="aspnet:MaxHttpCollectionKeys" value="50000"/>
 | 
				
			||||||
 | 
					    <add key="Https" value="false"/>
 | 
				
			||||||
 | 
					    <add key="mailSmtpServer" value="smtp.163.com"/>
 | 
				
			||||||
 | 
					    <add key="MailServerFrom" value="hfnbd_test@163.com"/>
 | 
				
			||||||
 | 
					    <add key="MailServerpassword" value="hfnbd123456"/>
 | 
				
			||||||
 | 
					    <add key="MailServeruserName" value="hfnbd"/>
 | 
				
			||||||
 | 
					    <!--<add key="Serial" value="7e00000004870a85c98afc0a2d000000000004"/>-->
 | 
				
			||||||
 | 
					  </appSettings>
 | 
				
			||||||
 | 
					  <!--
 | 
				
			||||||
 | 
					    有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    可在 <httpRuntime> 标记上设置以下特性。
 | 
				
			||||||
 | 
					      <system.Web>
 | 
				
			||||||
 | 
					        <httpRuntime targetFramework="4.6.1" />
 | 
				
			||||||
 | 
					      </system.Web>
 | 
				
			||||||
 | 
					  -->
 | 
				
			||||||
 | 
					  <system.web>
 | 
				
			||||||
 | 
					    <!--  会话状态设置 默认情况下,ASP.NET 使用 Cookie 来标识哪些请求属于特定的会话。如果 Cookie 不可用,则可以通过将会话标识符添加到 URL 来跟踪会话。若要禁用 Cookie,请设置 sessionState cookieless="true" -->
 | 
				
			||||||
 | 
					    <sessionState mode="InProc" cookieless="UseCookies" timeout="1200"/>
 | 
				
			||||||
 | 
					    <!--<processModel enable="true" requestQueueLimit="100000"/>-->
 | 
				
			||||||
 | 
					    <pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID" viewStateEncryptionMode="Always">
 | 
				
			||||||
 | 
					      <controls>
 | 
				
			||||||
 | 
					        <add tagPrefix="f" namespace="FineUIPro" assembly="FineUIPro"/>
 | 
				
			||||||
 | 
					        <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
 | 
				
			||||||
 | 
					      </controls>
 | 
				
			||||||
 | 
					    </pages>
 | 
				
			||||||
 | 
					    <httpModules>
 | 
				
			||||||
 | 
					      <add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
 | 
				
			||||||
 | 
					    </httpModules>
 | 
				
			||||||
 | 
					    <httpHandlers>
 | 
				
			||||||
 | 
					      <add path="res.axd" verb="GET" type="FineUIPro.ResourceHandler, FineUIPro" validate="false"/>
 | 
				
			||||||
 | 
					      <add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
 | 
				
			||||||
 | 
					    </httpHandlers>
 | 
				
			||||||
 | 
					    <compilation debug="true" targetFramework="4.8">
 | 
				
			||||||
 | 
					      <buildProviders>
 | 
				
			||||||
 | 
					        <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/>
 | 
				
			||||||
 | 
					      </buildProviders>
 | 
				
			||||||
 | 
					    </compilation>
 | 
				
			||||||
 | 
					    <!--requestPathInvalidCharacters=""-->
 | 
				
			||||||
 | 
					    <httpRuntime requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="36000"/>
 | 
				
			||||||
 | 
					    <authentication mode="Forms">
 | 
				
			||||||
 | 
					      <forms loginUrl="Login.aspx" name="PUBLISHERCOOKIE" protection="All" timeout="1440" path="/"/>
 | 
				
			||||||
 | 
					    </authentication>
 | 
				
			||||||
 | 
					    <membership>
 | 
				
			||||||
 | 
					      <providers>
 | 
				
			||||||
 | 
					        <clear/>
 | 
				
			||||||
 | 
					        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
 | 
				
			||||||
 | 
					      </providers>
 | 
				
			||||||
 | 
					    </membership>
 | 
				
			||||||
 | 
					    <profile>
 | 
				
			||||||
 | 
					      <providers>
 | 
				
			||||||
 | 
					        <clear/>
 | 
				
			||||||
 | 
					        <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
 | 
				
			||||||
 | 
					      </providers>
 | 
				
			||||||
 | 
					    </profile>
 | 
				
			||||||
 | 
					    <roleManager enabled="false">
 | 
				
			||||||
 | 
					      <providers>
 | 
				
			||||||
 | 
					        <clear/>
 | 
				
			||||||
 | 
					        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
 | 
				
			||||||
 | 
					        <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
 | 
				
			||||||
 | 
					      </providers>
 | 
				
			||||||
 | 
					    </roleManager>
 | 
				
			||||||
 | 
					    <customErrors defaultRedirect="LogOff.aspx" mode="RemoteOnly">
 | 
				
			||||||
 | 
					      <error redirect="https://localhost/FCL/OperationError.aspx" statusCode="404"/>
 | 
				
			||||||
 | 
					    </customErrors>
 | 
				
			||||||
 | 
					    <!--Unencrypted __VIEWSTATE parameter,viewstate 保存没有加密,解决方法-->
 | 
				
			||||||
 | 
					    <machineKey validation="3DES"/>
 | 
				
			||||||
 | 
					    <!--Body Parameters Accepted in Query:https才能访问-->
 | 
				
			||||||
 | 
					    <!--<httpCookies httpOnlyCookies="true" requireSSL="true"/>-->
 | 
				
			||||||
 | 
					  </system.web>
 | 
				
			||||||
 | 
					  <location path="res.axd"/>
 | 
				
			||||||
 | 
					  <system.webServer>
 | 
				
			||||||
 | 
					    <staticContent>
 | 
				
			||||||
 | 
					      <mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File"/>
 | 
				
			||||||
 | 
					      <mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File"/>
 | 
				
			||||||
 | 
					    </staticContent>
 | 
				
			||||||
 | 
					    <httpProtocol>
 | 
				
			||||||
 | 
					      <customHeaders>
 | 
				
			||||||
 | 
					        <!--<add name="Content-Security-Policy" value="default-src 'self'"/>-->
 | 
				
			||||||
 | 
					        <remove name="X-Powered-By"/>
 | 
				
			||||||
 | 
					        <!-- SAMEORIGIN表示该页面可以在相同域名页面的 frame 中展示 -->
 | 
				
			||||||
 | 
					        <add name="X-XSS-Protection" value="1;mode=block"/>
 | 
				
			||||||
 | 
					        <add name="X-Frame-Options" value="SAMEORIGIN"/>
 | 
				
			||||||
 | 
					        <add name="X-Content-Type-Options" value="nosniff"/>
 | 
				
			||||||
 | 
					        <add name="Strict-Transport-Security" value="max-age=31536000"/>
 | 
				
			||||||
 | 
					      </customHeaders>
 | 
				
			||||||
 | 
					    </httpProtocol>
 | 
				
			||||||
 | 
					    <validation validateIntegratedModeConfiguration="false"/>
 | 
				
			||||||
 | 
					    <modules runAllManagedModulesForAllRequests="true">
 | 
				
			||||||
 | 
					      <add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
 | 
				
			||||||
 | 
					      <remove name="ScriptModule"/>
 | 
				
			||||||
 | 
					      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
 | 
				
			||||||
 | 
					    </modules>
 | 
				
			||||||
 | 
					    <handlers>
 | 
				
			||||||
 | 
					      <remove name="ChartImageHandler"/>
 | 
				
			||||||
 | 
					      <add name="FineUIProResourceHandler" verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro"/>
 | 
				
			||||||
 | 
					      <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
 | 
				
			||||||
 | 
					    </handlers>
 | 
				
			||||||
 | 
					    <defaultDocument>
 | 
				
			||||||
 | 
					      <files>
 | 
				
			||||||
 | 
					        <add value="Login.aspx"/>
 | 
				
			||||||
 | 
					      </files>
 | 
				
			||||||
 | 
					    </defaultDocument>
 | 
				
			||||||
 | 
					    <httpErrors>
 | 
				
			||||||
 | 
					      <remove statusCode="403" subStatusCode="-1"/>
 | 
				
			||||||
 | 
					      <error statusCode="403" prefixLanguageFilePath="https://localhost/FCL/" path="OperationError.aspx" responseMode="File"/>
 | 
				
			||||||
 | 
					    </httpErrors>
 | 
				
			||||||
 | 
					    <security>
 | 
				
			||||||
 | 
					      <requestFiltering>
 | 
				
			||||||
 | 
					        <requestLimits maxAllowedContentLength="500000000"/>
 | 
				
			||||||
 | 
					      </requestFiltering>
 | 
				
			||||||
 | 
					    </security>
 | 
				
			||||||
 | 
					  </system.webServer>
 | 
				
			||||||
 | 
					  <runtime>
 | 
				
			||||||
 | 
					    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
 | 
				
			||||||
 | 
					      <dependentAssembly>
 | 
				
			||||||
 | 
					        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
 | 
				
			||||||
 | 
					        <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0"/>
 | 
				
			||||||
 | 
					      </dependentAssembly>
 | 
				
			||||||
 | 
					    </assemblyBinding>
 | 
				
			||||||
 | 
					  </runtime>
 | 
				
			||||||
 | 
					</configuration>
 | 
				
			||||||
		Loading…
	
		Reference in New Issue