![]() |
| ||
| SQLCacheDependency not notifying Hi everybody I have coded a LINQ SiteMapProvider for my ASP.NET site. The site pages info is stored in a MSSQL database. When I make changes to the SitePAges table, the SiteMap does not reset. Here is my code Public Overrides Function BuildSiteMap() As System.Web.SiteMapNodeIf i understand correctly, the OnSiteMapChanged sub is supposed to run as soon as the tableset becomes invalidated, which somehow never occurs. I put dependenct.start and dependency.stop in my global.asax file in app_start and app_end respectively My debugging shows that the "Insert" code to the cache does occur, though i dont understand why it is needed (the code was ported from a sqlsitemapprovider). doesnt asp.net cache the data on its own? it definetly does. Can someone help me get my data invalidated or whatever? my db show that Is_Broker_Enabled is on |
| ||
| Re: SQLCacheDependency not notifying |
| ||
| Re: SQLCacheDependency not notifying hi soory, i havent meant to skimp. I just thought to keep the code to only waht is necessary. I am going over the article you sent me, meanwhile, here is the complete Provider Class Please point out where im misatking thanks Imports System.Collections.Specialized |
| ||
| Re: SQLCacheDependency not notifying Let's see web.config provider entry. |
| All times are GMT -4. The time now is 3:34 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC