CMS Kit: Blogging

The blogging feature provides the necessary UI to manage and render blogs and blog posts.

User Interface

Menu Items

The following menu items are added by the blogging feature to the admin application:

  • Blogs: Blog management page.
  • Blog Posts: Blog post management page.

Pages

Blogs

Blogs page is used to create and manage blogs in your system.

blogs-page

A screenshot from the new blog creation modal:

blogs-edit

Slug is the URL part of the blog. For this example, the root URL of the blog becomes https://your-domain.com/blogs/technical-blog/.

Blog Features

Blog feature uses some of the other CMS Kit features. You can enable or disable the features by clicking the features action for a blog.

blogs-feature-action

You can select/deselect the desired features for blog posts.

features-dialog

Blog Post Management

When you create blogs, you can manage blog posts on this page.

blog-posts-page

You can create and edit an existing blog post on this page. If you enable specific features such as tags, you can set tags for the blog post on this page.

blog-post-edit

Internals

Domain Layer

Aggregates

This module follows the Entity Best Practices & Conventions guide.

  • Blog (aggregate root): Presents blogs of application.
  • BlogPost(aggregate root): Presents blog posts in blogs.
  • BlogFeature:(aggregate root): Presents blog features enabled/disabled state. Such as reactions, ratings, comments, etc.

Repositories

This module follows the Repository Best Practices & Conventions guide. The following repositories are defined for this feature:

  • IBlogRepository
  • IBlogPostRepository
  • IBlogFeatureRepository

Domain services

This module follows the Domain Services Best Practices & Conventions guide.

  • BlogManager
  • BlogPostManager
  • BlogFeatureManager

Application layer

Application Services

Common
  • BlogFeatureAppService (implements IBlogFeatureAppService)
Admin
  • BlogAdminAppService (implements IBlogAdminAppService)
  • BlogFeatureAdminAppService (implements IBlogFeatureAdminAppService)
  • BlogPostAdminAppService (implements IBlogPostAdminAppService)
Public
  • BlogPostPublicAppService (implements IBlogPostPublicAppService)

Database providers

Entity Framework Core

Tables
  • CmsBlogs
  • CmsBlogPosts
  • CmsBlogFeatures

MongoDB

Collections
  • CmsBlogs
  • CmsBlogPosts
  • CmsBlogFeatures

Contributors


Last updated: May 21, 2021 Edit this page on GitHub

Was this page helpful?

Please make a selection.

To help us improve, please share your reason for the negative feedback in the field below.

Please enter a note.

Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.

In this document
Community Talks

What’s New with .NET 9 & ABP 9?

21 Nov, 17:00
Online
Watch the Event
Mastering ABP Framework Book
Mastering ABP Framework

This book will help you gain a complete understanding of the framework and modern web application development techniques.

Learn More