Content blocks API

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.

You can create content blocks programmatically using the Native API or the For developers: Use readable code with the Fluent API.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?

Next article

Events API