C H A P T E R  6


Working with Data

By combining ASP.NET Web Pages with SQL Server Compact Edition, Microsoft WebMatrix provides a powerful framework for building data-driven, dynamic web applications.

In previous chapters, we have worked with sessions, cookies, forms, and HTTP requests, all of which allow us to maintain state for a period of time, but which are not useful for permanent data storage. In a data-driven web site, a database—SQL Server Compact in our case—provides a permanent store to allow the development of web applications that require stable data persistence as an integral part of the design.

There is a vast scope for database ...

Get Building ASP.NET with Microsoft WebMatrix now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.