Documente Academic
Documente Profesional
Documente Cultură
Objectives
What you will learn...
The .NET Framework
How applications developed for the framework are executed.
The different components of the framework and their
functionalities.
How the .NET Framework differs from other similar systems.
Lesson 2: Introduction to C#
Lesson 2: Introduction to C#
Lesson 2: Introduction to C#
Lesson 2: Introduction to C#
Lesson 2: Introduction to C#
It serves as an application
virtual machine that allows the
applications to be executed
regardless of the capabilities of
the CPU which will execute the
application.
It provides core services to
running applications like
security services, memory
management, and exception
handling.
Lesson 2: Introduction to C#
10
Lesson 2: Introduction to C#
11
Lesson 2: Introduction to C#
12
ASP.NET is a programming
framework built on the CLR that
can be used on a certain server
to build web applications.
ASP.NET Web Forms are used
to provide easy ways of building
dynamic web user interfaces or
UIs.
Lesson 2: Introduction to C#
13
Lesson 2: Introduction to C#
14
Lesson 2: Introduction to C#
15
Lesson 2: Introduction to C#
16
17
18
Lesson 2: Introduction to C#
19
20
Lesson 2: Introduction to C#
21
22
The DLL and EXE files come in CLR Portable Executable (PE)
format.
Every loadable PE file contains metadata that carry information
about the components and resources they were built with.
The CLR uses this information to make sure that the component
or application has the specified version of every resource that it
needs, thus solving the common problem known as DLL Hell.
Lesson 2: Introduction to C#
23
Lesson 2: Introduction to C#
24
Lesson 2: Introduction to C#
25
Lesson 2: Introduction to C#
26
Manifest
Serves as an inventory list of
the assembly or PE file if ever
the assembly consists of a
number of PE files.
Lesson 2: Introduction to C#
27
Version
Types defined and used by the assembly
Assemblies dependencies on other assemblies
Lesson 2: Introduction to C#
28
Resources
- Files that are bundled to the assemblies that use them.
Lesson 2: Introduction to C#
29
Code Robustness
The Common Type System or CTS allows applications written
using different programming languages can interoperate with one
another.
Lesson 2: Introduction to C#
30
Lesson 2: Introduction to C#
31
enhances performance
Managed code is never interpreted even though the CLR
provides many standard runtime services.
Examples:
- just-in-time (JIT) compiling
- memory manager
Lesson 2: Introduction to C#
32
Lesson 2: Introduction to C#
33