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

Exporting to Excel with Lightswitch

we started to develop applications with Lightswitch and we are stuck with an exporting problem. By default, with an "Export to Excel" button you can popup the whole grid in an excel file. What I need is to programmatically export the active grid…
0
votes
1 answer

Create login page in LightSwitch ( VS2012 )

I'm trying to create login page using this tutorial, but the tutorial not for Visual Studio 2012. Some of the steps could not been found in Visual 2012. Appreciate if anyone could advice or share some links how I can do login page in LightSwitch…
chinna_82
  • 6,353
  • 17
  • 79
  • 134
0
votes
1 answer

Unable to type characters in LightSwitch fields on a Mac

Could anyone help me understand why, in Chrome on a Mac, I cannot type characters in LightSwitch fields. I am able to delete characters, or select from a drop down list, but typing new characters isn't possible. I already tried reinstalling…
0
votes
1 answer

Invalid Login attempts in Lightswitch 2012 and requiresQuestionAndAnswer

In my Lightswitch 2012 app if I provide the incorrect password 5 times it locks me out with "Maximum sign in attempts have been exceeded". I have this default membership configuration in my web.config:
Rodney
  • 5,417
  • 7
  • 54
  • 98
0
votes
1 answer

Class Library in Lightswitch

I am developing an application with this new Lightswitch from Microsoft. It is really nice to design screens and connect them with databases but at this point I have to send some messages to our RabbitMQ queue and for that I need to be able to add…
Stylus
  • 89
  • 8
0
votes
2 answers

Invalid URI: The Uri string is too long after upgrage to LightSwitch v2

I have upgraded my Lightswitch app from v1 to v2 and when I select a Menu, some of the screens return the following error: It seems that some of the URL string request Silverlight makes to the server are too long. On another Menu I also get the…
Francis
  • 1,182
  • 1
  • 9
  • 14
0
votes
3 answers

Where to get Visual Studio LightSwitch 2012 Server Runtime from in Web Platform Installer?

I have upgraded my 2011 Lightswitch app to 2012 RTM and it works fine locally. However, when I try to Publish it to my web server it fails…
Rodney
  • 5,417
  • 7
  • 54
  • 98
0
votes
2 answers

Setting Lightswitch Email Address Editor width

I have a Lightswitch 2011 application with an Email address inpput. For some reason, I cannot set the width on it - it ignores it unless I set it to Stretch (but then the control is centered which is not what I want). When the user types in the…
Rodney
  • 5,417
  • 7
  • 54
  • 98
0
votes
1 answer

Lightswitch Grid where columns are defined at Runtime

I have a table of Meters. And then a table of Meter Readings (which has a reference to the Meter table, as well as a column for Date and a column for the reading value). The idea being that for each day one would record the reading for a given…
Shawn de Wet
  • 5,642
  • 6
  • 57
  • 88
0
votes
1 answer

Command line parameters in a LightSwitch application

In Silverlight I can get to the command line parameters (actually the URL parameters) by: private void Application_Startup(object sender, StartupEventArgs e) { this.RootVisual = new MainPage(); var parameters = e.InitParams; } Since…
0
votes
1 answer

Binding to ChoiceList Display Name in Lightswitch with Telerik Grid

I have swapped the core Lightswitch 2011 data grid control with the latest Telerik Silverlight RadGridView control. As per their tutorials, I bind the grid columns as per normal. However, in the core Lightswitch datagrid, if you bind to a string…
Rodney
  • 5,417
  • 7
  • 54
  • 98
0
votes
3 answers

Import to Excel does not work

I am using the Office Integration Pack After following instruction correctly I am still not able to get the Excel to Import working My Visual Studio Lightswitch 2011 application is configured to host on IIS Server and use's Easy Shell (so its the…
HatSoft
  • 11,077
  • 3
  • 28
  • 43
0
votes
2 answers

How to interrogate an Odata feed using Java

I am pretty new to oData services and want to interrogate (i.e pick out particular fields/records) from a lightswitch Odata feed. Is there an easy way to do this in Java. I have heard that oData is Atom 'compliant' - if so, can anyone get me…
WaterBoy
  • 697
  • 3
  • 13
  • 35
0
votes
2 answers

LightSwitch 2011: Validate Child

I have a screen in LightSwitch the has a parent entity and a child entity. I wrote code in the parent entity validate method that verifies the child records meet specific business rules. The validation rules run properly when a user creates or…
Registered User
  • 8,357
  • 8
  • 49
  • 65
0
votes
1 answer

How to bold text in display name label of nonrequired control

Can somebody explain to me how to bold text in the display name label of a nonrequired control in Lightswitch. Specifically I would like to know how to access the label of a control using code and change the style programmatically.