benwong.me

  • About

Author Archives: ben

Using Content Picker Type for Macro Parameter in Umbraco

Posted on Saturday, May 5th, 2018 by Ben Wong
Tags: content picker, partial view macro, umbraco

For example, if you have a parameter called Widget that currently uses the original content picker the following would return an integer node id. To convert the UDI string into an IPublishedContent object, it needs to be parsed and then … Continued

How to move the Visual Studio Code extensions folder on Windows

Posted on Monday, April 30th, 2018 by Ben Wong
Tags: visual studio code

I recently started using Visual Studio Code at work. We have a size limit on our profile and VS Code’s extensions folder chews up space very quickly. So I had to work out how to move the extensions folder from … Continued

How to configure Umbraco ModelsBuilder to generate models in a separate project

Posted on Saturday, January 20th, 2018 by Ben Wong
Tags: modelsbuilder, umbraco

When you first install Umbraco, Models Builder is configured by default to run in PureLive models mode and generates the model classes in the ~/App_Data/Models folder in the Umbraco.Web.PublishedContentModels namespace. If you’re like me and want more control over namespacing … Continued

Tip: Best way to copy files to and from Azure Blob Storage

Posted on Sunday, February 5th, 2017 by Ben Wong

Last week I had to copy some files from Azure Blob Storage. Microsoft have created some new tools since the last time I had to do this. There’s now Microsoft Azure Storage Explorer and azcopy. The MS Azure Storage Explorer … Continued

How to set up Gulp to optimise PNG images using Zopfli

Posted on Sunday, January 3rd, 2016 by Ben Wong
Tags: gulp, imagemin, png, zopfli

Jeff Atwood posted about using Zopfli to optimise PNG images. Here’s how to set up Gulp to do it. I’m assuming you already have a project with Gulp set up that uses gulp-imagemin. Install imagemin-zopfli by running the following on … Continued

← Older posts

Recent Posts

  • Using Content Picker Type for Macro Parameter in Umbraco
  • How to move the Visual Studio Code extensions folder on Windows
  • How to configure Umbraco ModelsBuilder to generate models in a separate project
  • Tip: Best way to copy files to and from Azure Blob Storage
  • How to set up Gulp to optimise PNG images using Zopfli

Recent Tweets

Tweets by @benwong

© 2023 benwong.me