Deploy(2-Tier) Visual Studio LightSwitch Application


Introduction

By Deployment, it is clear that what it has to do. Deploy means to move into a position of readiness and availability. Deployment is a process of installing application into server context. In this article you learn how to deploy(2-Tier) Visual Studio LuightSwitch Application.

2-tier1.gif

What is 2-Tier

It has 2 parts i.e. client (front end) and database (back end). Basically window application developed in this technology. The architecture of 2-Tier are as follows:

2-tier.gif
 

Deploy(2-Tier) LightSwitch Application Step by Step

First of all we will make any application in Visual Studio LightSwitch. For make the application in Visual Studio LightSwitch, Please refer this link       http://www.c-sharpcorner.com/1/274/visual-studio-lightswitch-2011.aspx

Step 1: Open the SQL Server Configuration Manager->Click Yes (user access control).

image1.gif

Step 2: Click SQL Server Services->Right click on SQL Server Browser->Properties.

image2.gif

Step 3: Service->Select Start Mode->Manual->Click Log On->Apply->Start->Ok.

image3.gif

Step 4: Click on SQL Server Network Configuration->Click on Protocol for SQLExpress.

image4.gif

Step 5: Right click on Named Pipes->Click Enable->Ok.

image5.gif

Step 6: Click on SQL Native Client Configuration->Client protocols->SQL Services->SQL Server (SQLExpress)->Restart.

image6.gif

Step 7: Open SQL Server->Right click on SQL Server name->Properties.

image7.gif

Step 8: Click security->Click SQL Server and Windows authentication->Ok.

image8.gif

Step 9: Open LightSwitch Application->Click Properties->Click application type->Publish.

image9.gif

Step 10: Click Client Configuration->Click Desktop->Next->Click Local->Next->Write the path (where do you want the application files to be replaced)->Next.

image10.gif

Step 11: Write the connection string->Create Database Login->Write Login Name and word->Create->Next.

image11.gif

Step 12: Click Yes radio button->Write User name->Next->Next->Next->Publish.

image12.gif

Step 13: Now open the path where application files to be replaced->Double click on setup.exe->Click Install (LightSwitch Application installed in your PC.)

image13.gif

Now you can open the your LightSwitch Application on double click from start menu.

Summary:

Using this article one can easily understand, how to deploy(2-Tier) Visual Studio LightSwitch Application. Basically in 2-Tier architecture we develop window applications.


Similar Articles