All Tags »
ObjectContainer »
ASP.NET »
HttpContext (RSS)
Sorry, but there are no more tags available to filter with.
-
Add a Global.asa file and in your Application.Initialize event, call objectServer = Db4o.OpenServer(Server.MapPath(''~/app_data/mydb.yap'')) and put it in a static variable. Then in your Application_BeginRequest, call db = objectServer.OpenClient() and add the result to HttpContext.Current.Items.Add(db);