Articles → LIGHT SWITCH 2011 → Deploy Lightswitch Web Application Connected To External Database
Deploy Lightswitch Web Application Connected To External Database
Prerequisites
- Visual studio 2010 is installed on your machine.
- Visual Studio 2010 service pack 1 is installed on your machine.
- Microsoft Visual Studio Light switch 2011 is installed on your machine.
- How to create a project in visual studio?
- Basics of lightswitch like screens entities
- How to add external data source in lightswitch?
- Basics about IIS
- What is the authorization and authentication?
Steps Involved
- Create a table with data in database
- Add existing data source and editable grid screen
- Publish your application
- Configure the environment
- Run the application
Create A Table With Data In Database
Click to Enlarge
Click to Enlarge
Add Existing Data Source And Editable Grid Screen
Click to Enlarge
Publish Your Application
- First of all open visual studio in admin mode and open the project.
- Change the configuration from debug to release.
- Now, right click on project and click on publish as shown below
Click to Enlarge
Click to Enlarge
- Click on next
Click to Enlarge
- Click next
Click to Enlarge
- Click Next.
Click to Enlarge
- Click Next.
Click to Enlarge
- Click Next
Click to Enlarge
Click to Enlarge
Configuring The Environment
Click to Enlarge
Click to Enlarge
Click to Enlarge
Click to Enlarge
Click to Enlarge
Click to Enlarge
Run The Application
Click to Enlarge