CacheDependency on domain model(osmirnov.net)

submitted by slo2olsslo2ols(618) 1 year, 6 months ago

If you have ever used a cache for your web applications, you probably know about CacheDependency. If not, then don't worry. It's just a class that allows you to track changes in a source whose data you cache. Strictly speaking, tracking logic is implemented by derived classes. For example, for MS SQL Server it's SqlCacheDependency class. This concept has one serious problem. That is breaking of an abstraction level created by an ORM. Let's discuss it in this post.

add a comment |category: |Views: 39

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:
information Login or create an account to comment on this story