Dzulqarnain Nasir

  • December 18, 2016

    You should be using HTML picture - with workarounds

    One of the biggest culprit to website data traffic, if not the biggest, is images. Due to the increase in the number of devices with high resolution display, content creators have started using high resolution images to improve the look and feel of their websites. This results in large amounts of data needing to be downloaded by everyone, including those not using hi-res displays.

    HTML picture is an extension for the image element that allows us to add multiple image sources based on predetermined rules.

    Read more »
  • November 17, 2016

    My experience moving an EPiServer site to a new project

    Every now and again we get sites that have grown so huge that it becomes necessary to extract certain parts of the site and convert them into separate sites. What was once a simple landing page had turned into a huge member-based system that involves stuff like integration with external service providers. True story.

    Typically the simplest way to solve this little scenario is to simply move the section to the Root node of the EPiServer site, and assign it its own URL in the website configuration tool. But what if you wanted to extract that section out of the project altogether and recreate it as an entirely new project?

    Read more »
  • April 26, 2016

    Setting up your project and TeamCity/OctoPack for front-end builds

    Traditionally, front-end code is compiled locally, the generated files are included in the project and then pushed out to source control. This is a redundant step and one we should get rid of, especially if we’re using build servers like TeamCity, and Octopus Deploy for deployments.

    This is a piece I did for Geta. Read it here.

  • September 02, 2015

    Connecting SQL2012 LocalDB to SQL2014

    New OS means fresh install, which is exactly what I did. I installed the latest Windows OS, along with Visual Studio 2015 and SQL Server 2014. Then I tried opening one of my existing projects running on LocalDB, only to be greeted with this error.


    Read more »
  • May 03, 2015

    Why I'm moving to Sass

    As a front-end developer, I’ve had my fair share of working with CSS preprocessors. Two of the most prominent preprocessors I’ve had the pleasure of working with are Sass and Less. They’re both great, and I still use both of them, but here’s why I’m leaving Less for Sass.

    Read more »