Chapter Summary

  • ADO.NET provided earlier versions of the .NET Framework direct access to databases. Although ADO.NET still is supported, it typically should not be used for new applications. However, ADO.NET can still provide some performance benefits. WCF Data Services are the best way to expose a database using a web service.

  • To avoid compatibility problems, you should use Visual Studio 2010 to integrate your database schema into your application’s change management strategy. If you might experience unexpected schema changes, separate the schema mapping from your compiled assembly. When the database schema changes, then you can update the mapping file after compiling your application.

  • Use the MemoryCache class to store cached data, and create ...

Get MCPD 70-518 Exam Ref: Designing and Developing Windows® Applications Using Microsoft® .NET Framework 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.