A.
Object Oriented Programming
is a fundamental way of cp that uses "objects" and their interactions to design applications and computer programs. Programming techniques may include features such as encapsulation, modularity, polymorphism, and inheritance. It was not commonly used in mainstream software application development until the early 1990s. Many modern programming languages now support OOP.
OOP Fundamental concepts
- Class
- Object
- Instance
- Method
- Message passing
- Inheritance
- Encapsulation
- Abstraction
- Polymorphism
B.
Microsoft .NET Framework
Microsoft .NET Framework is a software component that is a part of several Microsoft Windows operating systems. It has a large library of pre-coded solutions to common programming problems and manages the execution of programs written specifically for the framework. The .NET Framework is a key Microsoft offering and is intended to be used by most new applications created for the Windows platform.
Architecture Microsoft .NET Framework
The core aspects of the .NET framework lie within the Common Language Infrastructure, or CLI. The purpose of the CLI is to provide a language-agnostic platform for application development and execution, including functions for exception handling, garbage collection, security, and interoperability. Microsoft's implementation of the CLI is called the Common Language Runtime or CLR. The CLR is composed of four primary parts:
- Common Type System (CTS)
- Common Language Specification (CLS)
- Metadata
- Virtual Execution System (VES)
C.
CLR, CTS, Class Library
CLR
Common Language Runtime (CLR) is the virtual machine component of Microsoft's .NET initiative. It is Microsoft's implementation of the Common Language Infrastructure (CLI) standard, which defines an execution environment for program code. The CLR runs a form of bytecode called the Common Intermediate Language (CIL, previously known as MSIL -- Microsoft Intermediate Language).
Developers using the CLR write code in a language such as C# or VB.Net. At compile time, a .NET compiler converts such code into CIL code. At runtime, the CLR's just-in-time compiler (JIT compiler) converts the CIL code into code native to the operating system. Alternatively, the CIL code can be compiled to native code in a separate step prior to runtime. This speeds up all later runs of the software as the CIL-to-native compilation is no longer necessary.
CTS
The Common Type System (CTS) is a standard that specifies how Type definitions and specific values of Types are represented in computer memory. It is intended to allow programs written in different programming languages to easily share information. As used in programming languages, a Type can be described as a definition of a set of values (for example, "all integers between 0 and 10"), and the allowable operations on those values (for example, addition and subtraction).
The specification for the CTS is contained in Ecma standard 335, "Common Language Infrastructure (CLI) Partitions I to VI." The CLI and the CTS were created by Microsoft, and the Microsoft .NET framework is an implementation of the standard.
Class Library
library is a collection of subroutines used to develop software. Libraries contain code and data that provide services to independent programs. This allows code and data to be shared and changed in a modular fashion. Some executables are both standalone programs and libraries, but most libraries are not executables. Executables and libraries make references known as links to each other through the process known as linking, which is typically done by a linker.
The Framework Class Library (FCL) is a standard library available to all languages using the .NET Framework. The FCL is a collection of 2,500 reusable classes (within 242 namespaces), interfaces and value types.
D.
Namespace
A namespace is an abstract container or environment created to hold a logical grouping of unique identifiers (i.e., names). An identifier defined in a namespace is associated with that namespace. The same identifier can be independently defined in multiple namespaces. That is, the meaning associated with an identifier defined in one namespace may or may not have the same meaning as the same identifier defined in another namespace. Languages that support namespaces specify the rules that determine to which namespace an identifier (i.e., not its definition) belongs.
The System namespace contains classes for such broad ranging things as:
- Data types
- Data type conversions
- Method-parameter manipulation
- Events and event handlers
- Mathematics
- Program invocation
- Application-environment management
Other Name Space
- System
- System.CodeDom
- System.Collections
- System.ComponentModel
- System.Configuration
- System.Data
- System.Deployment
- System.Diagnostics
- System.DirectoryServices
- System.Drawing
- System.EnterpriseServices
- System.Globalization
- System.IO
- System.Management
- System.Media
- System.Messaging
- System.Net
- System.Linq
- System.Linq.Expressions
- System.Reflection
- System.Resources
- System.Runtime
- System.Security
- System.ServiceProcess
- System.Text
- System.Threading
- System.Timers
- System.Transactions
- System.Web
- System.Windows.Forms
- System.Xml
E.
Visual Studio.NET IDE (Integreted Development Environment)
IDE Visual Studio.NET Element:
a.
Menu
b.
Toolbox
c.
Solution Explorer
d.
Properties
e.
Pending Checking
Template Project Visual Basic:
1.
Windows Application
2.
Class Library
3.
Console Application
4.
Windows Control Library
5.
Crystal
Reports
6.
Device Application
F.
Console Application
No comments:
Post a Comment