Back-End Development

Understanding the HCL Commerce Upgrade from the Consultant’s Perspective

With extensive program upgrades and technical improvements, many businesses are finding its time to upgrade from HCL V7 to the more recent version, HCL V9. We understand that upgrades to any system can be frustrating, extensive, and difficult to navigate, which is why partnering with HCL experts who can walk you through the migration and […]

1600x600 Keyboard

Dynamically Set Connection Strings in Web.Config

If you are struggling to set up the web.config files upon hosting your web application, here is a solution to how you can configure your Web.Debug.config and Web.Release.config file so that your application runs dynamically on both the dev and prod environments.   Web.Config Leave the original web.config file as it is. Make sure you […]

Hands typing at keyboard

Configuring Web.config to Redirect to Azure Website Instead of Localhost

If you have created your App Service on Azure but it redirects to a localhost instead of the Azure website URL upon authentication, there are some changes you will have to make in your Web.config file. In our example, we will be using Microsoft.Owin.Security.OpenIdConnect library for authentication (Azure AD). We are using .NET Framework 4.7.2 […]

Abstract Lights

Defer offscreen images in Episerver

Lazy loading images is a technique for modern web developers where you instruct the client’s browser to only download images as they are needed.  This leads to tremendous performance improvements, as client devices do not waste bandwidth downloading assets which are not being rendered.  To achieve this, we’ll use some client side mechanisms from css-tricks.com […]

Stack

Set up Sitecore Solr Collections Using SearchStax

This article explains the steps needed to set up Solr Cloud collections for your Sitecore environment using SearchStax. Assuming you already have Solr Cloud Manager Environment set in SearchStax, follow the below steps to set up the Solr Cloud environment. 1. Upload Solr Configurations The first step is to get the compatible Solr schema and […]

Hands typing at keyboard

Episerver and Alternate Text for Images in the TinyMCE Rich Text Editor

Last week I received a nasty bug report regarding Accessibility and Episerver.  Within Rich Text areas in Episerver, the file name is injected by default for alternate text.  This hurts your accessibility score and is a detrimental impact to visually impaired users.  Coincidentally, others in the community have written about and questioned how to solve […]

Typing on laptop

.NET MVC Framework – Async Calling DbContext In a Controller Using a Provider Class

Hello all! In this last part of the tutorial series, I will be going over how we can query data from the database and pass it to the view by asynchronously calling DbContext in the controller. Overview 1) Create a DTO (Data Transfer Object) in ’03 – Domain > Models’ folder. public class CustomerDto { […]

Andes Blog 600x400

.NET MVC Framework – Publish Database and Reverse Engineer

Welcome to Part 2 of the tutorial! Now that we have the table, scripts, and post-deployment scripts from Part 1, we are going to publish the table to our local server, reverse engineer to create the Dbcontext, and add other components like providers and models (DTOs and View Models).   The final structure we will […]

Pexels Maurício Mascaro 712786

Episerver – Handling an SVG image type and displaying it using a Path tag

Recently, I came across a requirement from a client that needed all SVG media types to render using the internal XML <Path> in the DOM, rather than using the standard <Img> tag. This was a tricky one and there wasn’t very much information about how to accomplish this, as its not necessarily a common request. […]

Finish Banner

Apache Sling JVM Performance Followup

In a comment on my previous post Apache Sling JVM Performance, Gil Tene made an insightful comment about the potential possibility of performance impact from speed from the underlying environment or other tests. To accommodate for this possibility, I re-ran the tests inside a loop, randomizing order of the JVM execution for each iteration 25 times. […]

Why Sitecore Developers Choose Perficient for jobs

Database-First EF Setup on VS .NET MVC Framework – Initial Folder Structure

Hello all! Before you begin reading, keep in mind that this tutorial is designed for beginners. As such, it covers every step without skipping parts that might be obvious to some. This tutorial is made possible thanks to Josh Kostal, who taught me majority of what is covered in this post. The reason you have […]

Episerver Score Image Crop Tool@1x

Responsive Image Cropping for Episerver is Here!

SCORE for Episerver – New Image Crop Tool Responsive Web Design (RWD) offers a cost-effective, high quality and easily managed delivery of content to a variety of devices. Many teams build sites in RWD by using custom or popular responsive frameworks like Twitter Bootstrap or Foundation Zurb. But how can we combine the responsive design […]

Load More