This section provides guidelines when developing solutions for a cloud environment, and Episerver Digital Experience Cloud Service in particular. Running your solution in any cloud environment requires a few new strategies. Following these recommendations will help ensure smooth deployment and good site performance.
DXC Service and Azure resources
Although Episerver DXC Service is based on Azure components, you should not create additional Azure resources using your DXC Service account, as any such resources could be deleted during deployment clean-up. However, you can create additional accounts, for example to manage integration with other cloud services.
DXC Service and Web Apps
In Episerver DXC Service, a Web App is a solution built on the Episerver platform, and operating as an Azure Web App including an SQL Database, a BLOB storage, and an Episerver Find index.
A default configuration of DXC Service for packages Group, Corporate, Enterprise, includes one Web App, a CDN and three environments - Integration, Preproduction and Production. You can run multiple websites on one Web App (DXC Service license), without any restriction on the number of websites. The websites will share the same code base, and the same Find search index.
Some specific scenarios may require separated code bases. In this case you can add additional Web Apps to the Group, Corporate, and Enterprise configurations. These Web Apps are included within the same DXC Service, and additional page views or content items will be counted towards the total amount for the primary configuration.
Multisite and Web Apps
- A single Web App means a shared code base which in turn means reduced cost, less complexity, but also shared content and users, as well as shopping carts for e-commerce sites.
- A single Web App allows you to follow best practices for object oriented code reuse, and makes development, upgrading, testing and deployment easier.
- Multiple Web Apps may be required in some cases when fulfilling specific requirements.
See Multisite development for more information about multisite scenarios.
Integrating with Azure AD
Azure Active Directory (Azure AD) is Microsoft's multi-tenant cloud based directory and identity management service. Azure AD provides single sign-on (SSO) access to many cloud-based SaaS applications, and includes a full suite of identity management capabilities. See Integrate Azure AD using OpenID Connect for more information.
Episerver DXC redirects all Episerver logs into .NET Diagnostic Trace, as long as the code uses the Episerver logging abstraction EPiServer.Logging.LogManager. If you are using log4net and deploying to DXC, replace log4net with EPiServer.Logging. See also Logging for more information on switching logging APIs.