Prologue to .NET Framework
.NET is a product structure which is planned and created by Microsoft. The principal form of .Net structure was 1.0 which came in the year 2002. In simple words, it is a virtual machine for aggregating and executing programs written in various dialects like C#, VB.Net and so on.
It is utilized to create Form-based applications, Web-based applications, and Web administrations. There is an assortment of programming dialects accessible on the Net stage, VB.Net and C# being the most widely recognized ones are. It is utilized to construct applications for Windows, telephone, web and so forth. It gives many functionalities and furthermore bolsters industry benchmarks.
.NET Framework bolsters in excess of 60 programming dialects in which 11 programming dialects are structured and created by Microsoft. The remaining Non-Microsoft dialects which are bolstered by .NET Framework however not planned and created by Microsoft.
11 Programming Languages which are structured and created by Microsoft are:
- WINDOWS POWERSHELL
- IRON RUBY
- IRON PYTHON
- C OMEGA
- ASML(Abstract State Machine Language)
Fundamental Components of .NET Framework
Basic Language Runtime: CLR is the fundamental and Virtual Machine part of the .NET Framework. It is the run-time condition in the .NET Framework that runs the codes and aides in making the advancement procedure less demanding by giving the different administrations, for example, remoting, string the executives, type-wellbeing, memory the board, vigor and so on.. Essentially, it is in charge of dealing with the execution of .NET projects paying little mind to any .NET programming language. It likewise helps in the administration of code, as code that objectives the runtime is known as the Managed Code and code don’t focus to runtime is known as Unmanaged code.
Structure Class Library(FCL): It is the accumulation of reusable, object-situated class libraries and techniques and so forth that can be incorporated with CLR. Likewise called the Assemblies. It is much the same as the header documents in C/C++ and bundles in the java. Introducing .NET structure fundamentally is the establishment of CLR and FCL into the framework
- Class Library
The .NET Framework incorporates a lot of standard class libraries. A class library is an accumulation of strategies and capacities that can be utilized for the center reason.
For instance, there is a class library with techniques to deal with all document level tasks. So there is a strategy which can be utilized to peruse the content from a record. Thus, there is a technique to compose content to a record.
The majority of the techniques are part into either the System.* or Microsoft.* namespaces. (The indicator * just methods a reference to the majority of the strategies that fall under the System or Microsoft namespace)
A namespace is an intelligent partition of strategies. We will get familiar with these namespaces more in detail in the consequent sections.
The kinds of uses that can be worked in the .Net structure is grouped comprehensively into the accompanying classes.
- WinForms – This is utilized for creating Forms-based applications, which would keep running on an end client machine. Scratchpad is a case of a customer based application.
- ASP.Net – This is utilized for creating electronic applications, which are made to keep running on any program, for example, Internet Explorer, Chrome or Firefox.
o The Web application would be handled on a server, which would have Internet Information Services Installed.
o Internet Information Services or IIS is a Microsoft segment which is utilized to execute an ASP.Net application.
o The consequence of the execution is then sent to the customer machines, and the yield has appeared in the program.
- ADO.Net – This innovation is utilized to create applications to interface with Databases, for example, Oracle or Microsoft SQL Server.
Microsoft dependably guarantees that.Net structures inconsistency with all the upheld Windows working frameworks.
.Net Framework Design Principle
The accompanying structure standards of the .Net system is the thing that makes it extremely pertinent to make.Net based applications.
- Interoperability – The .Net structure gives a great deal of in reverse help. Assume in the event that you had an application based on a more established variant of the .Net system, state 2.0. Furthermore, in the event that you attempted to run a similar application on a machine which had a higher rendition of the .Net system, state 3.5. The application would at present work. This is on the grounds that with each discharge, Microsoft guarantees that more established structure forms gel well with the most recent adaptation.
- Portability-Applications based on the .Net system can be made to take a shot at any Windows stage. What’s more, presently lately, Microsoft is likewise imagining to make Microsoft items take a shot at different stages, for example, iOS and Linux.
- Security – The .NET Framework has a decent security instrument. The inbuilt security instrument helps in both approval and confirmation of utilization. Each application can unequivocally characterize their security system. Every security system is utilized to give the client access to the code or to the running project.
- Memory administration – The Common Language runtime does basically everything or memory the board. The .Net system has all the capacity to see those assets, which are not utilized by a running project. It would then discharge those assets appropriately. This is done by means of a program called the “Junk jockey” which keeps running as a major aspect of the .Net system.
The trash specialist keeps running at customary interims and continues checking which framework assets are not used, and liberates them in like manner.
- Simplified arrangement – The .Net system likewise have instruments, which can be utilized to bundle applications based on the .Net structure. These bundles would then be able to be dispersed to customer machines. The bundles would then consequently introduce the application.