Fun with List Types for Caching Data

Posted by: Rick Strahls WebLog, on 21 Mar 2007 | View original

I often find myself using various collection types for 'cached' storage in Web applications. For example, in some applications there are lists of countries, lists of states, various other lookup lists that are initially stored in a database, but then are constantly reused. There's little point in continually reloading this data from the database so caching it as part of the application is useful. Depending on how you like to work data is usually pulled from the database with a DataReader,  which...

Advertisement

Similar Posts

  • TDD Lessson 4 - I mock you! more
  • Reading Sql Server Image/Blob data in Visual FoxPro 9 more
  • Functional Programming via Anonymous Delegates and Script# more
  • Yield to the power of the DataSource more
  • .NET Generic Types more
  • ATLAS Control ToolKit ReorderList problems more
  • Announcing DNN Guru (dnnguru.com) for Professional DNN developers more
  • Implementing 3D Tic-Tac-Toe game in Visual Basic more
  • Using the XmlDataSource Data property for easy samples more
  • Recycling messages (or how not to be responsible for translating error messages). more

News Categories

.NET | ADO.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Community Server | dasBlog | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD