Table of Contents
Dot Net framework is a platform that enables programmers to build windows and web-based applications very easily.
The framework is just a rich set of inbuilt class libraries that the developers can invoke easily so that no need to write generic program logic again and again by individual developers.
.NET is a collection of technologies presented by Microsoft in early 2000. In January 2002, the software to support .NET was released.
It was quickly adapted to be part of the web software industry for rapid application development. .NET is undoubtedly continuing as a major player from that time.
No doubt that .NET has emerged as one of the preferred choices for businesses these days.
We will look in detail in this post at why .NET is a preferred choice of businesses these days.
Every platform, framework, and architecture comes with lots of positives and some negatives. Similarly, DOTNET also has many strengths and some weaknesses.
When understanding the limitations of the previous state of affairs that motivated to build the genesis of this new .NET platform, some of the lists are as follows.
Traditionally developing software for the Windows operating system involved using C programming language with the windows API and it’s true that numerous applications have been successfully created using this approach.
The limitations of C language are, C language is very abrupt language. Memory management should be done manually and ugly syntactic structures. Moreover, C is a structured language and there is no object-oriented approach.
C++ is an improved version of raw C/API and an object-oriented concept on top of C.
The C++ language inherited the syntactical features and memory management problems from C.
Despite some complexity, many C++ classes facilitate the construction of windows applications.
Visual Basic has got huge popularity due to its ability to build great user interfaces, code libraries, and efficient data access logic. The major limitations of VB are that it is not a fully object-oriented language.
No support for inheritance and also no support for class construction. Moreover, there is no multi-thread programming in visual basic.
The Java programming language is a completely object-oriented language. As we consider the basic root for Java is C++ although it overcomes the syntactical aspects of C++.
Java provides a rich set of class libraries and interface definitions.
Java programmers are able to build 100% pure java applications complete with database connectivity, messaging support, web-enabled, and rich user interface.
Although Java is a very elegant language, one potential problem is that language independency the programmer must need to use Java front to back during the development cycle.
Pure java is not a proper approach for many graphical and numerical applications. For example, if you are building a graphical-intensive product such as a 3-D video game we find that Java’s execution speed will be more.
A better approach for such programs would be to adopt lower-level languages such as C++. Also, Java has lots of limitations in accessing non-Java APIs
Both the programming platforms have their own specifications and below are listed some of the supporting features.
The DOT NET Framework fulfills the following objectives and requirements:
CLR: The runtime layer is referred to as common language runtime (CLR). The main role of CLR is to locate, load and manage .NET types. The CLR also takes care of automatic memory management, type safety, and language integration.
CTS: The Common Type System describes all possible data types and programming construct supported by the runtime, Specifies how entities can interact with each other, and represents on .NET metadata format.
CLS: The Common Language Specification (CLS) is a set of rules that defines a subset of common types and programming constructs that all of the .NET family programming languages can agree on.
The above diagram represents the complete architecture of the Dot Net framework and associated toolset. The base of the architecture shows common language runtime (CLR) which loads and executes code that targets the runtime, this code is called managed code.
The base class library provides a rich set of class libraries which includes file IO, threads, data class libraries for data access, XML integration, networking, security, program debugging and execution, and many more.
ADO .NET is a set of class libraries meant for data access and manipulation, the data source could be a database, text file, excel sheet, or XML file.
The next layer of the .NET architecture consists of web applications and windows applications which include Web Forms and Web Services. The visual studio consists of built-in web controls and also allows programmers to create their own controls for the user interface. Web services allow you to bind different applications over the internet.
As explained earlier the .NET framework is language independent that offers the developers to use many specified languages such as C#, VB.NET, C++, etc.. This model is based on existing infrastructure and applications therefore standard-based, simple, and adaptable.
In this article, we saw the various reasons why .NET become a preferred programming platform for businesses. Hope you found this article useful. Please share your thoughts on why the .NET Platform is the Preferred choice for business these days.
OWIN (Open Web Interface for .NET) is an interface between web servers and web applications…
JSON (JavaScript Object Notation) is a commonly used data exchange format that facilitates data exchange…
The CAP theorem is also known as Brewer's theorem. What is CAP Theorem? CAP theorem…
Some of the Key factors that need to consider while architecting or designing a software…
The Interface Segregation Principle (ISP) is one of the SOLID principles of object-oriented design. The…
The Single Responsibility Principle (SRP), also known as the Singularity Principle, is a software design…