Thursday, August 2, 2018

Overview of .Net

Overview of .Net:-
The .NET framework is a complete development and execution environment. That allows the developer to develop, run and deploy the Console application, Windows application Web application, Service oriented application (WCF), Web service, Windows service, WPF, WWF etc. .NET framework support the object oriented programming model for multiple language such as, C#, VB, vC++, J#, etc. It support the language interoperability. Interoperability implies that each language can use the code written in some other language. It provides a common set of tools and enables easy integration of module developed with one another. It also enables the developers to create shareable component to be used in distributed computing architecture.
The .NET Framework consists of the common language runtime and the .NET Framework class library. The common language runtime is the foundation of the .NET Framework. You can think of the runtime as an agent that manages code at execution time, providing core services such as memory management, thread management, and remoting, while also enforcing strict type safety and other forms of code accuracy that promote security and robustness. In fact, the concept of code management is a fundamental principle of the runtime. Code that targets the runtime is known as managed code, while code that does not target the runtime is known as unmanaged code. The class library is a comprehensive, object-oriented collection of reusable types that you can use to develop applications ranging from traditional command-line or graphical user interface (GUI) applications to applications based on the latest innovations provided by ASP.NET, such as Web Forms and XML Web services.

Objectives of .Net Framework :-
  • To provide a consistent object-oriented programming environment whether object code is stored and executed locally, executed locally but Internet-distributed, or executed remotely.
  • To provide a code-execution environment that minimizes software deployment and versioning conflicts.
  • To provide a code-execution environment that promotes safe execution of code, including code created by an unknown or semi-trusted third party.
  • To provide a code-execution environment that eliminates the performance problems of scripted or interpreted environments.
  • To make the developer experience consistent across widely varying types of applications, such as Windows-based applications and Web-based applications.
  • To build all communication on industry standards to ensure that code based on the .NET Framework can integrate with any other code.




Advantages of .Net Framework:

     1. Interoperability 
The .NET Framework supports interoperability between new application and existing application. It implies that the code written in one language can be used in some other language.
           2.      Cross Platform support
Each .NET compatible language, such as C#, VB, VC++ provides its own compiler to compile code to MSIL. After that, the common runtime engine compile MSIL code to native code with the help of Just In Time (JIT) compiler and then run the application.
           3.      Consistent programming model :
With .Net accessing data with a C# and VB.Net very similar apart from slight syntactical differences. Both the programs need to import the System.Data namespace, both programs establish connection with database and both programs run a query and display the data.
           4.      Direct Support for Security :
The .Net framework enables the developer and the system administrator to specify method level security. The .NET Framework provides security model that allows you to authorize and authenticate the user.
           5.      Simplified Development efforts:
The .Net Framework simplifies debugging with support for Runtime diagnostics.
           6.      Easy application deployment and Maintenance:
The .Net Framework makes easy to deploy applications. The .Net Framework handles the details of locating and loads the components. The .NET Framework makes the task of employment easier. In most cases, to install an application along with component on the target computer is easier.
            7.      Assemblies:
Assembly is elementary unit in a framework application. It performs various functions in programming with the .Net Frame work. Every computer that has the .Net Framework installed with have the Global Assembly Cache.
             8.      Language Independence:
The .NET framework provides the multiple language support by using feature known as common type system. That is built into common language runtime.
             9.      Base Class Library:
            The base class library provides the fundamental building block for any application you develop. These applications could be windows, web, console, or service oriented. The BCL mostly serves as the main point of interaction with the CLR.

-Prof. Shardul P. Patil

5 comments: