How to: Change the Type of a LightSwitch Application

By using LightSwitch, you can create 2-tier desktop applications, 3-tier desktop applications, and 3-tier Web applications. You can switch the application type for your LightSwitch application at any time.

  • 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 Microsoft 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 Microsoft Azure.

To change the application type

  1. In Solution Explorer, choose the ProjectName.DesktopClient node, where ProjectName is the name of your project.

  2. On the menu bar, choose Project, ProjectName.DesktopClient Properties.

  3. In the DesktopClient designer, choose the Client Type tab.

  4. Under Client, choose either the Desktop or Web option button.

See Also

Tasks

How to: Manage Application Settings in LightSwitch

Concepts

Deploying LightSwitch Applications

How to: Deploy a Two-tier LightSwitch Application

Other Resources

Deployment: Distributing and Maintaining Your Application