Monday, April 14, 2008

Quiz 2




History of Computer Operating System

• DOS
• Windows System

DOS environment

What computer languages?

• Basic, Pascal, Fortran, Cobol…etc.

Windows environment

• Windows environment started in 1985?
• Windows application

What computer languages?

Visual Basic (VB), Visual C (VC),
Visual C++ (VC++), Visual Pascal (VP),……..etc.

Internet World

Can Windows applications run under internet environment?
ANS : NO

Why not?
• Because Application architecture has changed

What platform/environment ?

• .NET framework

What languages?

VB.NET, ASP.NET, JAVA,….etc.

.NET framework

 Is a Programming platform/infrastructure developed by Microsoft.
 Provide cool run-time features such as automatic memory management (garbage collection) and easier access to all system services.

 easier for programmers to write good, robust code quickly, manage, deploy, and revise the code.
 easy Internet and database access.
How is .NET work?

The .NET Framework contains three major parts:
• the Common Language Runtime (CLR)
• the Framework Class Library (FCL)
• ASP.NET

In the .NET environment:


1. First, you write your code.
2. Second, .NET takes your code and put into an Assembly (dll).
Here, all codes change into CIL (Common Intermediate Language, formerly known as MSIL - Microsoft intermediate language).

Then assembly takes place, gets placed on the Hard Disk.

3. Up till now your code didn’t get executed yet, this is the job of JIT (just-in time compiler). After the user makes a request to a specific function in the code, JIT compiles the requested part of the CIL (MSIL) code into true machine level code for the processor (CPU) of the platform that is running on and hands it off to the processor who runs the code, executes it, and passes the results back to the user.

What is Common Language Runtime (CLR)?

Also known as Virtual Execution System (VES).
• It is a run time environment
• Multilanguage support

Purpose?
• Debug your .NET program code
• Execute your .NET program code and manage your program memory


Metadata and Self-Describing Components Metadata and Self-Describing Components


 In the past, .exe or .dll written in one language could not be use in another language.

 In .NET Framework, it makes component interoperation, helps components interact and can be used by any language.




What is an assembly in .NET?


• Can be .dll, exe or library

• May consist of one or more files, a group of resources, type definitions, or references to other assemblies.

• These resources, types & references are compacted in a block of data called manifest.

What is ILDASM?

• A tool to view the assembly.

• comes with the .NET SDK or the Visual Studio.NET.

Framework Class Library (FCL)

Collection thousand of classes components for writing the .NET code

Purpose?


Provide runtime core functionality such as:
 File and I/O accessing
 interaction with database,
 consuming and producing XML
 support for building Web-based and desktop
based client applications, and SOAP-based XML Web services.

ASP.NET

• ASP.NET is a set of web development technologies marketed by Microsoft. Programmers can use it to build dynamic web sites, web applications and XML web services.

No comments: