Creating Visual Studio LightSwitch Custom Controls
OData And Visual Studio LightSwitch
Creating Web Pages
Creating Web Pages 2013
Things For Sale
You are here:
This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:
For those that want to take LightSwitch as far as you can take it!
Lightswitch and ASP.NET I...
05 Aug 2013 11:17 AM
Marketplace (find and offer services)
Looking for people or products, or have services or products to sell related to LightSwitch
LightSwitch Solutions Dev...
17 Mar 2014 09:33 AM
Sorting by relation
22 Aug 2013 02:07 AM
Post any tips about Lightswitch that you wish to share
RE: Creating A WCF RIA Se...
26 Jul 2013 06:05 AM
LightSwitch Community Announcements
Post what is going on in the LightSwitch Community
RE: A LightSwitch HTML cl...
31 Jul 2013 05:25 AM
Discussions related to Hosting LightSwitch Applications
Deploying Lightswitch app...
15 Aug 2013 06:09 AM
Forums for LightSwitch Marketplace venders
DELORDSON (LightSwitch Extras)
Forum for product feedback and issues
Issues with Jetpack Theme...
26 Apr 2013 03:37 AM
SoCal LightSwitch User Group
Welcome to SoCal LightSwitch User Group
Who is online:
There are currently 21 guests(s) online.
There are 1 of 12672 member(s) online:
--Marketplace (find and offer services)
--LightSwitch Community Announcements
----DELORDSON (LightSwitch Extras)
Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers
Authentication Only for Lightswitch HTML
2/11/2016 8:00 AM
I have been doing a lot of reading about LS users, roles, permissions, authentication and authorization. My simple question is: Can we not use Windows authentication only? I would simply like to set up a table of users that can access the LS HTML application if their Windows credentials are present in the Users table. So far I have: Added a Desktop Client to my solution and named it 'Administration'.Set Access Control to 'Allow only users and AD groups specified in the Users screen...'Granted access for DebugStarted the application which brings me to the Administration pageBrowsed to 'Users' under AdministrationAdded a user, which is my user account in ADAdministration page found my user account and added it to the Users table as domainname\useraccountIt also pulled my Full Name, so I know the AD account was foundPublished the project Now, when I try to browse to my HTML client in a browser, it asks for credentials. However, using my AD account credentials does not work. No
LightSwitch 2013 - adding lightswitch classes after timeout
2/8/2016 1:22 AM
Hey, I'm building a LightSwitch 2013 HTML application. when i'm adding an html element to the DOM after timeout, it doesn't get all lightswitch classes that should be added if there wasn't a timout. For example: settimeout(function( $ul = $("<ul></ul>"); $ul.attr("data-role", "listview"); $ul.attr("data-filter", "true"); $(element).append($ul); ),100); The ul will not get all the classes that lightswitch would give if there was no timeout. Any ideas? Thanks.
Installing Lightswitch 2015 in Visual Studio 2015???
2/5/2016 3:21 PM
I have yet to get Lightswitch 2015 to work in Visual Studio 2015, either community or enterprise. I continue to get an error that the lsxtproj type is not supported when I try to create a new project?? Any suggestions?? mike mike d
Messing with Queries and Placement within Project code.
2/3/2016 11:59 PM
I am in a SQL queries class and I am thinking about how all of the parts of LightSwitch work. I like that we are doing all of these queries in code using SQL Management Studion and setting up exports to excel so I see how to manually edit them. I was wondering how to add them to a client solution manually. We Use queries in LightSwitch to create screens and filters and have buttons that export to excel. As well I use as excels ability to use Power Pivot to directly load data from a database based on what the pivot table does. Can view the queries in code if I dig into the text files built using the Visual Studio IDE and the GUI provided by LightSwitch. I need to learn how to manually place these lines of code within classes in a project solution so I can start work on making the same queries embedded in WPF. LightSwitch embeds them in solution parts for Silverlight I assume. I guess I just want to learn the basics of how to embed SQL statements and
Object Reference not set error when published but fine when debug locally
2/1/2016 11:22 PM
I have some code that runs under _Inserting on the Jobs table on the server. I also have a System table with a single record and a property of the LastCode (Last JobCode used in a record). DataWorkspace dw = this.Application.CreateDataWorkspace(); Job result = (from j in dw.Data.Jobs.OrderByDescending(Job => Job.JobCode) select j).FirstOrDefault(); System system = dw.Data.System.FirstOrDefault(); Int32 LastCode = int.Parse(result.JobCode); Int32 NewLastCode = LastCode + 1; system.LastCode = NewLastCode.ToString(); dw.Data.SaveChanges(); Which was created out of this post. If I place it in the _Inserted table it fails locally and when published, however running from _Inserting in debug mode locally on the machine works perfectly fine. When I publish this to Azure (V11 DB currently) everything else seems to work however when I try and add a Job I get "Object reference not set to
Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation
Copyright 2015 by Michael Washington