<<

Chapter 1 Review Visual Studio.NET

Advanced Programming Using Visual Basic.NET

© 2003 by The McGraw-Hill Companies, Inc. All rights reserved.

The .NET Framework

A platform for developing and running Windows and web applications, XML Web services, and more Framework components Class libraries ASP.NET

2

Common Language Runtime (CLR)

Manages of code Integrates components developed in different languages Handles errors across languages Handles security Manages storage and destruction of objects

3

1 and Metadata

Code compiled to run in the CLR that (compiled to describe data Intermediate Language MSIL) data types members references

Portable (PE)

4

Class Library

Stores all classes and interfaces of the .NET language Namespaces – sections within the library that contain classes, structures, enumerations, delegates, interfaces When you create a project in Visual Studio IDE, certain namespaces are assumed Others must be imported

5

Common Language Specification (CLS)

Published standards that specify how a language that interacts with the CLR should behave

6

2 Class Library --TypesTypes

Types: classes, structures, enumerations, delegates, interfaces, data types Any element used in the As clause Dim AnyName As SomeType Value types – 2 memory locations a copy in memory Reference types – 1 memory location Refer to the original by its memory location

7

Using .NET CLR to Compile Programs

Managed

CLS Compliant Language

PE MSIL and Metadata

JIT Compiler

Native Code for Target 8

ASP.NET

Active Server Pages (ASP) A Web development environment that compiles applications written in .NET compatible languages Uses CLR and managed code features These are on the Web server

9

3 Deploying .NET Web Applications

Web applications are published to a Web Folder Users access the application using a browser on a workstation and the URL of the web application

10

End of Chapter 1 Review Visual Studio.NET

Advanced Programming Using Visual Basic.NET

© 2003 by The McGraw-Hill Companies, Inc. All rights reserved.

4