-
Reminders when changing user on ImageVault Core Windows Service
We needed to change the service account user running the ImageVault Core service in my current client’s production environment the other day. Here are a few reminders on what this actually means; that’ll likely also be useful setting up new environments. Changing user on ImageVault Host Service (MyInstance) ImageVault Core’s service needs access to your…
-
Easy way to manage global settings in multilanguage EPiServer website
There are many different ways to handle global settings in an EPiServer website. Common ones include keeping them in a separate tab on the EPiServer site’s start page, creating a separate settings pages, or using plugins for storing them directly in the EPiServer database. To make things more manageable for a client’s EPiServer website we…
-
ImageVault publishing sources and host names in a multisite EPiServer environment
We recently added a second website to a client’s EPiServer installation, and wanted to use the existing ImageVault installation here as well. We hit a few snags, but nothing really difficult to handle. ImageVault licenses and publishing sources While EPiServer counts the number of sites in an EPiServer installation for their licenses, ImageVault does a…
-
Changing NLog minLevel LogLevel at runtime in EPiServer
We moved from log4net to NLog in my current client’s EPiServer 8.5 website last year (see Using NLog with EPiServer and log4net for more information). Some time ago we received a request about being able to alter the log level at runtime, without editing configuration files on the servers. Reasonable enough; we already had read…
-
ImageVault Core unable to retrieve large files during load test
We did a series of load tests this morning on the client’s new public EPiServer website and found an issue with large files being supplied by ImageVault; that is, files large enough as not to be stored in the database but rather on the disk. Already at 5 concurrent requests to the same ImageVault resource,…
-
Encrypting connectionStrings for ImageVault Core
Encrypting sensitive information in configuration files seems rather obvious when working with web development. In my current project I got a chance to implement the use of ImageVault 4 in our EPiServer 8 website, and started looking into how I would go about encrypting the connectionStrings file. RSA encryption on ImageVault Core’s connectionStrings For a…
-
PowerShell script example for copying correct configs based on server machine name in multi server environment
As a complement to the previous article on Extending EPiServer MSBuild config transforms to provide server specific configuration for TCP EventReplication and Licenses I wrote a small Windows PowerShell script example on how you may copy the proper configuration files to the proper server automatically during deploy. This script is available at GitHub. Copying files…
-
Extending EPiServer MSBuild config transforms to provide server specific configuration for TCP EventReplication and Licenses
I encountered an issue this week setting up the production environment for my current client, as it turned out that we would not be able to use EPiServer‘s UDP multicasting between our servers. Hence, we would have to configure the use of TCP for the EventReplication service; meaning different configuration files for each server. As…
-
Automated migration of legacy language files to database initialization classes for the EPiServer language tool
I wrote a small console application to ease the migration of the old EPiServer language files generating language tool initialization classes. These classes are used by the database based language tool from a previous article. Source code at GitHub (Binary). See readme.txt file for instructions.
-
ImageVault 4 MediaStreamService URL exposed on EPiServer 7.5 website
I ran into a small ImageVault 4 configuration error setting up a new testing environment for a client’s EPiServer 7.5 website the other day; all of our ImageVault pubished media URLs had stopped working. Or, actually they worked just fine as long as you tried accessing them from the server. In all of our old…
-
Database persisted translations with edit tools for language file resources in globalized EPiServer websites
A few years back I wrote a small tool allowing web administrators to update EPiServer CMS 6 R2 language files by themselves without the help of their website developers. There were of course a few downsides to this, such as updated deployment procedures as not to lose any new translations. I took a few hours…
-
Updated sitemap.xml generator functionality with bundle and batch support using sitemapindex
I updated the previous sitemap.xml generator functionality with new support for sitemapindex with batching and bundling of different types of sitemap URLs. My current client has the need to manually add sitemap.xml entries as a supplement to the generated ones through an administrator interface; hence the bundling functionality. Source code at GitHub.
-
Sitemap.xml generator engine for Multi language EPiServer 7.5 websites
A sitemap.xml file is a useful tool for helping search engines to find relevant pages on your website. This sitemap generator engine for EPiServer is based on loose strategies supporting globalized multilingual content; in other words, mysite.se/sitemap.xml and mysite.no/sitemap.xml will return swedish and norwegian URLs respectively. The strategy based pattern allows for easy custom additions…
-
Automatically give visitors proper focus area on ImageVault 4 images on your EPiServer 7.5 websites
In my current project there is a client need to handle massive amounts of photographs and images in a simple manner. To keep all of them in one well organized place we decided to go with the latest ImageVault solution from Meriworks AB. To meet certain client specific needs we extended the existing functionality with…
-
Custom property Checkbox wrapper as Dynamic Property in EPiServer 7.5
We needed to add a checkbox as a dynamic property in my current client’s EPiServer 7.5 site last week. It’s not as straight forward as one might think due to the way that dynamic properties are handled. If you add a dynamic checkbox property through admin mode, together with a property decorated with the [Ignore]…
-
Rewrite URL before ValidateInputIfRequiredByConfig throws ‘A potentially dangerous Request.Path value was detected from the client (&).’ exception
A client are on their way to migrate a large website from an old platform to a brand new EPiServer 7.5 site running on an IIS webserver. We created a small redirection engine to handle all incoming legacy URLs redirecting them to the proper pages on the new website, so as not to lose search…
-
ELMAH dll or custom assembly with modules breaking ImageVault UI in EPiServer 7.5 website
Some time ago I ran into some problems getting Meriwork‘s ImageVault to function on an EPiServer 7.5 website together with the ELMAH logging tool. Today I experienced the same thing, but this time with my project’s own custom Core assembly; I thought that it might be useful to write a short note about it. The…
-
EPiServer 7.5 ArgumentException: Unable to find a module by assembly ‘{assembly}, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’
I ran into an ArgumentException setting up a custom plug-in decorated with the IFrameComponent attribute today; I wanted to have it appearing in the right hand area of the EPiServer edit mode. After setting up all views, models and so on, I got the following exception when I tried accessing the site. I fixed this…
-
Adding items to EPiServer’s global menu in edit/admin mode
We needed to create a custom toolbox in EPiServer‘s edit mode as a central place of keeping additional functionality for a client’s 7.5 website. The global menu seemed like an excellent place to do this. For a brief description on how to get EPiServer’s global menu on your own pages see this previous article. Here…
-
Getting EPiServer’s Global menu to work on your own pages
We added a tools menu alternative to EPiServer‘s global menu in my current project, and thought it’d be great if we could make it feel like the editor was still in EPiServer’s edit mode when using our custom tools. I had to do a bit of looking through EPiServer’s source code getting this to work,…