Dot Net Technology Notes (BCA 602)
BCA VI
UNIT I & UNIT II
Ms. POONAM VERMA
, Syllabus
The .Net Framework:Introduction
Introduction
Common Language Runtime (CLR)
Common Type System (CTS)
Common Language Specification (CLS)
Microsoft Intermediate Language
(MSIL)
Just-In –Time Compilation
Framework Base Classes.
C -Sharp Language (C#):
Introduction
Data Types, Identifiers, Variables,
Constants and Literals
Array and Strings
Object and Classes
Inheritance and Polymorphism
Operator Overloading
Interfaces, Delegates and Events
Type conversion.
C# Using Libraries
Namespace- System
Input-Output,
Multi-Threading,
Networking and sockets,
Managing Console I/O Operations,
Windows Forms,
Error Handling.
Advance Features using C#
Web Services,
Window Services,
Asp.net Web Form Controls,
ADO.Net.
Distributed Application in C#,
Unsafe Mode,
Graphical Device interface with C#.
Assemblies and Attributes
.Net Assemblies
Attributes
Generic.
,3
, Unit-1
Introduction to .Net framework
1. 1 Introduction to Dot Net Framework
The .NET is the technology from Microsoft, on which all other Microsoft technologies will be
depending on in future.
It is a major technology change. Just like the computer world moved from DOS to
Windows, now they are moving to .NET. But don't be surprised if you find anyone saying that "I
do not like .NET and I would stick with the good old COM and C++". There are still lot of
people who like to use the bullock-cart instead of the latest Honda car.
.NET technology was introduced by Microsoft, to catch the market from the SUN's Java.
Few years back, Microsoft had only VC++ and VB to compete with Java, but Java was catching
the market very fast. With the world depending more and more on the Internet/Web and java
related tools becoming the best choice for the web applications, Microsoft seemed to be loosing
the battle. Thousands of programmers moved to java from VC++ and VB. To recover the market,
Microsoft announced .NET.
.NET framework comes with a single class library. And thats all programmers need to
learn!! Whether they write the code in C# or VB.NET or J#, it doesn't matter, you just use the
.NET class library. There is no classes specific to any language. There is nothing more you can
do in a language, which you can't do in any other .NET language. You can write code in C# or
VB.NET with the same number of lines of code, same performance and same efficiency, because
everyone uses same .NET class library.
Features of .NET
It is a platform neutral framework.
It is a layer between the operating system and the programming language.
It supports many programming languages, including VB.NET, C# etc.
.NET provides a common set of class libraries, which can be accessed from any .NET
based programming language. There will not be separate set of classes and libraries for
each language. If you know any one .NET language, you can write code in any .NET
language.
In future versions of Windows, .NET will be freely distributed as part of operating system
and users will never have to install .NET separately.
Major Components of .NET
The diagram given below describes various components of .NET Framework.
4
BCA VI
UNIT I & UNIT II
Ms. POONAM VERMA
, Syllabus
The .Net Framework:Introduction
Introduction
Common Language Runtime (CLR)
Common Type System (CTS)
Common Language Specification (CLS)
Microsoft Intermediate Language
(MSIL)
Just-In –Time Compilation
Framework Base Classes.
C -Sharp Language (C#):
Introduction
Data Types, Identifiers, Variables,
Constants and Literals
Array and Strings
Object and Classes
Inheritance and Polymorphism
Operator Overloading
Interfaces, Delegates and Events
Type conversion.
C# Using Libraries
Namespace- System
Input-Output,
Multi-Threading,
Networking and sockets,
Managing Console I/O Operations,
Windows Forms,
Error Handling.
Advance Features using C#
Web Services,
Window Services,
Asp.net Web Form Controls,
ADO.Net.
Distributed Application in C#,
Unsafe Mode,
Graphical Device interface with C#.
Assemblies and Attributes
.Net Assemblies
Attributes
Generic.
,3
, Unit-1
Introduction to .Net framework
1. 1 Introduction to Dot Net Framework
The .NET is the technology from Microsoft, on which all other Microsoft technologies will be
depending on in future.
It is a major technology change. Just like the computer world moved from DOS to
Windows, now they are moving to .NET. But don't be surprised if you find anyone saying that "I
do not like .NET and I would stick with the good old COM and C++". There are still lot of
people who like to use the bullock-cart instead of the latest Honda car.
.NET technology was introduced by Microsoft, to catch the market from the SUN's Java.
Few years back, Microsoft had only VC++ and VB to compete with Java, but Java was catching
the market very fast. With the world depending more and more on the Internet/Web and java
related tools becoming the best choice for the web applications, Microsoft seemed to be loosing
the battle. Thousands of programmers moved to java from VC++ and VB. To recover the market,
Microsoft announced .NET.
.NET framework comes with a single class library. And thats all programmers need to
learn!! Whether they write the code in C# or VB.NET or J#, it doesn't matter, you just use the
.NET class library. There is no classes specific to any language. There is nothing more you can
do in a language, which you can't do in any other .NET language. You can write code in C# or
VB.NET with the same number of lines of code, same performance and same efficiency, because
everyone uses same .NET class library.
Features of .NET
It is a platform neutral framework.
It is a layer between the operating system and the programming language.
It supports many programming languages, including VB.NET, C# etc.
.NET provides a common set of class libraries, which can be accessed from any .NET
based programming language. There will not be separate set of classes and libraries for
each language. If you know any one .NET language, you can write code in any .NET
language.
In future versions of Windows, .NET will be freely distributed as part of operating system
and users will never have to install .NET separately.
Major Components of .NET
The diagram given below describes various components of .NET Framework.
4