How to: Change the Deployment Topology and Application Type

You can switch the application type and server topology for your application at any time.

By using Visual Studio LightSwitch 2011, you can create 2-tier desktop applications, 3-tier desktop applications, and 3-tier Web applications. How you deploy an application depends on the client type and server topology that you select.

  • A 2-tier desktop application runs on an end-user Windows desktop. The database and server components are deployed to the end-user computer.

  • A 3-tier desktop application runs on an end-user Windows desktop. The database and server components are deployed to an Internet Information Services (IIS) server or to Windows Azure.

  • A 3-tier Web application runs in an end-user web browser. The database and server components are deployed to an Internet Information Services (IIS) server or to Windows Azure.

To change the application type

  1. In Solution Explorer, double-click Properties to open the Application designer.

  2. In the Application Designer, click the Application type tab.

  3. In the Client section, select either Desktop or Web.

To change the deployment topology

  1. In Solution Explorer, double-click Properties to open the Application designer.

  2. In the Application Designer, click the Application type tab.

  3. In the Application Server section, select the location where you want to deploy the database and server components.

See Also

Tasks

How to: Manage Application Settings

Concepts

Deploying LightSwitch Applications

How to: Deploy a 2-tier Application

Other Resources

Deployment: Distributing and Maintaining Your Application