• Catalog,  Commerce,  Episerver

    Speed up your catalog indexing performance – part 2

    Almost two years ago I wrote part 1 here: https://vimvq1987.com/speed-catalog-entries-indexing/ on how to speed up your catalog indexing performance. If you have a fairly big catalog with frequent changes, it might take longer time than necessary to build the index incrementally. (Rebuild index, in other hands, just delete everything and rebuild from scratch, so it is not affected by the long queue in ApplicationLog). I have seen some cases where rebuilding the entire index, is actually faster than waiting for it to build incrementally. The tip in previous blog post should work very well if you are using anything lower than Commerce 11.6, but that is no longer the case!

  • Commerce,  Debugging,  Episerver

    A curious case of memory dump diagnostic: How Stackify can cause troubles to your site

    It’s been a while since my last blog post, and this time it will be fun time with windbg. One of DXC customers has been having problem with instances of their site hang and restart. We at Episerver takes the availability and performance of DXC sites very seriously, therefore I was asked to help diagnosing the problem. It’s something I’d like to do and to learn anyway, so game is on. The golden standard for looking at the kind of those problems is still the tried and trusted Windbg. With the help from the Managed Services Engineer, I was able to access several memory dumps from the site. Most of…

  • Book,  Commerce,  Episerver

    Episerver Commerce: A problem-solution approach is now draft complete

    6 months ago I announced that I was working on a second book on Episerver Commerce. Unlike the first one where I tried to provide a systematic approach about the framework, this book focuses on the bite-size recipes, each one is a solution to solve a real world problem. It’s one problem solved, at a time. The world is big and the possibilities are endless, there might be more than one solution to a problem, but I tried to give the best one to my knowledge, experience. I hope that by talking about it, I also give information about how the API:s work, what to use, what should be avoided.…

  • Catalog,  Commerce,  Episerver

    Getting all non published variations

    I got a question from a colleague today: A customer has multiple languages (8 of them). They need to make sure all variants are published in all languages. That is of course a reasonable request, but there is no feature builtin for such requirement. But good news is that can be done with ease. If you want to try this as practice, go ahead – I think it’s a good exercise for your Episerver Commerce-fu skills. To do this task, we need the snippet to traverse the catalog from here¬†https://leanpub.com/epicommercerecipes/read_sample

  • CMS,  Commerce,  Episerver

    Watch out for Singletons

    If you are a seasoned Episerver developer, you should (and probably, already) know about the foundation of the framework: dependency injection. With the Inversion of control framework (most common, Structuremap, but recent versions of Framework allow much more flexible options), you can easily register your implementations, without having to manually create each and every instance by new¬†operator. Sounds great, right? Yes it is. And Episerver Framework allows you to make it even easier by this nice ServiceConfiguration¬†attribute: [crayon-5cb70de62ca57907207947/] so your class will be automatically registered, and whenever you need an instance of MyClass, IoC framework will get the best instance for you, automatically, without breaking a sweat. Isn’t it nice?…

  • Catalog,  Commerce,  Episerver

    Multiple catalogs: Without catalog name(s)

    My previous blog posts about multiple catalogs in multiple sites setting here and here has helped one customer (hopefully more) to address their problem. They tried the approach and it works for them. Now they came back and ask if they can remove the catalog name from the URL entirely. Is that something that can be done. Fortunately, yes. Before moving on, let’s be clear: this is obviously custom development and is not officially supported by Episerver. I.e. it’s neither tested and documented. Normally you would have to go to Expert Services for such requirement. For this blog, I provide those samples for free (you don’t even have to buy…

  • gaming,  reviews

    Super short review of Mario + Rabbids: Kingdom Battle

    Mario + Rabbids: Kingdom Battle is the second Switch game I played, and the first one I actually enjoyed. Plus: It’s a Mario game Beautiful and vibrant world designs. In fact it might be the most cute game I’ve played. Can’t wait to play it with my children (but given it’s rated ESRB 7+, it’ll be quite some time. It’s XCOM without creepy creatures and scary moments. It does not have the strategy/tactical depth XCOM 2 has to provide, but it’s fun nonetheless. It’s easy to restart a battle and play differently for different outcome. The game is, surprisingly, smooth on Switch. Can’t say the same for XCOM 2 on…

  • gaming,  reviews

    Super short review of God of War PS4

    One of the iconic characters on PlayStation, Kratos is known for his super violent nature, a tragedy past of betrayal, a thirst for revenge – and God of War is known for its brutal combat when you kill your enemies in most violent ways possible. The last major game in the series was God Of War 3 on PS3, released in 2011. 7 years is a long time to wait – and did Sony Santa Monica soft reboot of the series live up with the expectations? I’m happy to say, it does, and some more. I’m still early hours into the game, but yet I’m very impressed. An older Kratos…

  • Commerce,  Episerver,  Performance

    Index or no index, that’s the question

    If you do (and you should) care about your Episerver Commerce site performance, you probably know that database access is usually the bottleneck. Allowing SQL Server works smoothly and effectively is a very important key to the great performance. We are of course, very well aware of this fact, and we have spent a considerable amount of time making sure Commerce database works as fast as we could. Better table schema, better stored procedures, better indexes, … we have done all of that and will continue doing so when we have the chances. (And if you find anything that can be improved, you are very welcome to share your finding…

  • gaming,  ranting,  reviews

    A super short review of Xenoblade Chronicles 2

    I’m still just 1/3 way through the game. Here’s some of my thoughts so far Hit: Gorgeous world. No it’s not the level of graphic detail of Horizon Zero Dawn, but given Switch’s processing power, the game looks absolutely amazing. Pyra is really cute (Talking about her face) Miss Pyra is overly sexualized. .Does Monolith need to let her wear a thong into battle. While it’s common in Japanese Role Playing Games (“fans service”, they said), it’s not what gaming should be. The fetch quests are really, really boring. They need to die. Looting is tedious. Too many “collection points”, too little value or interest for each of them. The…