Develop DXP
Select Opti ID or Entra ID login
You can select Opti ID or Microsoft's Entra ID to authenticate users in your system. Consider the following factors to select the login option that best aligns with your organization's security needs and user experience.
Build a headless solution with Content Delivery API
In a headless solution, the website presentation layer is decoupled from the back-end content management and ecommerce functionality. This is useful, for example, when pulling content data into other systems, making it accessible for display on any output device.
Configure environments
When you deploy to a production environment, ensure the correct configurations are applied. In a Production environment, you should never use credentials, tokens, or endpoints from a Preproduction environment.
Develop a multisite solution
In a multisite solution, you need to decide whether the sites can share the same code base and if there is content that the sites cannot share. Optimizely Content Management System (CMS) can host multiple websites using a shared database and the same content assets.
CDN recommendations
The purpose of a CDN is to ensure high availability when serving content to visitors. A CDN consists of a globally distributed network of proxy servers deployed in multiple data centers.
Host a front end with Optimizely
You can use Optimizely to build and host your NextJS site front end with an Optimizely back end for Optimizely Content Management System (SaaS). Supported rendering modes with NextJS are Static Site Generation (SSG) and Server Side Rendering (SSR).
Next.js ISR caching and Optimizely Graph webhooks
Implement Incremental Static Regeneration (ISR) with Redis caching and Optimizely Graph webhook-based cache invalidation for an Optimizely frontend running on DXP. The caching and invalidation flow works as follows ISR renders pages statically and caches them with a configurable revalidation interval.
Consumption metrics
Setting the usage parameters correctly, especially for single-page applications, ensures the website traffic volume monitoring is correct. You define the consumption levels when setting service tiers based on the estimated amount of generated traffic.
Configure logging
The default logging configuration for Azure Web Apps in an environment in DXP has the following setting Application logging is enabled , and logs are stored in the BLOB storage with 90 days retention . You can access application logs for environments from the DXP Management Portal as a live stream or download them for offline analysis.
Logging options
Manage custom database tables
You may apply custom database tables when you need to handle data that does not conform with the provided Optimizely table structure. When you create an Optimizely Content Management System (CMS) site from the Optimizely Visual Studio integration, it automatically creates the database using the Optimizely schema.
Create a custom maintenance page
When running Optimizely Digital Experience Platform (DXP), you can create a customized maintenance page to be displayed if you have to take down the site, for example deployments. Create an HTML page called maintenancepage.
Configure the email server
For Optimizely to send out email notifications, configure your email server with a server endpoint that is reachable from the site and can send emails using a specified from-address. DXP provides access to a cloud-based email service for the automated sending of transactional emails for website communication.
Manage session states
Page load time is important because it correlates with increased conversion rates and better search ranking. Turning off the session state can reduce average page load time by enabling parallel processing of requests.
Warm up sites
See information on scaling up an app https //docs. microsoft.
Customize health checks
ASP. NET Core offers health checks middleware and libraries for reporting the health of app infrastructure components.
DXP and SEO
SEO (Search Engine Optimization) is the art of understanding your website visitors and optimizing your site to the needs of those visitors, including things like site speed, image optimization, and well-structured navigation. If you succeed, your website will rank higher on search engines like Google or Bing SEO is an enormous area that employs many people, and its details are not included in the scope of this developer guide.
Access Azure information
The Optimizely cloud account provides self-service access to the following DXC Service Management Portal for deployment DXC Service Dashboard for usage information Access to information in Azure for your projects Read access to see information for the Integration environment Contributor access to modify settings for the Integration environment You can log in and access Azure information using your Optimizely cloud account . When you receive an invitation email from Optimizely, you can log in to the Azure portal.
Troubleshoot DXP
Visit the Microsoft Azure Status dashboard https //azure. microsoft.
Troubleshoot Application Insights
Optimizely Digital Experience Platform (DXP) uses Microsoft's Application Insights with ready-to-use tools to manage application performance and monitor Web Apps. Application Insights lets you troubleshoot performance issues and exceptions in the Web App.
Troubleshoot VPN connections
The Azure App Service connects to the Azure Virtual Network Gateway (vnet) through point-to-site VPN. This has a site-to-site VPN connection to your local network gateway, to which your on-premises resources are connected (such as web and database servers).