Shri Shivaji Science College, Amravati
Department of Computer Science
Topic- Introduction to .NET Framework
Prepared By
Dr. Ujwala S. Junghare
Dept. of Computer Science
Contents
• Introduction
• Features of .NET
• .NET Framework Design Goals
Introduction to .NET Framework
.NET is developed by Microsoft and it is software which
compiles and executes programs written in different languages
like Visual Basic, CPP, C# etc. There are different versions of
.NET. Very first version of .NET was released in 2001 that was
1.0. .NET is a framework thus it is used to develop Web based
applications, Form based applications and different Web
services. Using .NET we can construct Windows applications,
Mobile application, Web application and also support to
industry standards.
.NET framework supports to the important feature that is
Object Oriented Programming. It provides the code execution
environment which makes code execution safe and also
minimize the software deployment and version problems
Features of .NET
Due to following features .NET is a wonderful platform for developing
modern applications.
• Variety of Functionality
.NET framework offers a affluent set of functionality out of the box. It
includes hundreds of classes that provide variety of functionality ready to
use in your applications. There is no need find low level details.
• Effortless Expansion of web applications
Dynamic and data driven web applications development is possible due to
ASP.NET technology available on .NET platform. ASP.NET offers an
complex user interface event driven programming model (similar to Visual
Basic 6 that simplify development of web pages mostly called as web forms).
• Support Object Oriented Programming Feature
.NET provides a completely object oriented environment and we are very
well familiar with Object Oriented programming features. As Object is
consider as mother of all so languages like Visual Basic.NET now support
many of the Object Oriented features that were absent traditionally.
• Embrace Multiple Languages
.NET supports multiple languages like C++, C#, Jscript.NET etc . This
means that if you very well are familiar with C++ languages then you have to
just mould them to suit .NET environment. Currently four languages are
available such as Visual Basic.NET, C# (pronounced as C-sharp),
Jscript.NET and Managed C++ (a dialect of Visual C++).
• Handles Multi-Devices
.NET provides capable platform for programming with multiple devices such
as PDAs, mobiles and handheld PCs. As Modern life style is increasingly
embracing mobile and wireless devices so programming with such devices
is great support.
• Automatic memory management
In .NET developers don’t have to worry about memory management. It is
tedious task because while developing applications developers had to
develop an eye on system resources like memory. Memory leaks were major
reason in failure of applications. But NET handles memory on its own. The
garbage collector takes care of freeing unused objects at appropriate
intervals.
• No more DLL Hell
In .COM world “DLL hell” is very famous term. Also DLL clash are a frequent fact in
COM world. The main reason behind this was “one version of component across
machine”. Also, COM components require registration in the system registry. .NET
ends this DLL hell by allowing applications to use their own copy of dependent DLLs.
Also, .NET components do not require any kind of registration in system registry.
• Strongly Support to XML
Mostly all are well-known with XML. XML has powerful industry support that almost all
the dealers have freed some kind of upgrades or patches to their existing software to
make it “XML compatible”. .NET Strongly Support to XML and it is the only platform
that has built with XML right into the core framework. .NET provides XML web services
that are based on standards like HTTP, XML and SOAP.
• Effortlessness of deployment
Windows applications Deployment particularly COM components were always been a
tedious job. Since .NET does not require any registration as such, much of the
deployment is simplified.
• Security Mechanisms
Windows platform was always criticized for poor security mechanisms. Microsoft has
taken great efforts to make .NET platform safe and secure for enterprise applications.
Features such as type safety, code access security and role based authentication
make overall application more robust and secure
.NET Framework Design Goals
Following are the main design goals of Microsoft
.NET framework:
 Component Infrastructure
 Language Integration
 Internet Interoperation
 Simple Development
 Simple Deployment
 Reliability
 Security
 Component Infrastructure: Previously COM technology does not
integrate binary libraries without referring to or alter their source
code. Although COM permits you to integrate binary components
developed using any language, it requires to follow COM identity and
rule. And you may have to rewrite similar code but .NET removes
them. In .NET all classes are ready to be reused at binary level. You
don’t have to write extra code.
 Language Integration: .NET supports not only language
independence but also language integration. It mean that you can
inherit classes, take benefit of polymorphism also. .NET make this
possible with the specification called Common Type System(CTS).
.NET base classes provide base system types eg. Integer, string etc.
Because every language compiler must get minimum set of rules
specified by CLS.
 Internet Interoperation: The .NET frame work uses open , simple
and lightweight protocol i.e. SOAP protocol which is based on widely
accepted XML and HTTP standards.
 Simple development: .NET solution provides a set of framework
classes and every language used it. Therefore no need to learn new
API. So development becomes simple.
 Simple Deployment (use): .NET uses shared DLL with which it was
built. Shared DLL have unique hash value, public key, local and
version number therefore its physical file name is no longer
important. .NET don’t need component related register setting. In
.NET you can simply copy your file from one directory to another
directory.
 Reliability: .NET requires type safety. Every class in .NET is derived
from the mother of all classes, objects, which support runtime type-
identification features etc. .NET supports exceptions in the CLR
which provides error handling mechanism.
 Security: .NET Provides number of security features. . Net protects
access to specific part of the executable code.
Thank You

Session i

  • 1.
    Shri Shivaji ScienceCollege, Amravati Department of Computer Science Topic- Introduction to .NET Framework Prepared By Dr. Ujwala S. Junghare Dept. of Computer Science
  • 2.
    Contents • Introduction • Featuresof .NET • .NET Framework Design Goals
  • 3.
    Introduction to .NETFramework .NET is developed by Microsoft and it is software which compiles and executes programs written in different languages like Visual Basic, CPP, C# etc. There are different versions of .NET. Very first version of .NET was released in 2001 that was 1.0. .NET is a framework thus it is used to develop Web based applications, Form based applications and different Web services. Using .NET we can construct Windows applications, Mobile application, Web application and also support to industry standards. .NET framework supports to the important feature that is Object Oriented Programming. It provides the code execution environment which makes code execution safe and also minimize the software deployment and version problems
  • 4.
    Features of .NET Dueto following features .NET is a wonderful platform for developing modern applications. • Variety of Functionality .NET framework offers a affluent set of functionality out of the box. It includes hundreds of classes that provide variety of functionality ready to use in your applications. There is no need find low level details. • Effortless Expansion of web applications Dynamic and data driven web applications development is possible due to ASP.NET technology available on .NET platform. ASP.NET offers an complex user interface event driven programming model (similar to Visual Basic 6 that simplify development of web pages mostly called as web forms). • Support Object Oriented Programming Feature .NET provides a completely object oriented environment and we are very well familiar with Object Oriented programming features. As Object is consider as mother of all so languages like Visual Basic.NET now support many of the Object Oriented features that were absent traditionally.
  • 5.
    • Embrace MultipleLanguages .NET supports multiple languages like C++, C#, Jscript.NET etc . This means that if you very well are familiar with C++ languages then you have to just mould them to suit .NET environment. Currently four languages are available such as Visual Basic.NET, C# (pronounced as C-sharp), Jscript.NET and Managed C++ (a dialect of Visual C++). • Handles Multi-Devices .NET provides capable platform for programming with multiple devices such as PDAs, mobiles and handheld PCs. As Modern life style is increasingly embracing mobile and wireless devices so programming with such devices is great support. • Automatic memory management In .NET developers don’t have to worry about memory management. It is tedious task because while developing applications developers had to develop an eye on system resources like memory. Memory leaks were major reason in failure of applications. But NET handles memory on its own. The garbage collector takes care of freeing unused objects at appropriate intervals.
  • 6.
    • No moreDLL Hell In .COM world “DLL hell” is very famous term. Also DLL clash are a frequent fact in COM world. The main reason behind this was “one version of component across machine”. Also, COM components require registration in the system registry. .NET ends this DLL hell by allowing applications to use their own copy of dependent DLLs. Also, .NET components do not require any kind of registration in system registry. • Strongly Support to XML Mostly all are well-known with XML. XML has powerful industry support that almost all the dealers have freed some kind of upgrades or patches to their existing software to make it “XML compatible”. .NET Strongly Support to XML and it is the only platform that has built with XML right into the core framework. .NET provides XML web services that are based on standards like HTTP, XML and SOAP. • Effortlessness of deployment Windows applications Deployment particularly COM components were always been a tedious job. Since .NET does not require any registration as such, much of the deployment is simplified. • Security Mechanisms Windows platform was always criticized for poor security mechanisms. Microsoft has taken great efforts to make .NET platform safe and secure for enterprise applications. Features such as type safety, code access security and role based authentication make overall application more robust and secure
  • 7.
    .NET Framework DesignGoals Following are the main design goals of Microsoft .NET framework:  Component Infrastructure  Language Integration  Internet Interoperation  Simple Development  Simple Deployment  Reliability  Security
  • 8.
     Component Infrastructure:Previously COM technology does not integrate binary libraries without referring to or alter their source code. Although COM permits you to integrate binary components developed using any language, it requires to follow COM identity and rule. And you may have to rewrite similar code but .NET removes them. In .NET all classes are ready to be reused at binary level. You don’t have to write extra code.  Language Integration: .NET supports not only language independence but also language integration. It mean that you can inherit classes, take benefit of polymorphism also. .NET make this possible with the specification called Common Type System(CTS). .NET base classes provide base system types eg. Integer, string etc. Because every language compiler must get minimum set of rules specified by CLS.  Internet Interoperation: The .NET frame work uses open , simple and lightweight protocol i.e. SOAP protocol which is based on widely accepted XML and HTTP standards.
  • 9.
     Simple development:.NET solution provides a set of framework classes and every language used it. Therefore no need to learn new API. So development becomes simple.  Simple Deployment (use): .NET uses shared DLL with which it was built. Shared DLL have unique hash value, public key, local and version number therefore its physical file name is no longer important. .NET don’t need component related register setting. In .NET you can simply copy your file from one directory to another directory.  Reliability: .NET requires type safety. Every class in .NET is derived from the mother of all classes, objects, which support runtime type- identification features etc. .NET supports exceptions in the CLR which provides error handling mechanism.  Security: .NET Provides number of security features. . Net protects access to specific part of the executable code.
  • 10.