190 likes | 301 Views
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?
E N D
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? • What Is the .NET Framework? • How the .NET Framework Works
What Is the .NET Platform? Developer Tools Devices Servers XML Web Services User Experiences .NET platform components
What Is the .NET Framework? Programming Languages ADO.NET, Windows forms, ASP.NET, Globalization, Security .NET Framework Class Library Common Language Runtime Operating System
How the .NET Framework Works .NET Framework Class Library Visual Basic Applications Data Types ADO.NET Web Services Visual C# Applications Windows Common Language Runtime Visual C++ Applications Programming Services .NET Platform Code JIT compiler producesmachine language Source code compiles as MSIL MSIL: Microsoft Intermediate Language JIT :just-in-time
Lesson2: Exploring Visual Studio .NET • Programming Features of Visual Studio .NET • Structure of Visual Studio Solutions and Projects • The Development Process
Programming Features of Visual Studio .NET Web Forms Tools Windows Forms Tools Visual Studio .NET Multiple Languages Error Handling One-stop Application Development XML Web Services Tools Data Access Design Develop Debug Deploy
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
The Development Process Create a design specification 1 Createthe user interface 2 • Set properties for the user interface objects 3 Write code to add functionality 4 Test and debug the application 5 • Make an executable file 6 Create a setup application 7
Lesson3: Creating a Windows Application Project • What Is an Application Template? • How to Use the Windows Forms Designer • How to Use the Properties Window
What Is an Application Template? • Provides starter files, project structure, and environment settings
How to Use the Windows Forms Designer Controls to createthe user interface Windows Forms Designer Solution Explorer Properties
How to Use the Properties Window Set properties suchas size, caption,and color
Practice: Creating a Basic Windows Application Hands-on Practice • In this practice, you will create a basic Windows application