Questions tagged [visual-studio-lightswitch]

Microsoft Visual Studio LightSwitch is a rapid application development tool for creating data centric Silverlight or HTML5 applications.

LightSwitch is a rapid application development tool for creating data centric Silverlight or HTML5 applications. Silverlight client can be extended using custom controls and RIA Services data sources. LightSwitch applications focus solely on data entry and provide no built-in support for reporting, although 3rd party reporting extensions are available. Applications created with LightSwitch can be deloyed as Windows desktop applications (using the WCF service host to create local RIA services), in a 3 tiered LAN configuration, as web applications hosted on IIS 7, or using the Microsoft Azure platform.

Visual Studio LightSwitch version 1.0 was released on July 26, 2011. It appears in two configurations: a simplified version of Visual Studio that can only build LightSwitch applications, and as a project type within Visual Studio Professional or better. A trial copy can be downloaded from the Microsoft website here.

Other useful resources include:

1073 questions
7
votes
1 answer

How do I create a button on a "Create New Screen" that will Save, Close and Start a new "Create New Screen" in Lightswitch?

I have a VS 2015 LightSwitch Desktop project in which users will need to enter a large number of records and I would like to streamline the process a bit. I would like to add one button that will Save the current record, close the current "Create…
Mark
  • 520
  • 1
  • 6
  • 18
7
votes
4 answers

Can Visual Studio Lightswitch connect to an oracle database?

All the demos of Visual Studio Lightswitch use SQL-Server, it is possible to access data from Oracle using Visual Studio Lightswitch?
Ian Ringrose
  • 51,220
  • 55
  • 213
  • 317
6
votes
2 answers

Deploying MS Lightswitch applications

Can Microsoft LightSwitch desktop applications be deployed as a single executable?.
Gandalf
  • 1
  • 29
  • 94
  • 165
6
votes
1 answer

Compare old to new value at validation in LightSwitch

Is there a possibility to compare the old value to the new one during validation. Say you have a State on some object that is set to A and changed to B. This should only be allowed if the entity fulfills certain circumstances.
Michael R.
  • 175
  • 1
  • 7
6
votes
1 answer

What is the role of _Pvt_Extensions in LightSwitch

In LightSwitch: What is the role of the _Pvt_Extensions directory? Why is it generally recommended that this directory should not be included in source control? Is the contents not necessary? Is it pulled from somewhere (where?) if it is not…
Fernando Correia
  • 21,803
  • 13
  • 83
  • 116
6
votes
1 answer

My CSS images are not working on Windows Azure

I have a really strange situation where the CSS images are not displayed after the site is deployed to Windows Azure. The images are part of the project (all the files and sub-folder are included in the project) All images have a build action of…
6
votes
1 answer

Working with Lightswitch, Silverlight & custom controls

I have a screen with some data. Inside the screen I have two custom controls (on the left and right side). What I need to do is the following: Bind some data from a database to some Controls in the first Custom control. (fill a list, combobox etc,…
HectorLector
  • 1,851
  • 1
  • 23
  • 33
5
votes
4 answers

Lightswitch: Load operation failed for query 'GetAuthenticationInfo'. The remote server returned an error: NotFound

I'm currently creating a small silverlight application for testing, to see if it can works with other projects. In debug, everything is working, but once I deploy it to my local IIS Server, I got this error: Load operation failed for query…
J4N
  • 19,480
  • 39
  • 187
  • 340
5
votes
3 answers

Where is the LightSwitch internal database?

I've just downloaded VS LightSwitch and I'm doing a sample application for myself. I have created a new table by using Create new table option and have inserted some data. So after I inserted 3 records, the ID is obviously showing 3, which is…
NewLSdev
  • 51
  • 1
  • 3
5
votes
5 answers

Visual Studio LightSwitch will not Build

I'm working with an old C# LightSwitch HTML project that connects to SharePoint and I need to make a few changes. Unfortunately not enough to justify migrating to another technology/platform, but anyways... I fire up my Visual Studio 2015 and the…
LorneCash
  • 1,446
  • 2
  • 16
  • 30
5
votes
2 answers

Should I use LightSwitch for big scale project

I am working on a project and now i am using asp.net MVC5. To summarize, this application has Basic HR module which has lots of CRUD screens Warehouse management which you can transport your equipments to other warehouses or assign to a project or…
umki
  • 769
  • 13
  • 31
5
votes
1 answer

Why is my custom control always read-only?

I'm working on a LightSwitch custom control that is able (well, at least this is intended...) to bind to and edit various different properties, based on a discriminating value. Let me explain a bit further. The table looks like this: Now, based on…
Thomas Weller
  • 11,631
  • 3
  • 26
  • 34
5
votes
1 answer

How to get the path for the SetBinding method on an IContentItemProxy in LightSwitch?

I am trying to create a binding to change the background color of a label based on a property of the selected item. I'm using the form: this.FindControl("ItemDisplayTitle") .SetBinding(TextBox.BackgrounProperty, **PATH**, new…
Wayne Arthurton
  • 643
  • 1
  • 6
  • 22
5
votes
3 answers

Error: The application which this project type is based on was not found

I installed VS2012 and tried to open a project that was developed using VS2012 as well by another developer. But I am getting an error message as below. I googled the error message and found most of MVC projects have same problem and found solutions…
Laurence
  • 7,633
  • 21
  • 78
  • 129
5
votes
3 answers

LightSwitch 'Microsoft-LightSwitch-Security-ServerGenerated-Implementation-AuthenticationService.svc' does not exist

I have exercised my frustration to its utmost today while trying to deploy a Lightswitch application to a Windows 2008 R2 server running IIS 7.5. Upon navigating to the application, I receive the following execrated error: Load operation failed…
1
2
3
71 72