Oct 15, 2012 at 10:22 PM
Edited Oct 15, 2012 at 10:23 PM
I've removed the ''InitAppController'' call from the AppController constructor and now calling it on demand on an property called "ConnectionString" so
i can call : AppController .ConnectionString (inside this property i am calling the InitAppController method)
Its still strange because as my site is loading the WorkItemIDHandler constructor is being called , calling the ''LoadDataFromDb'' method even though my home page has no reference to any of these content items.
Even more stranger is the fact that its called for every content item item i have in the database when the site is loading. and by the way when it gets to the
var cnnstr = _appController.ConnectionString; method
The WorkContext is still null inside the AppController