If I remember rightly it's not supported yet due to some internal complexities of Optimizely on the ordering of how things run. Same goes for minimal APIs, I beleve they are working on an update.
Unfortunately we do not support the new hosting model yet. We have to introduce breaking changes to our initialization to make it work, that's why we decided to wait.
I guess this is on the feature list for CMS 13? Do you have a roadmap for future CMS versions?
We have this https://world.optimizely.com/products/roadmap/ but we haven't planned for a new major version yet, to my knowledge.
I'm trying to use the new minimal hosting model that was introduced in .NET 6 but I'm stumbling against an error that I'm unsure of how to resolve. the app runs fine on the old hosting model with .NET 6, so this isn't a blocker, but it would be nice though.
The exeption I'm getting at startup is:
Is the new hosting model supported by CMS 12 yet or am I missing something?