Content blocks are stored in the Content block module and you can share them on many pages. This section describes how to work with the API of the module by explaining how to perform common tasks when working with content blocks.
You create content blocks when you need to display various kinds of nonspecific information (all information different from the predefined content types, such as news or event announcements). Content blocks are very useful when you need to create text that you will use on many pages of your website. For example, company address.
For more information about working with content block in the backend of Sitefinity CMS, see Content blocks.
To manage content blocks through Content Blocks Native API, you must add the following namespaces to your class:
To manage content blocks through Content Blocks Fluent API, you must add the following namespaces to your class:
Back To Top