Introducing MS VS LightSwitch 2011

Post on 30-Jun-2015

1.226 views 0 download

Transcript of Introducing MS VS LightSwitch 2011

Visual Studio LightSwitch 2011

What is LightSwitch?• The simplest way to build business apps for desktop and cloud

• lets you concentrate on the business logic instead of the application infrastructure

Why LightSwitch?• Helps you build professional quality business apps regardless

of your dev skills

• Build a business app without typing a single code

building business apps

Create a new project

Where is your data?

2 types of data• Create New Table• Create a new database from scratch

• Attach to external Data Source• Existing data from SQL Server or somewhere

Choose a data source type

Selecting a database

Choose DB objects

LightSwitch reads the objects

New DataTypes• EmailAddress

• PhoneNumber

• Money

Properties

Display Name - change the display name

Display by Default - does not display if unchecked

Is Required

Allow Empty String (Allow Nulls)

Screens• Screens are like ‘forms’ in WinForms

• How to add a screen

Built-in screens

Screen Designer•

Execute the app!

Redesign your screen in runtime

Edit Existing Records

…and not a single code was written