Data Caching in WCF Service


  • A) Service is hosted in IIS 7.

    B) Caller used nettcp binding to communicate with the service

    My WCF service reads data from a database table and returns to the caller. this service is called by 50+ users and each user calls the service every 5 seconds.

    I am looking at ways to cache this data in the service rather than read the data everytime from database. Can you suggest good caching mechanism in this scenario

    PS: Data in the database table is refreshed at random intervals (at peak times as frequent as every 5 sec and in off peak times about once per minute)

    Friday, November 19, 2010 8:58 PM


All replies