NET Introduction -II

Embed Size (px)

Citation preview

  • 8/6/2019 .NET Introduction -II

    1/12

    .NET

    Framework

  • 8/6/2019 .NET Introduction -II

    2/12

    Why .NETFramework?

  • 8/6/2019 .NET Introduction -II

    3/12

    For every software the key features that arerequired today are security, modularity,

    scalability,performance,reusability and flexibility

    to run in a distributed environment. As newrequirements come in, the software should be

    developed accordingly. Older languages may

    not be able to provide all these features due to

    the limitations they have..NET was introduced to facilitate the

    development of such software.

  • 8/6/2019 .NET Introduction -II

    4/12

    .NETFramework NET Framework can be said as a software technology

    which includes a pre-coded set of standardfunctionalities and a runtime which manages the

    programs runtime requirements . The pre-coded set of standard functionalities is called

    Class Library and the runtime is called CommonLanguage Runtime (CLR).

    This framework facilitates the creation of web

    applications, windows applications, console applications,web services etc. It also supports the maintenance ofthese applications and aids in debugging anddeployment.

  • 8/6/2019 .NET Introduction -II

    5/12

    Core

    Components:

    As mentioned earlier the core components

    of .NET Framework are Class Library and

    CLR. Let us now see the significance of

    these two in .NET Framework.

  • 8/6/2019 .NET Introduction -II

    6/12

  • 8/6/2019 .NET Introduction -II

    7/12

    Class Library

    The Class Library contains a rich collection of reusableclasses, interfaces and value types, which are organizedin a hierarchy of namespaces (logical groupings of

    related classes) such as System, Microsoft etc. The System namespace is the root namespace for

    fundamental types in .NET Framework. The classes inthese namespaces are helpful in performing varioustasks such as input-output operations, data storage,graphic rendering etc.

    All .NET supporting languages can consume this library.As these classes are developed using C# language, theyare object oriented.

  • 8/6/2019 .NET Introduction -II

    8/12

    The Class Library is classified into

    Framework Class Library (FCL)

    & Base Class Library (BCL).

  • 8/6/2019 .NET Introduction -II

    9/12

    FCL

    FCL provides the most fundamental

    functionality and is designed to be thefoundation on which .NET Framework

    applications, components, and controls

    are built.

  • 8/6/2019 .NET Introduction -II

    10/12

    BCL

    BCL is a subset of FCL whichencapsulates a large number of common

    functions to perform tasks like managingthe runtime behavior, security, diagnosticsetc. This BCL incorporates new functionswith each new version of .NET

    Framework.

  • 8/6/2019 .NET Introduction -II

    11/12

    Common Language Runtime: CLR is the secured runtime environment of

    .NET. Its main purpose is to execute the .NETapplications while providing core services suchas memory management, type checking,interoperability, unified exception handling etc.

    The key features of .NET like platformindependency and language independency are

    possible because of CLR only. As the CLRexecutes the applications to native code, it isitself platform dependent.

  • 8/6/2019 .NET Introduction -II

    12/12