Skip to main content

Enterspeed guards

Guards are split by type - content or dictionary item, they serve the purpose of ensuring that data that is about to be ingested into Enterspeed, is successfully validated by predefined or your extended guard rules.

Enterspeed content handling guard

Our package already includes a single guard - ContentCultureUrlRequiredGuard, that ensures that if content for publishing to Enterspeed has culture, it must also have a URL for that specific culture available. To extend guards with your own one, you need to implement the IEnterspeedContentHandlingGuard interface.

IEnterspeedContentHandlingGuard

Registering a content handling guard

Guards are registered in Umbraco via the Composing functionality. Umbraco 9+
Umbraco 8

Enterspeed dictionary item handling guard

To extend dictionary item guards with your own one, you need to implement the IEnterspeedDictionaryItemHandlingGuard interface.

IEnterspeedDictionaryItemHandlingGuard

Registering a dictionary item handling guard

Guards are registered in Umbraco via the Composing functionality. Umbraco 9+
Umbraco 8