Browse by Tags

Tagged Content List
  • Blog Post: Promises in LightSwitch (Justin Anderson)

    In previous posts, we’ve mentioned that the HTML client runtime uses promises to perform asynchronous execution. In this post, we’ll briefly explain what a promise is and show you where promises are provided in your LightSwitch application to allow you to asynchronously react to state changes in the...
  • Blog Post: Team Development Series – Part 5: Leveraging Code Analytics (Ravi Eda)

    This article demonstrates the usage of code analytic tools available for LightSwitch in Visual Studio 2013. Analytic tools that will be covered include - Code Analysis , Code Metrics , Code Maps and Remote Debugging . Code analysis tools enable developers to improve their code. These tools help find...
  • Blog Post: Spice Up Your HTML Client UI With Code (Rohit Agrawal)

    Often we wish to personalize the HTML Client in order to either add extra functionality or to give a screen more personal and snazzy look. In this post I will walk you through some ways we can add JQuery mobile controls, add HTML code and even make css changes through code. We will be going through the...
  • Blog Post: Using the LightSwitch ServerApplicationContext API (Matt Evans)

    The ServerApplicationContext API is a new feature in LightSwitch, available with Visual Studio 2012 Update 2 or later, which allows you to create entirely new ways to call custom business logic on the LightSwitch Server, using the same rich API you're used to working with on the server tier. We previewed...
  • Blog Post: Using SharePoint Lists as LightSwitch Entities and with CSOM (Chris Rummel)

    Hi, I’m Chris Rummel, a tester on the LightSwitch team.  I work mostly on SharePoint features.  Brian has already gone over a lot of the benefits of SharePoint development with LightSwitch in his article A quick & easy LightSwitch app for SharePoint . In this post I wanted to go a little...
  • Blog Post: Signed-In Part 5 – Search Screen and Dynamic UI (Andy Kung)

    Welcome to the last installment of the Signed-In app walkthrough! In case you missed the previous posts: Signed-In Part 1 – Introduction Signed-In Part 2 – Upcoming Events Screen Signed-In Part 3 – Guest List Screen Signed-In Part 4 – Authentication and Branding...
  • Blog Post: A New User Experience (Heinrich Wendel)

    After releasing the preview of our HTML Client to a broader audience, it became pretty clear from your feedback that we had to work on the user experience of LightSwitch HTML applications. While not everybody is an expert in user experience design, it is the core of any modern application and a driving...
  • Blog Post: Enhancing LightSwitch Controls with jQuery Mobile (Michael Zlatkovsky)

    UPDATED on AUGUST 1, 2013 based on Visual Studio 2012 and Update 3. One of my favorite things about the LightSwitch HTML Client is how easy it is to create forms over data the “LightSwitch way”, and then jump straight into HTML for a bit of custom tweaking.  Because the HTML Client makes use of...
  • Blog Post: The Cosmopolitan shell and theme source code is released!

    We’ve released the source code for the Cosmopolitan shell and theme , allowing you use the default LightSwitch 2012 shell and theme as starting points for your own custom shells and themes. You can download the source here . Custom LightSwitch shells and themes are topics that crop up commonly on customer...
  • Blog Post: Custom Controls and Data Binding in the LightSwitch HTML Client (Joe Binder)

    Custom JavaScript controls allow you to create user experiences that are tailored to specific use cases and business needs. Given the wealth of code samples, control frameworks, and partner control offerings available today, we wanted to ensure that existing controls could be used as-is within the LightSwitch...
  • Blog Post: A New API for LightSwitch Server Interaction: The ServerApplicationContext (Joe Binder)

    Although the team has focused on building the LightSwitch HTML client and SharePoint 2013 applications recently, supporting existing scenarios remains a top priority. We’ve tried to balance our new investments with solutions to roadblocks and pain points in Visual Studio 2012 that we’ve heard consistently...
  • Blog Post: New LightSwitch HTML Client APIs (Stephen Provine)

    Following the recent announcement of the LightSwitch HTML Client Preview 2 , we are excited to introduce a set of additional APIs that allow further control over the behavior and capabilities of a LightSwitch HTML-based application. You can download Preview 2 from the Developer Center . The APIs we...
  • Blog Post: Course Manager VS 2012 Sample Part 2 – Setting up Data (Andy Kung)

    Yesterday, we gave an overview of the Course Manager sample and walked through some scenarios from end-user’s perspective . If you missed it: Course Manager VS 2012 Sample Part 1 – Introduction We are now ready to start “reverse-engineering” and learning how to build Course Manager. We will kick off...
  • Blog Post: Dynamically setting column names on an editable grid (Babar Ismail)

    LightSwitch gives us the ability to import data from numerous sources. This data can then be shown to the end user in an editable grid by simply creating editable grid screens based off that data. The column names of the grid will correspond to the field names of the table we import. This works for most...
  • Blog Post: Advanced LightSwitch: Writing Queries in LightSwitch Code

    This post describes how to query data in LightSwitch using code and how to determine where that query code is executing. It doesn’t describe how to model a query in the designer or how to write query interception code or bind a query to a screen. If you are new to queries in LightSwitch, I suggest you...
  • Blog Post: How to Elevate Permissions in Server Code (Ravi Eda)

    This article introduces the concept of permission elevation in LightSwitch. It presents a scenario at a shipping department of a store to show the need for elevation of privileges. Code samples to add, remove and control the scope of elevation are included. Permission elevation in server code is a...
  • Blog Post: Where Do I Put My Data Code In A LightSwitch Application? (Robert Green)

    I am continuing to build my sample application and in this post I talk about what data code I wrote and where to put it. I cover scenarios such as calculating the total price for a course based on attendees and price, retrieving the price when the user selects a course for a new order and validating...
  • Blog Post: Overview of Data Validation in LightSwitch Applications (Prem Ramanathan)

    Introduction In any application that accepts user input and stores it in a data store, the data needs to be validated. When it comes to relational databases, most of them today provide some form of validation. This includes constraints, data formatting, default values, etc. For example, you can’t...
Page 1 of 1 (18 items)