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
4 answers

Does Microsoft LightSwitch require Silverlight on the client?

Microsoft Lightswitch is a Rapid Application Development environment currently in beta 2. It will be part of the Visual Studio family. There seem to be several different ways to deploy LightSwitch applications. I would like a web only application…
Knox
  • 2,909
  • 11
  • 37
  • 65
3
votes
3 answers

LightSwitch vs WCF RIA

I've just found out about Visual Studio LightSwitch, Microsoft's new Silverlight-centric RAD tool. Does this occupy the same space as WCF RIA Services? Is WCF RIA effectively dead?
Craig Schwarze
  • 11,367
  • 15
  • 60
  • 80
3
votes
3 answers

LightSwitch Beta 1 looking for SQL Express instead of full SQL instance

After resolving issues with RIA installation here, I'm still getting this following error. Not much special - I tried to create a new screen based off of data sources from an existing database in a full SQL 2005 instance An error occurred while…
Jason Kleban
  • 20,024
  • 18
  • 75
  • 125
3
votes
0 answers

Lightswitch: Clear a datagrid

In a screen I have a few datagrids that for set is set to not "auto execute". To load the screen the user has to press a "refresh" button. After data has been loaded into such a grid, when the parent object that the grids change the loaded data…
Niels Bosma
  • 11,758
  • 29
  • 89
  • 148
3
votes
2 answers

How to publish multiple Lightswitch HTML projects using the same data source

I am using IIS 8.5 on a 2012 Server, with Visual Studio and SQL Server on the same machine. I have built and published one Lightswitch HTML Client, and it is working fine from web browsers. It is an internal application and is accessible/working on…
CreedC
  • 69
  • 6
3
votes
5 answers

How to center a button on a page

I have the following code in my button's _postRender function: myapp.Splash.btnSplashOK_postRender = function (element, contentItem) { $(element).find("ui-btn-inner").css({ "padding-left": "0" }); $(element).css({ …
embedded.kyle
  • 10,976
  • 5
  • 37
  • 56
3
votes
1 answer

Lightswitch HTML Client: How to re-render an item (re-execute postRender callback)

I am developing an lightswitch HTML client with Visual Studio 2013. I have a screen with a tile list of customers, where the ones that are marked as "premium" (which is a boolean field of the customer entity) are highlighted with an orange…
3
votes
1 answer

Lightswitch using editable Grid which uses View as data source

I am trying to develop a screen in Light-Switch, in which data shown is combined from 3 or 4 tables. But the Controls becomes read only for this view. I don't know how can I achieve this type of functionality in Light-Switch. Is is possible the…
user1400290
  • 1,682
  • 5
  • 23
  • 43
3
votes
1 answer

How to use Open RIA Services packages from NuGet

I am an experienced developer trying to add a WCF RIA Services class library to a LightSwitch 2013 desktop app and I'm a little confused on how to get started... I know that Microsoft's WCF RIA Services will no longer be updated, it has been…
3
votes
1 answer

Installing a LightSwitch 2-tier application for "all users"?

I've developed a LightSwitch 2-tier application (desktop application) for a client. The client now wants to install the application on a Citrix server, and therefore it is necessary for the application to be available for all users on the…
Dan
  • 10,480
  • 23
  • 49
3
votes
0 answers

LightSwitch Desktop Application Installation failing: "Strong name signature not valid for this assembly vslshost.exe"

I've created a LighSwitch desktop application in Visual Studio 2013 which installs perfectly fine on my development machine but fails during installation on my client's machine with the following error message: Strong name signature not valid for…
3
votes
2 answers

Lightswitch 2013 Application will run on Server but not From Web

I just upgraded a Lightswitch application that is called from an ASP.NET website. I can run the application from the "browse on port 80" option in IIS 7.5. on the server (2008 R2). But when I try to run it externally, I get the following…
3
votes
1 answer

LightSwitch dynamic cascading dropdown lists

In lightswitch, I need to make dynamic cascading dropdown lists based on a recursive relationship: Table "Categories" includes: Id Name ParentId here is the desired scenario: a screen showing a drop down list for the categories with no…
3
votes
0 answers

Lightswitch and Entity Framework

I am trying to build a simple db application. I learned EF code first approach and liked it. However I don't want to deal with interface design. Lightswitch seems to be right tool to create my CRUD screens easily. What I understand is I can easily…
Hasan
  • 2,444
  • 3
  • 30
  • 44
3
votes
1 answer

Root element is missing when trying to Publish

It has been a while since I've published my app to Azure. During that time frame, I've upgraded my system from 32-bit to 64-bit meaning a fresh install of Windows and Visual Studio. And Visual Studio Update 3 came out and was applied. When I went to…