How to programmatically insert new posts

Topics: Business Logic Layer
Dec 6, 2009 at 9:19 AM

Folks,

I have an existing set of posts from an old homegrown system which I'd like to convert to BlogEngine.NET posts. I see those posts are just XML files, so I thought it would be easy enough to convert my last 50 or so posts into separate XML files and stick them into the App_Data directory.

Trouble is: BlogEngine.NET doesn't seem to recognize and pick up those new files. What's the missing step, what's the trick to get BlogEngine.NET to find those newly created "old" posts?? Do I need to stick that GUID that makes up the post's file name into a list of posts or something somewhere??

Marc

 

Dec 6, 2009 at 12:13 PM

Silly beginner's error - of course it works just fine! An IIS Reset once in a while would help :-)