Summary

In this chapter, we covered some of the more common problems that you will encounter while leveraging caching in your web applications. We started with a look at output caching, using the @OutputCache directive at both the page and user control levels. Problems associated with several of its attributes were discussed. We also covered the error generated by manipulating an output cached user control.

Next, you learned how to use validation callbacks to manually evict a page from the output cache. This capability is key to being able to effectively debug web applications without having to worry about incorrect data being trapped in cache. It is also a useful feature that enables you to manually refresh an incorrect page that is in production.

Issues related to the Caching API were discussed next. Specifically, you learned about the intricacies of both file- and key-based dependencies, as well as date and time expirations, and errors associated with retrieving and removing items from the cache.

The next chapter discusses Web Services in the context of debugging your ASP.NET web applications.

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

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