K Khan
Jan 15, 2015
  3139
(0 votes)

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

http://world.episerver.com/code/K-Khan-/marketstorage-fixes-in-commerce-sample-application/

Jan 15, 2015

Comments

Please login to comment.
Latest blogs
Announcing new library: SettingsManager

When you run .net app, there have been a few ways to store settings. Those can be set via appSettings.json, or via Azure Portal AppService...

Quan Mai | Apr 30, 2026

From Prompting to Production: Optimizely Opal University Cohort and the Future of Agentic MarTech

Most organizations today are still playing with AI. They experiment with prompts, test ideas in isolated chats, and occasionally automate a task or...

Augusto Davalos | Apr 28, 2026

Six Compelling Reasons for Upgrading to CMS 13

Most software updates ask you to keep up. Optimizely CMS 13 asks something different — it asks whether your digital strategy is built for a world...

Muhammad Talha | Apr 28, 2026

Optimizely CMS 13 breaking changes: GetContentTypePropertyDisplayName

When upgrading from CMS 12 to 13, resolving property display names may not work as before. Here’s what changed.

Tomas Hensrud Gulla | Apr 27, 2026 |