Chapter 2: Getting Started

18
Chapter 2: Getting Started AY 2012-2013

description

Chapter 2: Getting Started. AY 2012-2013. Overview. Lesson1: Introduction to .NET and the .NET Framework Lesson2: Exploring Visual Studio .NET Lesson3: Creating a Windows Application Project. Lesson1: Introduction to .NET and the .NET Framework. What Is the .NET Platform? - PowerPoint PPT Presentation

Transcript of Chapter 2: Getting Started

Page 1: Chapter  2:  Getting Started

Chapter 2: Getting Started

AY 2012-2013

Page 2: Chapter  2:  Getting Started

2

Overview• Lesson1: Introduction to .NET and the .NET Framework • Lesson2: Exploring Visual Studio .NET • Lesson3: Creating a Windows Application Project

Use Visual Studio .NET

Access Data

Write Code

Create Interface

Debugand Deploy

Page 3: Chapter  2:  Getting Started

3

Lesson1: Introduction to .NET and the .NET Framework• What Is the .NET Platform?• What Is the .NET Framework?• How the .NET Framework Works

Page 4: Chapter  2:  Getting Started

4

What Is the .NET Platform?

XML Web Services

Devices

Servers

User Experiences

Developer Tools

.NET platform components

Page 6: Chapter  2:  Getting Started

6

What Is the .NET Framework?

Operating System

Common Language Runtime

.NET Framework Class Library

ADO.NET, Windows forms, ASP.NET, Globalization, Security

Programming Languages

Page 7: Chapter  2:  Getting Started

7

How the .NET Framework Works

.NET Framework

Common Language Runtime

Class Library

Windows

Web Services

ADO.NETData Types

Visual Basic Applications

Visual C# Applications

Visual C++ Applications

Programming Services

.NET Platform

Code

Source code compiles as MSIL

JIT compiler producesmachine language

MSIL: Microsoft Intermediate Language JIT :just-in-time

Page 8: Chapter  2:  Getting Started

8

Multimedia: Introduction to the .NET Framework

Page 9: Chapter  2:  Getting Started

9

Lesson2: Exploring Visual Studio .NET• Programming Features of Visual Studio .NET• Structure of Visual Studio Solutions and Projects• The Development Process

Page 10: Chapter  2:  Getting Started

10

Programming Features of Visual Studio .NET

One-stop Application Development

Visual Studio .NET

Design Develop Debug Deploy

Data AccessXML WebServices Tools

WindowsForms Tools

Web Forms Tools

Error Handling

MultipleLanguages

Page 11: Chapter  2:  Getting Started

11

Structure of Visual Studio Solutions and Projects• Solution

A container for the projects and solution items that can be built into an application

A solution usually contains one or more related projects

• Project A container within a solution to

logically manage, build, and debug the project items that make up your application

Page 12: Chapter  2:  Getting Started

12

The Development Process

Create a design specification

Create the user interface

Set properties for the user interface objects

Write code to add functionality

Test and debug the application

Make an executable file

Create a setup application

Page 13: Chapter  2:  Getting Started

13

Lesson3: Creating a Windows Application Project• What Is an Application Template? • How to Use the Windows Forms Designer• How to Use the Properties Window

Page 14: Chapter  2:  Getting Started

14

What Is an Application Template?• Provides starter files, project structure, and environment

settings

Page 15: Chapter  2:  Getting Started

15

How to Use the Windows Forms Designer

Controls to createthe user interface

Windows Forms Designer

Solution Explorer

Properties

Page 16: Chapter  2:  Getting Started

16

How to Use the Properties Window

Set properties suchas size, caption,and color

Page 17: Chapter  2:  Getting Started

17

Practice: Creating a Basic Windows Application

In this practice, you will create a basic Windows application

Hands-on Practice

Page 18: Chapter  2:  Getting Started

18

Q & A