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
5
votes
2 answers

how to change the connectionstrings of a lightswitch application in debug mode

please how do i change the connection string of a lightswitch application for debugging purposes . i have followed this post http://dougseven.com/2010/08/23/data-storage-in-visual-studio-lightswitch-2/ but i can seem to get it to work. anytime i…
Fabiyi Tunde
  • 53
  • 1
  • 3
5
votes
2 answers

Can't run Lightswitch 2012 Programm under Windows XP

I've migrated a Lightswitch 2011 project to LS 2012. I start the compiled application by running "vslshost.exe". This works well using Windows 7 (32 and 64 Bit, but when I use Windows XP starting the application fails (vslshost.exe ist not a valid…
Chake
  • 93
  • 1
  • 9
5
votes
1 answer

LightSwitch -- Target database schema provider could not be determined

In Visual Studio 2010 I create a new LightSwitch project. On the "start with data" screen I click "create new table" link. I name and add a couple columns, I add one form and then run the project and I get this exception: An exception occurred when…
Michael
  • 1,849
  • 18
  • 38
4
votes
2 answers

Unit Testing in Lightswitch

I'm thinking of running unit tests for the business logic in the Lightswitch application. I've added a Silverlight unit test project (from the Silverlight Toolkit), however I couldn't retrieve the code from Lightswitch to write tests on. Or is there…
Bryan Hong
  • 1,483
  • 13
  • 28
4
votes
1 answer

How to refresh parent screens in lightswitch?

I want to refresh the search screens after adding new data from other screens. I've tried doing foreach (var parentScreen in this.Application.ActiveScreens.OfType()) { //Invoke the refresh …
PimLong
  • 141
  • 1
  • 6
4
votes
1 answer

How to automate Lightswitch for metaprogramming

I really like the Ria Services approach, and I see Lightswitch as the next higher level of abstraction, but my scenario is this: I need to be able to define a Lighswitch app without having to rely on the designer and tedious click-throughs. If I…
4
votes
0 answers

Assembly Version Conflicts with What is Already Bound

I'm running Microsoft LightSwitch Beta 1 and have been creating an application which has been going great, but then I tried debugging after making a few minor changes and received the following error: "Could not load file or assembly …
Dave Mackey
  • 4,306
  • 21
  • 78
  • 136
4
votes
0 answers

C# async deadlock - why is it happening in this case

I have an ASP.Net application (actually Lightswitch is involved here, not sure that it matters much in this case). I have the following code. It starts in the LogIn.aspx which calls RegisterUser on the OnLoggedIn event. public static void…
Yishai
  • 90,445
  • 31
  • 189
  • 263
4
votes
1 answer

How do I return a "saved successfully" message box and/or send a receipt email after pressing "Save" in a Lightswitch HTML screen?

I am using a Lightswitch HTML "Create New data" screen facing the internet for people to submit Job Application data into a database. When they press the "Save" button the data saves but there is no way for the applicant to tell if their data was…
Mark
  • 520
  • 1
  • 6
  • 18
4
votes
3 answers

How do I host a LightSwitch application?

If I wanted to host a LightSwitch application on my home computer, what would I need to do? My home computer has a Verizon FIOS connection. What software, configuration, etc. would I need?
user128807
  • 10,447
  • 17
  • 53
  • 72
4
votes
1 answer

Change the size of a control in lightswitch beta

I'm playing around with my first lightswitch application and am trying to change the size of a list control. Does anyone know how to do that? I've tried: this.FindControl("PersonList").SetProperty("Height", 200); but get told the height property…
sipsorcery
  • 30,273
  • 24
  • 104
  • 155
4
votes
3 answers

LightSwitch: How do I place my business logic into a separate assembly?

I have no idea how to do this simple task. LightSwitch's Solution Explorer is different in the sense that it doesn't allow to add other projects such as Class Library. Even if I could add a Class Library I would still need to reference the data…
Andre Pena
  • 56,650
  • 48
  • 196
  • 243
4
votes
3 answers

Filter with * which will restrain all values that starts with Null?

I have the following code which extends my filter functionality to allow me to search for more than one Zip-code. Ex. (1254,125,145,1455) Current Code: if (Post_Code_PAR != null) { String[] PostCode_Array = Post_Code_PAR.Split(','); query =…
Dragon
  • 85
  • 9
4
votes
1 answer

LightSwitch in Visual Studio 2013 Community Edition

I wanted to try developing projects in LightSwitch and download Visual Studio 2013 Community edition which has same features as Professional but there is no LightSwitch project template. Should i need to download seperatly ? Regards
umki
  • 769
  • 13
  • 31
4
votes
1 answer

sharepoint in Light switch Datasource Error

when i connect share point data source in my light switch HTML application have one exception listdata.svc does not appear to be a valid site SharePoint 2010 (or later) with an installation of WCF Data Services is required.
Irshad
  • 141
  • 2
  • 12
1 2
3
71 72