I have a situation where I need to replace our current file based cache dependency system with a new one. What I am looking at is moving towards using AppFabric for caching. I was wondering if the SQLDependencyCaching technique where the table notifies the application of data updates works with AppFabric as it does with ASP.NET built in caching?
SQLCacheDependency and AppFabric Server
1.5k views Asked by bechbd At
3
There are 3 answers
0
Lloyd
On
There is a Windows Azure Output Cache provider it works somewhat differently to the SqlDependencyCache however it does have good performance and other benefits.
You could also write a custom output cache provider and leverage the Azure Cache notifications to trigger the update depending on your requirements.
MSDN: Building and Using Custom OutputCache Providers in ASP.NET
0
William
On
though its not supported within appfabric, but supported within NCache. NCache has a Cache Dependency feature that lets you manage relational data with 1-1, 1-n, and m-n relationships among data elements. Cache Dependency allows you to preserve data integrity in the cache.
Related Questions in C#
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in ASP.NET
- Implementing Azure AD B2C Authentication in .NET 8 Blazor Project (RenderMode: InteractiveAuto)
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- IIS Rewrite Module exclude bots but allow GoogleBot
- Angular 16 sending null values to API
- I am the domain admin, newbie, how do I connect youtube.com on my domain?
- Dropdown list showing SQLServer2005SQLBrowserUser$DONSERVER instead of Active Directory group name in ASP.NET MVC C#
- ASP.NET Identity, Losing Ability to Login until Application Pool Recycles
- How to unprotect ASP.NET FormAuthentication cookie
- How does it work using ASP.NET FormAuthentication
- What is the purpose of a completely standalone 'this'?
- Is there a way to read .csproj PropertyGroup variable in c#
- MSBuild trying to copy different dll with similar name into project sporadically
- Minimizing IdentityServer4 Round Trips in Microservice Architecture with Ocelot
- Azure AD guest account in web app authentication user claims data
- Receiving 400 bad request on post when customer auth handler is used
Related Questions in VB.NET
- how do i stop system stack overflow in visual basic?
- Finding and Using Camera found in “Imaging Devices” in VB.NET
- Finding a specific colour within a bitmap range - VB.net 2022
- Filtering a double value
- How to call late bound extension method from VB.NET (Framework)
- Accessing a variable from a string
- Calling ToString with a nominated format returns Char rather than String
- Monthly attendance report in Crystal Report
- Progress Bar increment while running
- GetValue for Field contains too many arguments
- Icon of Window form application
- vb.net connection string to a regular google drive
- VB.NET how to check if a form already exists?
- How to get paste to work for pasting in text in a textbox?
- How to convert base64 string to image using vb.net
Related Questions in APPFABRIC
- SharePoint 2019 Prerequisite Installer Fails During Cumulative Update Package 7 for App Fabric 1.1 for Windows Server Installation
- DotVVM. System.IO.FileNotFoundException Microsoft.Cloud.Monitoring.UsageCounters.dll
- Is AppFabric 1.1 compatible with CNG Data Encryption Providers in IIS 10?
- AppFabric .Net Core
- AppFabric replacement with Redis
- SharePoint server 2013 - configure appfabric
- Problem with assembly resolve in xaml (workflow) after update to .NET Framework 4.8
- EntityFramework with service app fabric .net core stateless API SNI.dll not found error
- React Office Fabric UI - Node Module can't resolve itself
- Office Fabric UI how to check choicefieldgroup radiobutton (javascript/jquery)
- AppFabric on Windows Server 2016 - "error running cmdlet 'out-lineoutput'"
- Azure Service Fabric reset
- Cache Implementation for .NET
- Windows Workflow Foundation On-Premise Hosting and Web Api
- ASP.Net / AppFabric causes 4011 error "An unhandled access exception has occurred."
Related Questions in CACHE-DEPENDENCY
- Content Cache dependency in Kentico V9
- Kentico 12 Caching in different environments
- Gradle resolution strategy cacheDynamicVersionsFor isn't working
- Apply NCache to existing project (with CacheDependency)
- How can I put a log whenever compiler recompiles my razor view via VirtualPathProvider?
- yii2 replacing dependancy of yii 1.x
- FATAL: System.Web.HttpException (0x80070057): Invalid file name for file monitoring: ''
- c# cachedependency dispose pattern
- Creating a custom cachedependency for documents in ravendb
- Using .NET MVC 4.0 VirtualPathProviders in a web farm scenario
- Change tracking -- simplest scenario
- Delegate for Cache.Insert
- SQLCacheDependency and AppFabric Server
- why can a CacheDependency be invalid right after creating it! (ASP.NET-MVC3)
- CacheDependency from 2 or more other cache items. (ASP.NET MVC3)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
There is no support within AppFabric caching for the SqlCacheDependency mechanism (or in fact for any kind of dependency).
However, AppFabric 1.1 introduces the DataCacheStoreProvider class, which can be used to ensure that the cache is always in sync with the underlying database. In essence, you create a class that inherits from DataCacheStoreProvider and create methods on it which tell it how to read from and update your database. Then you do all your data access - adding objects, updating existing object etc - against the cache, so the cache always has the latest version of the data. The cache then calls your provider class to update the database and persist your changes. There's a walkthrough for creating a provider class here.