20
Visual Studio LightSwitch 2011

Introducing MS VS LightSwitch 2011

Embed Size (px)

Citation preview

Page 1: Introducing MS VS LightSwitch 2011

Visual Studio LightSwitch 2011

Page 2: Introducing MS VS 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

Page 3: Introducing MS VS LightSwitch 2011

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

of your dev skills

• Build a business app without typing a single code

Page 4: Introducing MS VS LightSwitch 2011

building business apps

Page 5: Introducing MS VS LightSwitch 2011

Create a new project

Page 6: Introducing MS VS LightSwitch 2011

Where is your data?

Page 7: Introducing MS VS LightSwitch 2011

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

Page 8: Introducing MS VS LightSwitch 2011

Choose a data source type

Page 9: Introducing MS VS LightSwitch 2011

Selecting a database

Page 10: Introducing MS VS LightSwitch 2011

Choose DB objects

Page 11: Introducing MS VS LightSwitch 2011

LightSwitch reads the objects

Page 12: Introducing MS VS LightSwitch 2011

New DataTypes• EmailAddress

• PhoneNumber

• Money

Page 13: Introducing MS VS LightSwitch 2011

Properties

Display Name - change the display name

Display by Default - does not display if unchecked

Is Required

Allow Empty String (Allow Nulls)

Page 14: Introducing MS VS LightSwitch 2011

Screens• Screens are like ‘forms’ in WinForms

• How to add a screen

Page 15: Introducing MS VS LightSwitch 2011

Built-in screens

Page 16: Introducing MS VS LightSwitch 2011

Screen Designer•

Page 17: Introducing MS VS LightSwitch 2011

Execute the app!

Page 18: Introducing MS VS LightSwitch 2011

Redesign your screen in runtime

Page 19: Introducing MS VS LightSwitch 2011

Edit Existing Records

Page 20: Introducing MS VS LightSwitch 2011

…and not a single code was written