.NET: Understanding and Usage
Friday, September 26th, 2008What is .NET? .NET Framework is Microsoft’s application development platform. It enables the developers to create Windows applications, web applications, and web services using different kinds of programming languages. The developers don’t have to worry about the memory management and processor-specific instructions.
.NET is one of the mismanaged brands of Microsoft. .NET is the Common Language Runtime, commonly known as the CLR. The CLR is made up of a number of different parts. .NET Framework is made of an independent language. The developer can use NET application while using any number of different programming languages. The most popular languages are C# and VB.NET. But programmers have been using Python, COBOL, and more.
The use of an intermediate language has given .Net the language independence. It implies that the code is complied not in the actual machine code but into a high-level generic language. The developer can write the code in any language but it has to be compiled in NET and it will become IL (Intermediate language). All the languages have to eventually be translated into the intermediate languages. The developer can compile the code and the code is translated to the intermediate language and stored in an assembly. When that assembly is implemented then the CLR picks up that code and compiles it and runs the code. The developers save the times in compiling the code as it done by CPU.
.NET is a very secure language. Managing memory is a major issue for the developers. If the memory is unmanaged then the program takes double of time and lead to formation of bugs and other security issues. .NET is the only language which is secure and can help in removing of the bugs to. The language has an inbuilt feature called Garbage collector. Garbage collector sees which objects are required for the application and it removed those objects from the applications which are not required. Some developers don’t like the Garbage collector because they are in the habit of managing the memory and the running of the Garbage collector acts as trouble maker instead of trouble shooter.
.Net has developed other applications which are to be implemented with databases such as ADO.NET and includes built-in providers for SQL Server, ODBC, OLEDB, as well as Oracle.
Windows Forms is used for building desktop-based applications. With the help of Windows Forms the developers can manage wrapper over the native Windows API. The application can be written in one version of Windows and its can be run on any other form of window application with using WINDOW 98SE.