DownloadIfMissingFileBlob Provider version 1.6 for #EPiServer

Ever restored the Production database to your developer environment and got a website with broken images? This lightweight AddOn keeps your local environment blob directory up to date.

icon of user profile

Published 6th September 2017
For Episerver Version 9 and 10

Version 1.6 includes:

  • log4net
  • async tasks
  • full support for thumbnail properties.

This AddOn provider copies (on page load) the file blobs from production to your local environment, or to your staging/test environment.

For whom?

This AddOn is heaven for developers, get rid of copying the production blobs to your local or test installations.

How it works

When the EPiServer CMS page is binding the model to the page, the Provider GetBlob(URI id) is called for every Blob used on the loaded page. The “Download If Missing File Blob Provider” check if file exists on the local blob directory, if not it requests the file on the Production server and downloads the file with the friendly URL.

The DownloadIfMissingFileBlobProvider is using a web request to the production server since the local database is locked during request(because of possible risk of eternal loop).

The Provider works for the assetsystem in Episerver 9 and 10. It works in parallell with ImageVault but does not operate images in ImageVault. This provider is overriding and extending the default FileBlobProvider from Episerver.

Installation

Available on nuget.episerver.com in VS Package Manager Console ‘install-package Gosso.EPiServerAddOn.DownloadIfMissingFileBlobProvider’. It is dependent to EPiServer Core.

The DLL is installed in the modulesbin-directory. (you may need to add to source-control manually)

More config options: ProjectSite on github

SEO terms
  • Update assets files automatically
  • Download assets system automation
  • Episerver fileprovider addon
  • No more broken images
  • Solution for abandoned unreferenced blobs