Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
All should be ready if you use this ModuleDependency:
[ModuleDependency(typeof(EPiServer.Web.InitializationModule))]
ContentReference.StartPage is resolved from the http request. See http://world.episerver.com/Blogs/Johan-Bjornfot/Dates1/2013/12/Multisite-feature-in-EPiServer-75/
You can in admin mode (under Manage WebSites) add host name '*' (wildcard host) to a site. Then that site will be returned as SiteDefinition.Current (and hence also ContentReference.StartPage) when a site can not be resolved from the request (either when there is no request or the host of the request does not match any site).
I need todo a few checks when ContentReference.StartPage is ready. Can I somehow hook up on that event?