• IBlogProvider



Namespace: Middleware

Assembly: Middleware

IBlogProvider interface provides methods used to manage blog posts. This interface must be implemented by the host application and made available via DI.


GetRecentPosts(Int32, Boolean) Returns the most recent blog entries
GetBlog(Int32) Retrieves an individual blog entry.
GetMyBlogs(Int64) Retrieves all blogs for a specific user.
Search(String) Searches all blog items for blogs with a specific tag name.
SaveBlog(Middleware.Blog.BlogItem) Saves a blog entry.
AddComment(Middleware.Blog.BlogItem, Middleware.Blog.BlogComment, Int64, String, String) Adds a comment to a blog.

In This Document