When Blogs are Loaded

Topics: Business Logic Layer
Apr 11, 2007 at 9:48 PM
I am very interested in the workings of this blog engine. I have not been able to find the very first time the blogs are loaded into the Post.Posts List. Can anyone send me in the right direction. I have noticed the method FillPosts in the Post class but stepping through the code i never see it getting called. Thanks.
Coordinator
Apr 11, 2007 at 10:07 PM
It is called int the static property Posts on the Post class

public static List<Post> Posts
{
get
{
lock (_SyncRoot)
{
if (_Posts == null)
FillPosts();
return _Posts;
}
}
}
Apr 11, 2007 at 10:15 PM

madskristensen wrote:
It is called int the static property Posts on the Post class

public static List<Post> Posts
{
get
{
lock (_SyncRoot)
{
if (_Posts == null)
FillPosts();
return _Posts;
}
}
}


I see when FullPost is called but when a breakpoint is set at this method it is not reached when the blog is starting up. I can't seem to track down the very first time the blogs are loaded into memory.
Apr 11, 2007 at 10:32 PM
I just got latest version and never mind. I got it figured out. thanks for responding.