I want to create a good caching mechanism for a Service Oriented Architecture in ASP.NET.
The caching can be done at cleint tier, web tier or service tier
But in my case i want to do it at Service Tier.
The strategies can possibly be Write-Through but there will also no problem with Data Event Driven
Whether there are some open source libraries for the same.
The services can be either ASP.NET XMl Web Service (ASMX) or WCF one.
If possible can you also provide the code since i am new to caching
Thanks.
Any help is appreciated
Both WCF and ASMX come with strong caching support, see: http://msdn.microsoft.com/en-us/library/ee230443.aspx Next to that, there is caching support straight out of the box in the BCL, see http://deanhume.com/Home/BlogPost/object-caching—-net-4/37