How do I get WordPress custom Post Type through ASP.Net?

Our client has website in WordPress and it contains custom post type (like post_type=recent-news). Now we need to fetch and show all those custom post types and its content in ASP.Net website.

We have tried “CookComputing.XmlRpcV2” but it doesn’t support custom post type. We have checked JSON API but for that we need to deploy PHP code which we don’t want to do. We have also checked WordPress JSON for .Net (http://wordpressjsonnet.codeplex.com/) but its not officially released / not fully working.

Read More

Is there any another option (any free dll or Rest API plugin) to get custom post type for ASP.Net?

Related posts

Leave a Reply

1 comment

  1. 4 years late but might help someone else. Try WordPressSharp‘s method:

    WordPressService.GetPosts(WordPressSiteConfig.BlogId, WordPressSiteConfig.Username,
                    WordPressSiteConfig.Password, new PostFilter() {  PostType="recent-news"});