How to get translation in Umbraco by dictionary key

This article will demonstrate how to get translation in Umbraco Cms using LocalizationService for a given dictionary key. Defining translations in the Backoffice At this stage, we need some data to work. Login to the Umbraco Backoffice panel. Go to the Translation section. Find the Dictionary section (left panel). Create a dictionary item called “Forms.ContactForm.ThankYouMessage”….

How to set Umbraco CMS DateTime Picker programmatically in AngularJs

Introduction In this short article, I am going to show the steps needed to set up date-time control programmatically in the Umbraco CMS back office. Recently, I had to refresh the date time picker control value under certain business-logic conditions directly in the angularJs controller. I had some issues, so I decided to write this text and share my working code….

3 easy steps to enable WebP image format in Umbraco CMS

How to serve Umbraco images in WebP format? It’s really simple with the WebP plugin (https://imageprocessor.org/imageprocessor/plugins/webp/) – an awesome extension to the ImageProcessor package. With the WebP package and simple setup, it’s possible to expose Umbraco’s images in Google’s WebP format. By the end of this article, you will know what exact steps you need to take to enable…

Enabling cross-origin requests in Umbraco API and Azure

What you will learn In this article, I’ll show how you can resolve Umbraco CMS API CORS policy problems, so you could easily consume Umbraco API from another domain. By the end of this short tutorial, you will know what steps you need to take to: Configure CORS for Umbraco API Fix Umbraco API CORS…

How to handle scripts bundling and minification in Umbraco CMS

Introduction There are many ways to make your Umbraco website load faster. In this article, I’ll cover the bundling and minification technique in Umbraco using native Microsoft.AspNet.Web.Optimization library to show how to optimize scripts. Before we start make sure you’ve read my previous post on – How to handle bundling and minification in ASP .NET. You should follow…

Logging Umbraco Api errors with a custom action filter

How to log exceptions in Umbraco Api Controller? In this short article, I am going to present a simple technique for logging exceptions in UmbracoApi with ActionFilters. There are many ways to handle exceptions in Umbraco CMS, however, logging using filters has quite a benefits: Short implementation time Can be applied globally or only on individual…

How to detect slow responses in Umbraco API?

Introduction In this short article, I am going to present a simple technique for detecting every slow response in Umbraco API with ActionFilters. It can be very useful when you need to: Find slow responses from the Umbraco API. Apply an efficient micro-benchmark technique without fireworks for use in a short time. Locate Umbraco CMS performance bottlenecks. Fix integration issues. Concept outline The principle of the…