World is now on Opti ID! Learn more
AI OnAI Off
World is now on Opti ID! Learn more
I will file a bug to documentation team to update it. Meanwhile for CMS 12 it's generally advised to use Startup, but not necessarily the only way (IInitializableModule would still work). Thanks for bringing it into our attention
Update: I have filed bug CG-11474 for the Content Graph team to look into. I think there might be reason for that, but there should be consistency
I was reviewing the documentation on the Conventions API, and I noticed that it first mentions configuring the settings in an IInitializableModule. However, the code samples that follow seem to use a Startup-context.
Which method is recommended? Is IInitializableModule still the preferred approach, or should we be using Startup?