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
3
votes
0 answers

Remove the regional files from a LightSwitch deployment

Is there some way to remove the multitude of region specific files in the LightSwitch \bin directory ? ... apart from manually We only deploy for local, so having the various language/region specific files seems a waste, increasing build and…
SteveC
  • 15,808
  • 23
  • 102
  • 173
3
votes
1 answer

How to use VS lightswitch with an MS access database

It's possible to create a Lightswitch application that connects to an MS access database using WCF RIA Services. However, am totally new to WCF and the official documentation on how to do this is confusing to me. I just want to connect my…
3
votes
1 answer

In LightSwitch, how to fill choice list of query parameter from a table

In VS LightSwitch, queries can have parameters. When creating a screen, the query parameters are shown on the screen. A choice list can be defined, in which case the field appears as a drop-down-list on the screen. Instead of defining a static…
Juergen
  • 95
  • 2
  • 8
2
votes
2 answers

How do I get MS LightSwitch to recognize my View?

I've created a View from a table in another database. I have dbo rights to the databases so viewing and updating is not a problem. This particular View did not have an "id" column. So I added one to the View by using ROW_NUMBER. Now I had a problem…
dotnetN00b
  • 5,021
  • 13
  • 62
  • 95
2
votes
2 answers

Comparing two fields using LINQ

I'm facing a weird problem. As shown in the image actually I selected record number 37 but lightswitch is highlighting as record number 1. 1) The FristName,LastName & HospitalName are unique indexes in the table Doctors since each doctor can have…
2
votes
1 answer

Microsoft Lightswitch and Entity Framework Code First Inconsistency

I've begun investigating Microsoft Lightswitch 2011 as a possible solution for developing quick "admin" apps for updating various databases - primarily those containing lookup tables or configuration data for internal corporate websites or…
RWGodfrey
  • 847
  • 1
  • 9
  • 19
2
votes
1 answer

Where Can I Find Key Events in LightSwitch?

I'm working on a project in Lightswitch and I'm trying to handle the keyup event on specific screen I couldn't find it, where can I find those events (such us KeyUp KeyDown LostFocus ext. ) and if they are not supported what should I do to handle a…
3oon
  • 365
  • 1
  • 5
  • 15
2
votes
2 answers

How to use calculated fields in my LightSwitch Query?

in my lightswitch application im trying to create a Customers Screen for customers who have balance value, and my balance value is a Calculated Field in the Customer Entity when i tried to put the logic in the Process Query Event Like This query…
2
votes
0 answers

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

Here is my scenario: Solution is made up of two projects - a LS app and a RIA Services project. The RIA services are connecting to remote Web Service which is residing in other domain. These RIA services were added as Data Sources into LS app. When…
2
votes
1 answer

Lightswitch in ASP.NET MVC

Can I host a Lightswitch application inside of ASP.NET MVC? Thanks
GurdeepS
  • 65,107
  • 109
  • 251
  • 387
2
votes
1 answer

Creating a user in a LightSwitch application on non authenticated web site

How can I add a user to the asp_Users table in my LightSwitch application with non-forms based authentication? I have an application with forms authentication, and I need another one without any authentication for registration. I have set up the…
tonco
  • 1,281
  • 3
  • 16
  • 30
2
votes
1 answer

Updating database in MySQL to SQL server in LightSwitch

I have my LS with datasource made in MySQL. I decided to create same database in SQL Server, and when I use the "Update DataSource" of LS, all of my screen objects gone (the textboxes, labels, codes, etc.). See Image. Now my question is, how can I…
fiberOptics
  • 6,955
  • 25
  • 70
  • 105
2
votes
0 answers

Microsoft Lightswitch Application hangs when screen resolution is 1024 x 768

I have created a Lightswitch desktop application which works fine on all resolutions higher than 1024 x 768. Unfortunately I need to hook it up to a projector which only supports 1024 x 768 and as a result the application hangs. According to…
JayneT
  • 765
  • 6
  • 14
2
votes
1 answer

LightSwitch custom query with LINQ using delegates does not work

I have problems in designing an extended query in the ...PreprocessQuery() Method of a LightSwitch query. 1st of all, I tell you in a simplified way, what works: partial void NeedHelp_PreprocessQuery(bool Admin, ref IQueryable query) { //…
Satria
  • 315
  • 2
  • 9
2
votes
2 answers

Steps to integrate lightswitch app into existing web application

can anyone tell me step-by-step procedure to deploy lightswitch app into existing web application?
Samdrain
  • 441
  • 4
  • 13