Presentation is loading. Please wait.

Presentation is loading. Please wait.

Appendix D: Microsoft.NET Framework Overview. Overview.NET Framework Architecture.NET Namespaces.

Similar presentations


Presentation on theme: "Appendix D: Microsoft.NET Framework Overview. Overview.NET Framework Architecture.NET Namespaces."— Presentation transcript:

1 Appendix D: Microsoft.NET Framework Overview

2 Overview.NET Framework Architecture.NET Namespaces

3 Lesson:.NET Framework Architecture Architecture of the.NET Framework Object-Oriented Programming The Common Language Runtime

4 Architecture of the.NET Framework Others VB C# VB compilerC# compiler Microsoft Intermediate Language (MSIL) ADO.NET Common Language Runtime (CLR) Win32 API MyClass Source Code Compiler Operating System Base Class Libraries

5 Object-Oriented Programming Object Oriented Programming Define classes to represent the main concepts Each class can comprise data, constructors, and methods Create objects by using the new operator VB example C# example

6 The Common Language Runtime The common language runtime provides an execution environment for.NET Framework applications The common language runtime includes these features: Common type system Just-in-time compiler Security support Garbage collection and memory management Class loader COM interoperability

7 Lesson:.NET Namespaces What Are Namespaces? How Are Namespaces Referenced? Creating New Namespaces

8 What Are Namespaces? Namespaces are collections of names that are organized in functional groupings, such as classes, interfaces, and enumerators Namespaces are used in everyday life and in computing VB.NET code (this will be combo slide that will build and show a graphic)

9 How Are Namespaces Referenced? Classes and types are packaged as assemblies A namespace can be partitioned over several assemblies An assembly can contain types from several namespaces Assemblies are an important part of the.NET Framework To add a reference to an assembly in your project: In Solution Explorer, right-click the References folder Select the assembly you require

10 Creating New Namespaces You can create new namespaces for your classes For example, create a new namespace for the implementation of a.NET data provider for Microsoft FoxPro® To create a new namespace: Define the namespace Define your classes in the namespace Create an assembly to hold the compiled code

11 Review.NET Framework Architecture.NET Namespaces


Download ppt "Appendix D: Microsoft.NET Framework Overview. Overview.NET Framework Architecture.NET Namespaces."

Similar presentations


Ads by Google