Вы находитесь на странице: 1из 21

.

NET
FRAMEWORK

Create By:Meenu Tomar.


Coordinator : Mrs. Summy Kapur.

.NET Framework

.NET Framework:-

Microsoft introduced the .NET Framework with intention of enhancing the interoperability of applications. This framework aims at integrating various programming languages and services. It is designed to make significant improvements in code reuse, code specialization, resource management, Multilanguage development,security,deployement & administration. .NET offers a complete suite for developing and deploying applications.

.NET offers a complete suite for developing and deploying applications. This suite consists of:.NET Products:- Microsoft has already introduced Visual Studio .NET, which is a tool for developing .NET applications by using programming languages such Visual Basic, Visual c# & Visual C++. .NET Services:- .NET helps you to create software such as Web Services .

.NET Framework:- This is the foundation on


which you design ,develop & deploy applications. This is a consistent and simplified programming model that helps you to easily build robust applications. It is the core of the .NET infrastructure because it exists as a layer between .NET applications and the underlying operating system. The .NET Framework encapsulates most of the basic functionality, such as, debugging & security services. Which is earlier built into various programming languages in the form of a collection of services and classes.

Common Language Runtime(CLR) :- CLR is

The .NET Framework consists of three main components:-

the environment in which all programs that use .NET technologies are executed.The CLR provides services such as code compilation, memory allocation & Garbage Collection. The CLR allows the execution of code across different platforms by translating code into Intermediate Language(IL). IL is a low-lever language that the CLR understands . CLR plays an important role in the process of compilation & execution of the program.

.NET Framework Class Library:- These are


works with any .NET language, such as VB .NET & VC#. The library provides classes that can be used in the code to accomplish a range of common programming tasks, such as, string management ,data collection, database connectivity & file access.

One of the most important features of the .NET Framework class library is that it can be used in a consistent manner across multiple languages.

User & program interface:- At the


presentation layer, .NET provides three types of user interfaces. They are Windows Forms, Web Forms,& Console Application.

Globalization

Globalization is the process of identifying all localizable resources in the application and separating them from the executable code so that the localizable resources can be modified easily. Globalization involves writing the executable code for an application in such a way that make the application in culture-natural. While incorporating globalization, you must ensure that the culture-specific details are not hard-coded into executable code.

Window Based Form controls

A control is a component used to accept input from a user or display some information on a form. Each control has its own set of properties of a control during design time by using the properties window. Controls can be added either at design time or run time.

User Defined Controls


The .NET Framework provides three types of userdefined controls-

User Controls:- User controls are used to


combine the functionality of various controls into one unit, which can be reused.

Controls inherited from an existing control:These controls inherit from an existing control and then add the required functionality to it.

Custom controls:- These controls are created from scratch. Custom controls have the highest degree of customizability.

Some commonly used controls are : TextBox Label CheckBox RadioButton Button Controls ListBox Controls ComboBox Controls

Some Additional Controls :Panel FlowLayoutPanel TableLayoutPanel TabControl TreeView SplitContainer NumericUpDown WebBrowser

Advantages of the .NET Framework:Some of the advantages of the .NET Framework are:-

Consistent programming model:- .NET Framework provides a common object-oriented programming model across languages.This model is used to perform several tasks, reading from and writing to files, connecting to database,& retrieving data. Multi-Platform applications:- A .NET application can execute on any architecture that is supported by the CLR. In future, a CLR version could even be built for non-Windows platforms.

Multi-language integration:- .NET allows

multiple languages to be integrated . Such as , it is possible to create a class in VC# that is derived from a class implemented in VB.NET . To enable objects to interact with each other regardless of the language used to develop them, a set of language features has been defined in CLS. CLS enhances language interoperability & also establishes certain requirements, which helps you to determine whether you managed code conforms to the CLS. Most of the classes defined in the .NET Framework class library are CLS-compliant.

Automatic resource management:- While


creating an application, a programmer may be required to write code for managing resources such as files, memory, network connection, and database resources. The CLR automatically tracks resource usage and relieves a programmer of the task of manual resource management.

Ease of deployment:-

.Net application can be deployed simply by copying files to the target computer. Deployment of components has also been simplified.

Thank You

Вам также может понравиться