This project is read-only.

Version 1.1

Rating: No reviews yet
Downloads: 6
Released: Jul 31, 2011
Updated: Jul 31, 2011 by bradw2k
Dev status: Stable Help Icon

Recommended Download

Source Code db4oProviders 1.1 Source & DLL's
source code, 2582K, uploaded Jul 31, 2011 - 6 downloads

Release Notes

Uses db4o 7.12 and .NET 3.5.

Contains DLL's and source code and a partial web.config to show you how I use it. Note that I'm not otherwise uploading the source code, just get this zip, it's in there.

Should fix this bug: "Note that the Create Member function in the ASP.NET Configuration web tool crashes if hashing passwords (the cryptographic Hash() function crashes for some reason), but it works fine within your application."

NOTE: I recommend you rather use version 2.0 (which uses .NET 4.0)! The only reason for this 1.1 release is to provide an upgrade path for users of Version 1.0 which used db4o 7.4. The problem is that Versant effectively broke backwards compatibility somewhere between db4o 7.4 and 7.12, because they started indexing DateTime objects in a new way in 7.8. Because of this, a membership database created with "db40 ASP.NET Providers 1.0" (that used db4o 7.4) cannot be loaded with e.g. 7.12 nor 8.0. (I tried, the code that Versant put into db4o to automatically migrate failed me -- my 7.4-created databases could NOT be opened in 7.12, trying to open crashed in the db4o code).

The workaround I came up with is to (a) mark all of the "db4o ASP.NET Providers" classes which are saved via db4o as Serializable and build the project with db4o 7.4 (rather than the 7.12 which is in this zip); (b) run code to load the membership database and serialize out the entire database using the standard BinaryFormatter; (d) rebuild this project using db4o 7.12; (e) deserialize the objects and save them using 7.12. You'll find sample serialize and deserialize code commented out in the db4oMembershipProviderTests.cs file.

Once a membership database has been save using db4o 7.12, it can be opened using "db4o ASP.NET Providers 2.0" using db4o 8.0.

Reviews for this release

No reviews yet for this release.