K Khan
Dec 26, 2023
  2134
(0 votes)

Top tip - Health Checks

Whether your site is a DXP or an Azure-hosted site, you may need to determine the state of your application as if it's healthy or unhealthy. EPiServer.Cms.HealthCheck will provide you an endpoint as /epi/health, The Blog (https://world.optimizely.com/blogs/scott-reed/dates/2023/3/optimizely-dxp-health-checks-and-creating-custom-checks/) by Scott Reed explains this setup for CMS 12 in detail. It doesn't limit us to service health only, Service can be extended for many other scenarios such as listing the vulnerabilities, and checking up on some configurations or DB table sizes. The blog is a bit old but still worth reading (https://www.codeart.dk/blog/2021/5/new-project-optimizely-episerver-health-checker/).

"love what you do"

Dec 26, 2023

Comments

Scott Reed
Scott Reed Jan 2, 2024 03:35 PM

100% it's amazing how limited understanding about the healthcheck endpoint is in DXP/Azure but facinating how it all works. Thanks for the callout :-) Happy new Year

KennyG
KennyG Jul 8, 2025 07:16 PM

I just stumbled on this endpoint. Why isn't this advertised more?

Please login to comment.
Latest blogs
Optimizely Opal: How to Build Effective Workflow Agents

If you're building workflow agents in Optimizely Opal, this post covers how specialized agents pass context to each other, why keeping agents small...

Andre | May 20, 2026

ReviewPR: An Azure Function That Reviews Your Azure DevOps Pull Requests With Claude

A while back I wrote about an  Azure Function App for PDF creation that we use to offload PDF rendering from our Optimizely DXP site. That same...

KennyG | May 19, 2026

Accelerating Optimizely CMS and Commerce upgrades with agentic AI (Part 2 of 2)

The Real Transformation in Optimizely CMS 13: Why the Upgrade Itself Is the Easy Part. A field-tested playbook for enterprise teams moving from...

Hung Le Hoang | May 18, 2026

Is the most powerful AI model really the best value?

Artificial Intelligence is already becoming part of everyday software development. Developers now use AI tools to generate code, write documentatio...

K Khan | May 16, 2026