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
2
votes
1 answer

save the screen change history in lightswitch app

is there any easy way to track what is changed on a lightswitch app screen? i have a form that shows information about a customer (listdetail). When I save it, i want to write to a history table what was changed.
Alex J
  • 1,547
  • 2
  • 26
  • 41
2
votes
3 answers

Using lookup values in linq to entity queries

I'm a total LINQ noob so I guess you'll probably have a good laugh reading this question. I'm learning LINQ to create queries in LightSwitch and what I don't seem to understand is to select an entity based on a value in a lookup table. Say I want to…
Willem
  • 81
  • 2
  • 9
2
votes
2 answers

Can I use the SqlServer NTEXT data type in LightSwitch?

Can I use the SqlServer NTEXT data type in LightSwitch? I know how to add extension business types, but they always subclass the existing LightSwitch base types. The LightSwitch base type 'String' maps to the SqlServer data type NVARCHAR which has a…
2
votes
0 answers

VisualStudio LightSwitch - Unable to load data in web version of application

I am creating application with LightSwitch where I have following the data stores: - SharePoint 2010 list (main database) - windows authentication - SQL database (supportive database) - static credentials When I publish application as local app, all…
Mike
  • 21
  • 2
2
votes
1 answer

Lightswitch Users & Roles & ApplicationDatabase

I can see that the internal database for lightswitch is called "ApplicationDatabase" and if you look inside the directory structure outside of Vs10 the database is in the bin folder. Is anyone aware of how I would extend the users and roles function…
MissioDei
  • 809
  • 2
  • 12
  • 19
2
votes
1 answer

LightSwitch error when trying to use the runtime Design Screen feature

I get the following error, when trying to use the runtime screen editor. (LightSwitch 2011, RTM version) "The last change wasn't successfully persisted. Please shut down the running application. Error: Object reference not set to an instance of an…
dteske
  • 77
  • 1
  • 9
2
votes
1 answer

Visual Studio 2010 Pro includes LightSwitch. How?

I see the VS2010 Pro includes LightSwitch. But from the LightSwitch website only has links to download the 30 day demo (which can be extended by 60 days with a registration). I don't have a MSDN subscription. So how do I add this to my VS2010…
aSkywalker
  • 1,381
  • 1
  • 13
  • 23
2
votes
2 answers

Accessing SQL metadata in LightSwitch

I am trying to access extended properties in my SQL database in LightSwitch. Ideally I would be able to populate a choicelist based on these extended properties - namely picklist values. Is there any way in which I can do this? Any help would be…
Jim
  • 423
  • 1
  • 7
  • 24
2
votes
2 answers

"Unable to find any implementation of the contract" Exception in LightSwitch extension

I'm teaching myself Visual Studio LightSwitch by porting Excel Importer extension. I have all the pre-requisites (Visual Studio 2010 SP1 Ultimate edition, Visual Studio 2010 SP1 SDK, Visual Studio LightSwitch 2011 Extensibility Toolkit) except that…
Asif
  • 681
  • 9
  • 17
2
votes
1 answer

LightSwitch - Business Rules

I have a Master/Detail screen in LightSwitch. I allow user to delete details' items. However, the user is allowed to delete all except one. In other words,only one detail item needs to be present. Is this doable in lightswitch? Regards
Bill
  • 2,026
  • 9
  • 55
  • 99
2
votes
3 answers

Transaction error with Microsoft Lightswitch using Oracle database

I am making a very simple Lightswitch project which will connect to a table I have in an Oracle 11g database. I add an editable grid to the project and build the project. When I try to add or edit data in the grid I get the following error: An…
Wallhood
  • 21
  • 1
2
votes
1 answer

Is it possible to convert lightswitch application to Silverlight project(which contains UIs with xaml etc)

Lightswitch under the hood runs with 3 tier EF,Silverlight etc but is it possible convert project to plain silverlight project?
DSharper
  • 3,177
  • 9
  • 29
  • 47
2
votes
2 answers

VS Lightswitch and MS Access DB?

Can I use Visual Studio Lightswitch togehter with an MS-Access DB? If Yes, makes it sense to use it instead of MS-Access for the developing the GUI?
Elmex
  • 3,331
  • 7
  • 40
  • 64
2
votes
1 answer

Any issues with LightSwitch Beta 2 and Silverlight 5?

Just about ready to move to LightSwitch Beta 2 and was wondering if anyone ran into any issues with installing Silverlight 5 Beta after that? Thanks.
bbakermai
  • 76
  • 2
2
votes
2 answers

Is it possible to override a Lightswitch application title?

I'd like to insert the application version number into my Lightswitch application title bar, but I haven't found anyway to programatically set the application title. Has anyone had any luck doing this?
Sam Johnson
  • 973
  • 9
  • 21