Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET Data Caching? Memcache equivalent

Having used PHP on Linux a lot, I'm used to using memcache so that the database doesnt have to be accessed on every single request. What do people use on Windows the achieve this? From the asp.net mvc applications which I've seen, none of them use any sort of cache, they just hit the database on every request? Is this common, and if so, why is it acceptable?

like image 623
Matthew H Avatar asked Apr 08 '26 07:04

Matthew H


2 Answers

You can use memcached also. There are also other alternatives. You may also check Scott Gu's post about the new cache extensibility model introduced in ASP.NET 4.0.

like image 82
Darin Dimitrov Avatar answered Apr 10 '26 01:04

Darin Dimitrov


There is a Memcache equivalent for ASP.NET, it is AppFabric (code name Velocity). You can find out how to install and use it here, there are also detail instruction and whitepapers.

like image 39
Tien Do Avatar answered Apr 10 '26 01:04

Tien Do



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!