Pages

Saturday, July 6, 2013

What is .NET Framework?

.NET Framework


  • The Microsoft .Net Framework is a platform that provides tools and technologies for develop Web Applications, Windows Application and Network Application.
  • The main two components of .Net Framework
    • CLR – Common Language Runtime
    • BCL – Base Class Library OR Framework Class Library (FCL)

Webforms , Windforms, Services
DATA, ADO.NET
 Base Class Library
Common Language Runtime
.NET Framework Diagram

CLR – Common Language Runtime

  •  CLR is the Foundation of the .NET Framework.
  • CLR is the Heart of the .NET Framework.
  • The Common Language Runtime (CLR) is an Execution Environment.
  • The main function of Common Language Runtime (CLR) is to convert the Managed Code into Native code and then execute the Program.
  • The Common Language Runtime (CLR) uses Just In Time (JIT) compiler to converts Intermediate Language (MSIL) to Native code/ Machine code on demand at application run time.
  • The Common Language Runtime (CLR) environment is also called a managed environment, because all managed code runs inside the environment of CLR.
  •  CLR manages the code at the time of execution.
Functionality of CLR During the execution of the program.
  • Memory management
  • Thread management
  • Security management
  • Garbage Collection (GC)

BCL – Base Class Library

  • BCL provide the fundamental building blocks for any application you develop, Web application or Windows application.
  • The .NET framework provides a set of base class libraries which provide functions and features which can be used with any programming language which implements .NET, such as Visual Basic, C# (or course), Visual C++, etc.
 Base Class Library Namespace
-
System.Data – Is the namespace for ADO.NET
- System.IO      - Provides connection to file system and the reading and writing data.
- System.Net   - Provides access to network protocols such as SSL, HTTP, SMTP and FTP
- System.Text – Provides the StringBuilder class, String Function
- System.Drawing – Provide graphics support

No comments:

Post a Comment