[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Collapse]eXpressApp Framework
 [Expand]Fundamentals
 [Expand]Getting Started
 [Expand]Concepts
 [Expand]Design-Time Features
 [Collapse]Deployment
  [Collapse]Deployment Tutorial
    Choose an Appropriate Location for Deployment
    Xcopy Deployment of a Windows Forms Application
    Xcopy Deployment of an ASP.NET Application
    Publish Wizard Deployment of a Windows Forms Application
    Publish Web Deployment of an ASP.NET Application
    Setup Project Deployment of a Windows Forms Application
    Setup Project Deployment of an ASP.NET Application
    Set Up the Database Connection
    Database Security References
    Connect Clients to the Terminal Server
    Application Update
    Deployment Troubleshooting Guide
   Apply Different Configurations
   Update Application and Database Versions using the ModuleInfo Table
   Redistribution and Deployment
   Medium Trust Support (Obsolete)
   Deployment Recommendations for ASP.NET and Mobile Applications
 [Expand]Task-Based Help
  Frequently Asked Questions (FAQ)
 [Expand]API Reference
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Deployment Tutorial

The aim of this tutorial is to provide step-by-step recommendations on how to deploy an XAF application in a production environment. It is presumed that you have already reviewed the Comprehensive Tutorial (MainDemo Application). Here, you will learn how to deploy the application you developed. Lessons in this document refer to the simple application (called MySolution) you developed while performing the 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 one of the demo applications that ships with XAF, or your custom application. Similarly, you can 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:

  • Developer Workstation - a PC with Microsoft Visual Studio and XAF installed. For instance, it can be your own workstation.
  • End-User Workstation - one or more PCs with neither Microsoft Visual Studio nor XAF installed. Your aim is to deploy the XAF application to these workstations.
  • Database Server - a server in which a DBMS is installed. Generally, End-User Workstations must have network access to this server.
  • Web Server - a server in which Microsoft Internet Information Services (IIS) are installed. This server must have network access to the Database Server and be accessible from the end user's local network or via the Internet, if required.
  • Terminal Server - a server in which Microsoft Terminal Services are installed. This server must have network access to the Database Server and be accessible from the end user's local network or via the Internet, if required.
Note

The Database, Web and Terminal Servers may be physically located on the same server.

Deployment Tutorial Contents

If you have no 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. However, in this instance, it is recommended 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.

Expanded See Also

Is this topic helpful?​​​​​​​