Vulnerability in EPiServer.Forms
In CMS 11 you configured event listeners to make sure all servers in a load balances environment where up to date. This was configured in web.config:
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
<endpoint name="RemoteEventServiceEndPoint" contract="EPiServer.Events.ServiceModel.IEventReplication" binding="netTcpBinding" bindingConfiguration="RemoteEventsBinding" address="net.tcp://10.14.86.40:5000/RemoteEventService" />
<endpoint name="10.14.86.41" contract="EPiServer.Events.ServiceModel.IEventReplication" binding="netTcpBinding" bindingConfiguration="RemoteEventsBinding" address="net.tcp://10.14.86.41:5000/RemoteEventService" />
<serviceDebug includeExceptionDetailInFaults="true" />
<binding name="RemoteEventsBinding" portSharingEnabled="true">
<security mode="None" />
Is it possible to do something similiar in CMS 12? We havw two servers and if I update content on one of them the other still shows the old content?I have been trying to find some documentaion how this is done in CMS 12 but with no luck.
If not, how do we make sure that the cache is invalidated in a load balanced environment?
You have a couple options.
Here i explanation of the second one https://stefanolsen.com/posts/new-optimizely-cms-event-provider-for-on-premise-hosting/
Full documenation around this topic for CMS 12 can be found here : Event management (optimizely.com)
Thanks! Stefans example worked just fine after some firewall fixes.