Projects: The Container for Your LightSwitch Application

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

You store and organize the pieces of your application by using projects in Visual Studio LightSwitch. Each application that you create has its own project, which contains the data entities, screens, queries, and resources that are required to build the application.

All these pieces are stored in files, but you don't have to think of a project in terms of files. In fact, the default view of a project in Solution Explorer provides a logical view of the application.

Project Types

You can create the following types of projects by using LightSwitch in Visual Studio 2013:

Project Template Description Uses New Solution Model
LightSwitch Desktop Application (Visual Basic) Creates an application with a Silverlight client, using Visual Basic code for both the server and client components. No
LightSwitch Desktop Application (Visual C#) Creates an application with a Silverlight client, using C# code for both the server and client components. No
LightSwitch HTML Application (Visual Basic) Creates an application with an HTML 5 client, using Visual Basic code for the server component and JavaScript code for the client component. Yes
LightSwitch HTML Application (Visual C#) Creates an application with an HTML 5 client, using C# code for the server component and JavaScript code for the client component. Yes

The project template that you choose is just a starting point. You can add an HTML client to a LightSwitch Desktop Application project, and you can add a Silverlight client to a Lightswitch HTML Application project. The server code and entity model are shared between clients, and you can’t change the language.

Title Description
How to: Create, Open, Save, or Delete a Project Describes common tasks for working with projects.
Managing Settings in LightSwitch Contains links to topics about how to set project properties.
Security Considerations for LightSwitch Describes security features and considerations.
How to: Enable Authentication in a Silverlight Client App Describes how to create an application that implements authentication and authorization.
Walkthrough: Localizing a LightSwitch Application Demonstrates how to create an application that supports multiple languages.
Exporting Data to Microsoft Excel Describes how to export data from an application.
Upgrading Projects Created in Earlier Versions of LightSwitch Provides information about compatibility between versions of LightSwitch.

See Also

Visual Studio LightSwitch