This section provides you with an overview of the Comments Module API in Sitefinity CMS and guides you through the common tasks when working with comments.
Sitefinity CMS allows you to create comments for all items that implement the ICommentable interface. All content items implementICommentable.
To manage comments through Native API, you must add the following namespaces to your class:
To manage comments through Fluent API, you must add the following namespaces to your class:
NOTE: In the following examples, news items will be used as commented items. However, the code applies to the other content types as well.
For more information about news, see For developers: News.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2022 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity