27 lines
1.8 KiB
XML
27 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
|
|
|
|
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
|
<appSettings>
|
|
<add key="RedisConn" value="localhost,DefaultDatabase=5,connectTimeout=5000,syncTimeout=5000,asyncTimeout=5000,abortConnect=false,ssl=false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
|
<add key="RedisConnAdmin" value="localhost,DefaultDatabase=5,connectTimeout=5000,syncTimeout=5000,asyncTimeout=5000,abortConnect=false,ssl=false,allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
|
<add key="redisDb" value="5" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
|
<add key="RedisConnSPEC" value="localhost,DefaultDatabase=5,connectTimeout=5000,syncTimeout=5000,asyncTimeout=5000,abortConnect=false,ssl=false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
|
<add key="RedisConnSPECAdmin" value="localhost,DefaultDatabase=5,connectTimeout=5000,syncTimeout=5000,asyncTimeout=5000,abortConnect=false,ssl=false,allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
|
</appSettings>
|
|
<system.web>
|
|
<compilation xdt:Transform="RemoveAttributes(debug)" />
|
|
<!--
|
|
In the example below,the "Replace" transform will replace the entire
|
|
<customErrors> section of your web.config file.
|
|
Note that because there is only one customErrors section under the
|
|
<system.web> node,there is no need to use the "xdt:Locator" attribute.
|
|
|
|
<customErrors defaultRedirect="GenericError.htm"
|
|
mode="RemoteOnly" xdt:Transform="Replace">
|
|
<error statusCode="500" redirect="InternalError.htm"/>
|
|
</customErrors>
|
|
-->
|
|
</system.web>
|
|
</configuration> |