Summary

In this chapter, we have learned the fundamental elements of the Caching Application Block such as the CacheManager class, expiration policy, scavenging process, backing stores, and encryption providers. We have explored the various required and optional assemblies, the initial infrastructure configuration and the individual feature-level configuration. We have also learned to initialize the CacheManager using the CacheFactory class, Unity service locator, and using Unity container directly and later we deep dived into the basics of adding, removing, reading, and flushing the cache items. We have further learned to configure an encryption provider to encrypt cached data while using a persistent backing store.

We often spend lot of effort on validating input and it often becomes challenging to perform the same validation across different layers of the application; in the next chapter we will explore the Validation block which makes validation a productive and easy affair.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.176.72