Skip to main content

Exploring LightSwitch architecture

Go deeper and explore the architecture of a LightSwitch application. LightSwitch applications are built on a classic three-tier architecture, on top of existing .NET technologies and proven architectural design patterns. LightSwitch applications can be deployed to Microsoft Azure, or hosted on your own web server. Optionally, LightSwitch apps can be hosted in Office 365 / SharePoint 2013 and work with SharePoint assets. 

See how LightSwitch works under the covers. Are you new to LightSwitch? Read Understanding LightSwitch first.

  • Anatomy of a LightSwitch Application

    Read this multi-part article series that explains the layered architecture of LightSwitch applications.

  • The LightSwitch HTML Client: An Architectural Overview

    In Visual Studio 2012 Update 2, LightSwitch provides an additional HTML client option. See how the view layer was architected in terms of the standards-based HTML5 model.

  • LightSwitch Architecture: OData

    In Visual Studio 2012, LightSwitch data services publish OData feeds and LightSwitch clients can consume OData feeds. This is an implementation change from LightSwitch 2011 where we used WCF RIA Services as the data protocol between client and server.

  • A New API for LightSwitch Server Interaction: The ServerApplicationContext

    In Visual Studio 2012 Update 2, LightSwitch added a simple but powerful API to the middle tier to address the need to write custom services against the LightSwitch data and business logic. Among its many uses, the API allows you to write custom reporting dashboards, kick off LightSwitch middle-tier workflows, and provide custom services support such as WebAPI.

  • SharePoint Hosting & Authentication Options for LightSwitch

    In Visual Studio 2012 Update 2, LightSwitch provides the option to deploy to Office 365 / SharePoint 2013 and work with SharePoint assets and authentication. Read more about the supported hosting models.