Projects: The Container for Your Application
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.
You can create the following types of projects by using LightSwitch in Visual Studio 2012 Update 2:
Uses New Solution Model
LightSwitch Application (Visual Basic)
Creates an application with a Silverlight client, using Visual Basic code for both the server and client components.
LightSwitch Application (Visual C#)
Creates an application with a Silverlight client, using C# code for both the server and client components.
LightSwitch HTML Application (Visual Basic)
LightSwitch HTML Application (Visual C#)
The project template that you choose is just a starting point. You can add an HTML client to a LightSwitch 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. If you add an HTML client to a LightSwitch Application project, the project is upgraded to use the new solution model.
If you haven’t installed Visual Studio 2012 Update 2, you can't choose the Lightswitch HTML Application templates or add an HTML client to a project.
A LightSwitch project uses one of two solution models, or Solution Explorer views, depending on the types of clients that the project contains. A LightSwitch Application project uses the same model as earlier versions of LightSwitch, with Data Sources and Screen nodes in Solution Explorer.
A Lightswitch HTML Application project uses a new model, which has Server and HTML Client nodes.
When you add an HTML client to a LightSwitch Application project, the solution is upgraded to the new model, and the HTML client becomes the default startup project. After the upgrade, you must have Visual Studio 2012 Update 2 installed to open the project.
Describes common tasks for working with projects.
Contains links to topics about how to set project properties.
Describes security features and considerations.
Describes how to create an application that implements authentication and authorization.
Demonstrates how to create an application that supports multiple languages.
Describes how to export data from an application.
Provides information about compatibility between versions of LightSwitch.