expressappframework-112691-deployment.md
In addition to building XAF business applications, you should be familiar with appropriate methods for deploying and updating these applications. For this purpose, you may need to use configuration settings that differ from the ones applied for such application compilation modes as debugging, testing, etc. Topics in this help section will explain how to modify configuration files easily, and describes approaches to deploy XAF applications.
Note
Single-file deployment and executable option (<PublishSingleFile>) is not supported in ASP.NET Core Blazor, WinForms, and Web API applications.
The aim of these topics is to deploy an XAF application in a production environment. It is assumed that you have already reviewed the In-Depth .NET WinForms & Blazor UI (Employee Manager). In this section, you will learn how to deploy the application you developed. Most of the lessons in this section refer to the simple application (called MySolution) you developed in the previous lessons in the XAF Tutorial. Microsoft SQL Server is used as the database management system (DBMS). However, you can use any XAF application, such as the demo application that ships with XAF, or your custom application. You can also use any DBMS supported by XAF.
Note
Use the Assembly Deployment Tool to analyze your project and obtain the list of assemblies you should deploy. Compare the assemblies the tool identifies to the redistributable assemblies list available in the End User License Agreement (EULA).
In a typical production environment, there are a number of computers playing various roles. Throughout this tutorial we use the following naming conventions:
Note
The Database, Web and Terminal Servers may be physically located on the same server.
Deploy an XAF ASP.NET Core Blazor UI, Middle Tier Server, and Web API Service Applications
Deploy an XAF WinForms Applications
If you do not have access to a real production environment but still want to perform this tutorial for training purposes, you can use the DBMS and Web Server installed in the Developer Workstation. In this case, we recommend that you create a virtual LAN using virtualization software so that you can perform all of the steps described in the tutorial.
To begin, refer to the Choose an Appropriate Location for Deployment topic.
If you run into an issue when deploying an XAF application, take a look at the Deployment Troubleshooting Guide help topic. The topic provides a list of common deployment problems and ways of resolving them.
The following topics provide general information on XAF applications deployment.