A fix for an issue in Commerce Sample Application
We have a situation on one of our live site when aspnet_Users and aspnet_Profile has grown massively because of Google and Screaming Frog crawl . On further investigations we found that we were storing anonymous entries also in profile. Project has inherited this bug from a class used for MarketStorage borrowed from EPiServer Commerce Sample application. Although it has been fixed in sample application but sample packages are not delivered under Continuous release process. Therefore I am writing this Blog for reference only and can be helpful to developers if they have implemented the same class for EPiServer Commerce Markets.
Complete details can be found http://world.episerver.com/Modules/Forum/Pages/thread.aspx?id=114822
For existing entries you will need to run manual script, I will add that when it’s ready.
To avoid further entries a code sample originally written by Quan