Open vnlinkorg opened 6 years ago
Got the same problem, but not only with GetPosts(), i also got this exception when using GetUsers(). And this exception occurs only when another running thread using HttpWebRequest
I also encountered this problem, but this problem will happen only when the server starts up for the first time using XMLRPC.
I’ve tried to use GetPosts()
public List GetPosts(int PageNumber) { using (var client = CreateWordPressClient()) { var result = client.GetPosts(new PostFilter { PostType = “post”, PostStatus = “publish”, Number = PageNumber }).OrderByDescending(a => a.Id).ToList(); return result; } }
and:
dgvwPost.DataSource = myWordPressAPI.GetPosts(NumberPostView);
Please help me!