O'Reilly logo

ASP.NET MVC 2 Cookbook by Richard Kimber, Andrew Siemer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

XML documents as a data store

In this recipe, we are going to look at a non-SQL-oriented solution. There are times when you might not need a full blown SQL server backend or you might just not have access to one. In those times, storing the data on the filesystem might be more appropriate. For that reason we will take a look at how to remove SQL server from the picture and plug in an XML data store in its place. We will see that even with this drastically different infrastructure on the backend, we can still work within the boundaries of our existing solution and easily plug in this new data store.

Getting ready

The only thing we need to do to get started with this recipe is prepare our new data storage. We want to swap out our existing SQL server ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required