• Learning,  Resources,  Uncategorized

    Articles software developers should read, at least once

    … if not twice. These days, almost every software developer has a blog – so it’s sh*tloads of content around the Internet. Truth is, the good, accurate, long-lasting contents are hard to be found. Most contents are supposed to be obsolete very soon – and it’s OK, because many contents are for a very specific situation in a very specific time. But can we have a collection of the precious contents that are useful not only today, this week, this month, but ten years from now? This is supposed to be a definitive collection of great contents that will be helpful for your entire career as a software developer. It’ll be…

  • Learning,  Random thoughts,  recruitment,  Tips

    Hiring process might suck, and how to fix it

    I recently read this post F*** You, I Quit — Hiring Is Broken and found it interesting. If you have time – read it (and of course you should have, because this blog is far less famous than medium.com – the combination of page views for post in this blog is very likely to be much smaller than that single post). I feel bad for the author for being in such situation – getting rejected 5 times in a row, is a hard thing to swallow. Especially when he is considered famous in developer’s world/ and has big passion in coding. And it’s not the first time, we hear someone rants about the…

  • Commerce,  Episerver

    The quirks of coupons

    If you have been using the promotion system in Episerver Commerce (or should I call it “old promotion system” – the “new promotion system” is almost out of BETA and it will soon be the promotion system), you should know about the coupon – which is an option setting for a promotion. When it is set, the customers will be required to input that special code in order to get the reward, even if their carts fulfilled all other requirements (the subtotal, the lineitems, the shipping method etc.) The coupon in old promotion system is quite basic – you can set only one per promotion, or nothing at all. Advanced…

  • Commerce,  Episerver

    Upgrade your website to Commerce 9

    You know what – Commerce 9 is released. OK, I’m just kidding, it was released 6 months ago, in October 2015. Last week, Commerce 9.12 was released, and at this time of writing, Commerce 9.13 is on the oven just released. So it’s not so new – but with 6 months on the field, I think Commerce 9 has proven it’s stable and production-ready to be your next version. If you are looking for an upgrade to your website, Commerce 9 is the obvious choice. Many customers have successfully upgraded their sites to Commerce 9 – and the results have been very encouraging. But it does not mean that upgrading…

  • Episerver,  Learning

    Understand the retry policies in Episerver

    This is pretty internal stuffs – you will almost never use it yourself (you technically can, but there is no guarantee of backward compatibility whatsoever). I learned the stuff recently and found it interesting enough to share. No matter how powerful your server(s) are, and how reliable SQL Server is, there are chances that a query can result in error. Hell, there are bunches of error codes that can be returned (and I never remember one, Google made a pretty bad habit of forgetting everything). But they can be divided into two categories: The un-retry-able errors, such as a grammar error in your stored procedure, or a parameter is missing,…

  • Tips

    Make Microsoft Edge works with local sites

    At Episerver, we haven’t officially supported Microsoft Edge, yet. Our QA:s do not test on it. And of course no one of us uses it for development. It has a big drawback of not supporting local sites: http://Commercedev/ is a local development site on IIS, which we add to hosts file like this: 127.0.0.1  commercedev

  • Commerce,  Episerver

    Episerver Commerce SearchProvider – demystifying

    This post is an excerpt from my book, but it’s the short one. It looks like there is a confusion of where the searchprovider is used in Commerce Many important features in Commerce Manager use index-based search provider to search for entries – it’s simply faster and more flexible to work with. They might not be truly “real-time”, but they’re close (with the right configuration). The only drawbacks are they require extra processing (for indexing entries), external files/configurations, but the advantages easily overweight any of those drawbacks. There are three search providers provided by Episerver Commerce: LuceneSearchProvider, Solr35SearchProvider, and FindSearchProvider (four if you count SolrSearchProvider as well). LuceneSearchProvider comes as…

  • Episerver,  Random thoughts

    UX design lessons – from a metro perspective

    When I come to a new city, I usually pay close attentions to its metro system. Of course, it rarely shows up in TripAdvisor as an attraction of the city, but for me, it’s not only a necessity (based on a quite tight budget, public transportation is almost always our first choice), but also can tell a lot more about the history of the city, the people and the daily life here. I’m not a traveler myself, I have visited only Rome, Paris,  Venice, Florence London, San Francisco and New York, and of course Stockholm – where I am living. Venice and Florence have no metro I’d know of, and…

  • Catalog,  Commerce,  Episerver

    Import catalog: beware of warning messages

    Recently I worked with a support case from a customer. They complained that the catalog import is too slow for them, it took them 6-7 minutes to import 200 entries. Their catalog is about 50k entries, which is not particularly big, but not small neither, and with that rate, it does mean they will have to wait for days for the catalog imported. This is of course not good and I jumped in when I became available. (In the end, I like performance tuning so much that I find it hard to refuse a case like this) I did try to import their catalog on my development machine – a…

  • Commerce,  Random thoughts

    What not to do with your login/register page

    This post is strictly my personal opinions, it does not represent my employer’s views in any way. Login/register page is essential to any site, especially any Commerce site. You should always follow the proven, established practices, but yet many sites still have issues with their login and register page. Make sure that you do not do anything mentioned below: Use HTTP for login/register page. You might say “What?”. It’s 2016 already and certificate is cheap as hell (even free, if you count Letsencrypt). Still, there are Commerce sites use HTTP for login/register. This, sadly, happens to one of my favorite sites, itsajten: In case of itsajten, there is not much…