Prologue:In this article we will discuss publishing the LightSwitch Desktop Application.In my previous article we have seen how to create a LightSwitch Login screen i.e. Forms Authentication. So in this article we will discuss how to publish the desktop application which has forms authentication.Preparing the Solution:Create a LightSwitch Solution with name DeploymentOfLS. Then add a table called Person with columns as given in the following figure.Design the screen as per your requirement.Make sure you have selected Use Forms Authentication in the project's properties.Selecting Forms Authentication:In the figure above we have deselected the "Granted for Debug" check boxes for publishing the application.Selecting Type of Application:From the Project Properties menu select the Application Type tab [No: 1]. Here we need to select which type of application we are going to publish i.e. as Desktop application or Web application [No: 2] from the Client group box.We have to choose where the application is going to run i.e. the application will run on the end user's machine or in the IIS server or in Windows Azure.Yes LightSwitch Beta 2 supports Windows Azure.Application Server Configuration:The next step is to configure the server; i.e. whether the application should run in the local machine or the server. This wizard will have three options as shown in the figure.For our application we are choosing local as we are going to install in our machine.Publish Output file [Setup file]:In this Publish Output tab, we have two options.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: