|
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="syscache2" type="NHibernate.Caches.SysCache2.SysCacheSection, NHibernate.Caches.SysCache2" requirePermission="false"/>
</configSections>
<connectionStrings>
<add name="db" connectionString="Data Source=Habib-PC; Initial Catalog=TestDb; User Id=sa; Password=Bangladesh007!;" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<caching>
<sqlCacheDependency enabled="true" pollTime="500">
<databases>
<add name="db2" connectionStringName="db"/>
</databases>
</sqlCacheDependency>
</caching>
</system.web>
<syscache2>
<cacheRegion name="tableDependency" priority="High">
<dependencies>
<tables>
<add name="one" databaseEntryName="db2" tableName="Developers" />
</tables>
</dependencies>
</cacheRegion>
<cacheRegion name="FiveSecondTimeInterval" relativeExpiration="5">
</cacheRegion>
<cacheRegion name="ExpireAfterCertainTime" timeOfDayExpiration="22:25:00">
</cacheRegion>
</syscache2>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.