SlideShare a Scribd company logo
Chapter Two:
Introduction to
.NET
11/28/2019
BantamlakDejene,Information
Technology
1
The .NET Platform and its Architecture
.NET Framework (Pronounced as “dot net”) is a software framework
developed by Microsoft that runs primarily on Microsoft windows. It includes
a large class library named as Framework Class Library (FCL) and provides
Language interoperability across several programming languages. Programs
written for .NET Framework execute in a software environment named the
Common Language Runtime (CLR). The CLR is an application virtual
machine that provides services such as security, memory management, and
exception handling. As such, computer code written using .NET Framework is
called “Managed Code”. FCL and CLR together constitute the .NET
Framework.
11/28/2019
BantamlakDejene,Information
Technology
2
FCL provides user interface, data access, database connectivity,
cryptography, web application development, numeric algorithms,
and network communications. Programmers produce software by
combining their source code with .NET Framework and other
libraries. The Framework is intended to be used by most new
applications created for the Windows platform. Microsoft also
produces an integrated development environment largely for
.NET software called Visual Studio.
11/28/2019
BantamlakDejene,Information
Technology
3
Cont.….
Architecture
11/28/2019
BantamlakDejene,Information
Technology
4
Cont.….
Common Language Infrastructure (CLI): - provides a
language-neutral platform for application development and
execution. By implementing the core aspects of .NET
Framework within the scope of CLI, these functions will not be
tied to one language but will be available across the many
languages supported by the framework.
11/28/2019
BantamlakDejene,Information
Technology
5
Cont.….
Common Language Runtime (CLR): - serves as the execution engine of
.NET Framework and offers many services such as memory management,
type safety, exception handling, garbage collection, security and thread
management. All programs written for .NET Framework are executed by the
CLR. Programs written for .NET Framework are complicated into Common
Intermediate Language (CIL) code, as opposed to being directly compiled into
machine code. During execution, an architecture-specific just-in-time (JIT)
compiler turns the CIL code into machine code.
11/28/2019
BantamlakDejene,Information
Technology
6
Cont.….
Assemblies: - Compiled CIL code is stored in CLI assemblies.
As mandated by the specification, assemblies are stored in
Portable Executable (PE) file format, common on windows
platform for all Dynamic-Link Library (DIL) and executable
(.exe) files. Assemblies are considered equivalent if they share
the same complete name.
11/28/2019
BantamlakDejene,Information
Technology
7
Cont.….
Class Library: - .NET Framework includes an implementation of the CLI
foundational Standard Libraries. The .NET Framework Class Library (FCL) is
organized in a hierarchy of namespaces. These class libraries implement many
common functions, such as file reading and writing, graphic rendering,
database interaction, and XML document manipulation. The class libraries are
available for all CLI complaint languages. The FCL implements the CLI Base
Class Library (BCL) and other class libraries some are specified by CLI and
other are Microsoft specific.
11/28/2019
BantamlakDejene,Information
Technology
8
Cont.….
11/28/2019
BantamlakDejene,Information
Technology
9
Cont.….
•Design Principles
Interoperability: - because computer systems commonly require interaction
between newer and older applications, .NET Framework provides means to
access functions implemented in newer and older programs that executed
outside .NET environment.
Language Independence: - .NET Framework introduces a Common Type
System (CTS) that defines all possible data types and programming
constructs supported by CLR and how they may or may not interact
conforming to CLI specification. Because of this feature .NET Framework
supports the exchange of types and object instances between libraries and
applications written using any conforming .NET language.
11/28/2019
BantamlakDejene,Information
Technology
10
Cont.….
Portability: - while Microsoft has never implemented the full framework on
any system except Microsoft Windows, it has engineered the framework to be
cross-platform, and implementations are available for other operating systems.
Security: - .NET Framework has its own security mechanism with two
general features: Code Access Security (CAS), and validation and
verification. CAS is based on evidence that is associated with a specific
assembly. CAS uses evidence to determine the permissions granted to the
code. The demand causes CLR to perform a call stack walk: every assembly
of each method in the call stack is checked for the permission; if any assembly
is not granted the permission a security exception is thrown.
11/28/2019
BantamlakDejene,Information
Technology
11
Cont.….
Memory Management: - CLR frees the developer from the burden of
managing memory; it handles memory management itself be detecting when
memory can be safely freed. As long as a reference to an object exists, which
may be either direct, or via a graph of objects, the object is considered to be in
use. When no reference to an object exists, and it cannot be reached or used, it
becomes garbage, eligible for collection.
Performance: - when an application is first launched, the.NET Framework
compiles the CIL code into executable code using its Just-in-Time compiler,
and caches the executable program into the .NET Native Image Cache. Due to
caching, the application launches faster for subsequent launches, although the
first launch is usually slower. To speed up the first launch, developers may use
the Native Image Generator utility to manually ahead-of-time compile and
cache any .NET application.
11/28/2019
BantamlakDejene,Information
Technology
12
Cont.….
The use of .NET Platform in
Application Development
Less Coding and Increased Reuse of Code: - this Framework works on
Object-Oriented programming which eliminates unnecessary codes and
involves less coding for the developers. .NET consists of re-usable code and
many re-usable components. This translates into less time and consequently
less cost to develop applications.
Deployment: - with features such as no-impact applications, private
components, controlled code sharing, side-by-side versioning and partially
trusted code, the .NET Framework makes deployment easier post deployment.
The code execution environment supports safe code execution for reduce
conflicts in software deployment and versioning, and minimized performance
problems of scripted or interpreted environments.
11/28/2019
BantamlakDejene,Information
Technology
13
Cont.….
Reliability: - since its release in 2002, .NET has been used to develop
thousands of applications. Its performance on Microsoft Windows Server
2003 and Windows 2000 Server is also very stable and reliable.
Security: - .NET offers enhanced application security as web application
developed using ASP.NET has windows confirmation and configuration.
Managed code and CLR offer safeguard features such as role-based security
and code access security.
Use across Platforms and Languages: - .NET allows developers to develop
applications for a desktop, a browser, a mobile browser, or an application
running on PDA. .NET is promoted as a language-independent Framework,
which implies that development can take place in different compliant
languages.
11/28/2019
BantamlakDejene,Information
Technology
14
Cont.….
Use for Service-Oriented Architecture: - .NET is often used
for Web Services, which is a solution for executing an SOA
strategy. Through Web Services, applications which are
designed in different programming languages or platforms are
able to communicate and transmit data utilizing standard
internet protocols.
Integration with Legacy Systems: - the capability of .NET to
process all types of XML documents and writes any format of
file with swiftness and ease provides multiple routes for
integration.
11/28/2019
BantamlakDejene,Information
Technology
15
Introduction to Microsoft
Visual Studio 2012
Visual Basic is a third-generation event-driven programming
language first released by Microsoft in 1991. Visual Basic is a
user-friendly programming language designed for beginners.
Therefore, it enables anyone to develop GUI window
applications easily. Visual Basic has gone through many phases
of development since the days of BASIC that was built for DOS.
BASIC stands for Beginners' All-purpose Symbolic Instruction
Code.
11/28/2019
BantamlakDejene,Information
Technology
16
Cont.….
Visual Studio has been designed to ensure that developers can
provide a continuous flow of value to the business. The interface
has been revamped to remove significant clutter from the screen,
while still providing fast access to frequently used features.
Removing unnecessary distractions helps developers remain
focused on the key development tasks.
11/28/2019
BantamlakDejene,Information
Technology
17
Cont.….
The Visual Studio 2012 start page comprises three sections, the
start page, the output section and the solution explorer. In the
start page, you can start a new project, open a project or open a
recent project. You can also check for the latest news in Visual
Studio 2012 Express for Windows Desktop. The start page also
consists of a menu bar and a tool bar where you can perform
various tasks by clicking the menu items.
11/28/2019
BantamlakDejene,Information
Technology
18
THANK YOU
11/28/2019
BantamlakDejene,Information
Technology
19

More Related Content

PPTX
Vb ch 2-introduction_to_.net
PDF
Net framework
PPTX
Dot net-interview-questions-and-answers part i
PDF
Dot net-interview-questions-and-answers part i
PDF
PDF
Lesson 1 Understanding Dot Net Framework
Vb ch 2-introduction_to_.net
Net framework
Dot net-interview-questions-and-answers part i
Dot net-interview-questions-and-answers part i
Lesson 1 Understanding Dot Net Framework

What's hot (19)

PPT
Introduction to .NET Framework
PPTX
02 intro to programming in .net (part 2)
PPTX
.Net framework
PPTX
Net Fundamentals
DOCX
The seven pillars of aspnet
PPS
Asp.net new
PPT
Module 1: Introduction to .NET Framework 3.5 (Slides)
PPTX
Introduction to .net
PPSX
An isas presentation on .net framework 2.0 by vikash chandra das
PPT
Introduction to .net
DOC
.Net framework interview questions
DOCX
Vb.net class notes
PPT
SynapseIndia dotnet web development architecture module
PPT
Csharp dot net
PPTX
Overview of .Net Framework 4.5
DOCX
New microsoft office word document
PPT
Microsoft.Net
PPTX
Visual Studio 2010 and .NET Framework 4.0 Overview
DOCX
Online lg prodect
Introduction to .NET Framework
02 intro to programming in .net (part 2)
.Net framework
Net Fundamentals
The seven pillars of aspnet
Asp.net new
Module 1: Introduction to .NET Framework 3.5 (Slides)
Introduction to .net
An isas presentation on .net framework 2.0 by vikash chandra das
Introduction to .net
.Net framework interview questions
Vb.net class notes
SynapseIndia dotnet web development architecture module
Csharp dot net
Overview of .Net Framework 4.5
New microsoft office word document
Microsoft.Net
Visual Studio 2010 and .NET Framework 4.0 Overview
Online lg prodect
Ad

Similar to introduction to .net (20)

PPTX
PPT
.Net Overview
PPT
.Net overview
PPTX
.Net slid
PPT
.Net Introduction
PPT
Modified.net overview
PPT
.Net Overview -- Training (Lesson 1)
PDF
PDF
.NET TECHNOLOGIES
PPTX
.Net platform an understanding
PPT
.Net framework
PDF
tybsc it asp.net full unit 1,2,3,4,5,6 notes
PPTX
.Net Framework
PPT
NETOverview1.ppt c# using asp.net activeX data object and XNL
PPT
.Net overview
PPTX
Intro to Microsoft.NET
DOCX
Chapter 1 introduction to .net
PPT
Inside .net framework
PDF
Chapter1
.Net Overview
.Net overview
.Net slid
.Net Introduction
Modified.net overview
.Net Overview -- Training (Lesson 1)
.NET TECHNOLOGIES
.Net platform an understanding
.Net framework
tybsc it asp.net full unit 1,2,3,4,5,6 notes
.Net Framework
NETOverview1.ppt c# using asp.net activeX data object and XNL
.Net overview
Intro to Microsoft.NET
Chapter 1 introduction to .net
Inside .net framework
Chapter1
Ad

More from bantamlak dejene (9)

PPTX
object oriented fundamentals in vb.net
PPTX
introduction to vb.net
PPTX
html forms and server side scripting
PPTX
server side scripting basics
PPTX
server side scripting basics by Bantamlak Dejene
PPTX
Vb ch 3-object-oriented_fundamentals_in_vb.net
PPTX
Vb ch 1-introduction
PPTX
Php ch-2_html_forms_and_server_side_scripting
PPTX
Php ch-1_server_side_scripting_basics
object oriented fundamentals in vb.net
introduction to vb.net
html forms and server side scripting
server side scripting basics
server side scripting basics by Bantamlak Dejene
Vb ch 3-object-oriented_fundamentals_in_vb.net
Vb ch 1-introduction
Php ch-2_html_forms_and_server_side_scripting
Php ch-1_server_side_scripting_basics

Recently uploaded (20)

PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
1. Introduction to Computer Programming.pptx
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Empathic Computing: Creating Shared Understanding
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
Machine Learning_overview_presentation.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Mushroom cultivation and it's methods.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
Programs and apps: productivity, graphics, security and other tools
cloud_computing_Infrastucture_as_cloud_p
1. Introduction to Computer Programming.pptx
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
NewMind AI Weekly Chronicles - August'25-Week II
Spectral efficient network and resource selection model in 5G networks
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Empathic Computing: Creating Shared Understanding
Unlocking AI with Model Context Protocol (MCP)
Advanced methodologies resolving dimensionality complications for autism neur...
Univ-Connecticut-ChatGPT-Presentaion.pdf
Machine Learning_overview_presentation.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Approach and Philosophy of On baking technology
Mushroom cultivation and it's methods.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Programs and apps: productivity, graphics, security and other tools

introduction to .net

  • 2. The .NET Platform and its Architecture .NET Framework (Pronounced as “dot net”) is a software framework developed by Microsoft that runs primarily on Microsoft windows. It includes a large class library named as Framework Class Library (FCL) and provides Language interoperability across several programming languages. Programs written for .NET Framework execute in a software environment named the Common Language Runtime (CLR). The CLR is an application virtual machine that provides services such as security, memory management, and exception handling. As such, computer code written using .NET Framework is called “Managed Code”. FCL and CLR together constitute the .NET Framework. 11/28/2019 BantamlakDejene,Information Technology 2
  • 3. FCL provides user interface, data access, database connectivity, cryptography, web application development, numeric algorithms, and network communications. Programmers produce software by combining their source code with .NET Framework and other libraries. The Framework is intended to be used by most new applications created for the Windows platform. Microsoft also produces an integrated development environment largely for .NET software called Visual Studio. 11/28/2019 BantamlakDejene,Information Technology 3 Cont.….
  • 5. Common Language Infrastructure (CLI): - provides a language-neutral platform for application development and execution. By implementing the core aspects of .NET Framework within the scope of CLI, these functions will not be tied to one language but will be available across the many languages supported by the framework. 11/28/2019 BantamlakDejene,Information Technology 5 Cont.….
  • 6. Common Language Runtime (CLR): - serves as the execution engine of .NET Framework and offers many services such as memory management, type safety, exception handling, garbage collection, security and thread management. All programs written for .NET Framework are executed by the CLR. Programs written for .NET Framework are complicated into Common Intermediate Language (CIL) code, as opposed to being directly compiled into machine code. During execution, an architecture-specific just-in-time (JIT) compiler turns the CIL code into machine code. 11/28/2019 BantamlakDejene,Information Technology 6 Cont.….
  • 7. Assemblies: - Compiled CIL code is stored in CLI assemblies. As mandated by the specification, assemblies are stored in Portable Executable (PE) file format, common on windows platform for all Dynamic-Link Library (DIL) and executable (.exe) files. Assemblies are considered equivalent if they share the same complete name. 11/28/2019 BantamlakDejene,Information Technology 7 Cont.….
  • 8. Class Library: - .NET Framework includes an implementation of the CLI foundational Standard Libraries. The .NET Framework Class Library (FCL) is organized in a hierarchy of namespaces. These class libraries implement many common functions, such as file reading and writing, graphic rendering, database interaction, and XML document manipulation. The class libraries are available for all CLI complaint languages. The FCL implements the CLI Base Class Library (BCL) and other class libraries some are specified by CLI and other are Microsoft specific. 11/28/2019 BantamlakDejene,Information Technology 8 Cont.….
  • 10. •Design Principles Interoperability: - because computer systems commonly require interaction between newer and older applications, .NET Framework provides means to access functions implemented in newer and older programs that executed outside .NET environment. Language Independence: - .NET Framework introduces a Common Type System (CTS) that defines all possible data types and programming constructs supported by CLR and how they may or may not interact conforming to CLI specification. Because of this feature .NET Framework supports the exchange of types and object instances between libraries and applications written using any conforming .NET language. 11/28/2019 BantamlakDejene,Information Technology 10 Cont.….
  • 11. Portability: - while Microsoft has never implemented the full framework on any system except Microsoft Windows, it has engineered the framework to be cross-platform, and implementations are available for other operating systems. Security: - .NET Framework has its own security mechanism with two general features: Code Access Security (CAS), and validation and verification. CAS is based on evidence that is associated with a specific assembly. CAS uses evidence to determine the permissions granted to the code. The demand causes CLR to perform a call stack walk: every assembly of each method in the call stack is checked for the permission; if any assembly is not granted the permission a security exception is thrown. 11/28/2019 BantamlakDejene,Information Technology 11 Cont.….
  • 12. Memory Management: - CLR frees the developer from the burden of managing memory; it handles memory management itself be detecting when memory can be safely freed. As long as a reference to an object exists, which may be either direct, or via a graph of objects, the object is considered to be in use. When no reference to an object exists, and it cannot be reached or used, it becomes garbage, eligible for collection. Performance: - when an application is first launched, the.NET Framework compiles the CIL code into executable code using its Just-in-Time compiler, and caches the executable program into the .NET Native Image Cache. Due to caching, the application launches faster for subsequent launches, although the first launch is usually slower. To speed up the first launch, developers may use the Native Image Generator utility to manually ahead-of-time compile and cache any .NET application. 11/28/2019 BantamlakDejene,Information Technology 12 Cont.….
  • 13. The use of .NET Platform in Application Development Less Coding and Increased Reuse of Code: - this Framework works on Object-Oriented programming which eliminates unnecessary codes and involves less coding for the developers. .NET consists of re-usable code and many re-usable components. This translates into less time and consequently less cost to develop applications. Deployment: - with features such as no-impact applications, private components, controlled code sharing, side-by-side versioning and partially trusted code, the .NET Framework makes deployment easier post deployment. The code execution environment supports safe code execution for reduce conflicts in software deployment and versioning, and minimized performance problems of scripted or interpreted environments. 11/28/2019 BantamlakDejene,Information Technology 13
  • 14. Cont.…. Reliability: - since its release in 2002, .NET has been used to develop thousands of applications. Its performance on Microsoft Windows Server 2003 and Windows 2000 Server is also very stable and reliable. Security: - .NET offers enhanced application security as web application developed using ASP.NET has windows confirmation and configuration. Managed code and CLR offer safeguard features such as role-based security and code access security. Use across Platforms and Languages: - .NET allows developers to develop applications for a desktop, a browser, a mobile browser, or an application running on PDA. .NET is promoted as a language-independent Framework, which implies that development can take place in different compliant languages. 11/28/2019 BantamlakDejene,Information Technology 14
  • 15. Cont.…. Use for Service-Oriented Architecture: - .NET is often used for Web Services, which is a solution for executing an SOA strategy. Through Web Services, applications which are designed in different programming languages or platforms are able to communicate and transmit data utilizing standard internet protocols. Integration with Legacy Systems: - the capability of .NET to process all types of XML documents and writes any format of file with swiftness and ease provides multiple routes for integration. 11/28/2019 BantamlakDejene,Information Technology 15
  • 16. Introduction to Microsoft Visual Studio 2012 Visual Basic is a third-generation event-driven programming language first released by Microsoft in 1991. Visual Basic is a user-friendly programming language designed for beginners. Therefore, it enables anyone to develop GUI window applications easily. Visual Basic has gone through many phases of development since the days of BASIC that was built for DOS. BASIC stands for Beginners' All-purpose Symbolic Instruction Code. 11/28/2019 BantamlakDejene,Information Technology 16
  • 17. Cont.…. Visual Studio has been designed to ensure that developers can provide a continuous flow of value to the business. The interface has been revamped to remove significant clutter from the screen, while still providing fast access to frequently used features. Removing unnecessary distractions helps developers remain focused on the key development tasks. 11/28/2019 BantamlakDejene,Information Technology 17
  • 18. Cont.…. The Visual Studio 2012 start page comprises three sections, the start page, the output section and the solution explorer. In the start page, you can start a new project, open a project or open a recent project. You can also check for the latest news in Visual Studio 2012 Express for Windows Desktop. The start page also consists of a menu bar and a tool bar where you can perform various tasks by clicking the menu items. 11/28/2019 BantamlakDejene,Information Technology 18