|
.NET CoreCLR is Open Sourced
|
|
.NET Core RunTime(CoreCLR) as an open source project on GitHub..NET Core is part of ASP.NET 5 and subset of .NET framework which includes includes RyuJIT, the .NET GC, native interop and many other .NET runtime components.
|
|
|
|
What's new features in the .NET Framework 4.5.2
|
|
The articles discuss about What's new features in the .NET Framework 4.5.2 like ASP.NET improvements, Re sizing in Windows Forms controls using EnableWindowsFormsHighDpiAutoResizing, Distributed transactions enhancement, Profile/Debugging improvements and Event tracing changes.
|
|
|
|
What is Microsoft Intermediate Language (MSIL)
|
|
When we compile the .NET programming language code, the output of compiler is not executable code instead it generates special type of Pseudocode called as Microsoft Intermediate Language(MSIL). It can also referred as Intermediate Language (IL) or Common Intermediate Language (CIL).
When we run the program, Common Language Runtime(CLR) will translate MSIL code to executable code. CLR will covert MSIL code from any of .NET language.
|
|
|
What are the major services provided by Common Language Runtime(CLR)
|
|
CLR is a common runtime environment for .NET languages. The core services of CLR are- Execution management for .NET programs
- Code Access Security
- Type Safety
- Memory management(Garbage collection)
- Handling Exceptions
- Interoperability with other applications
- Side-by-side execution - multiple versions of same application
- Just In Time compilation (Compiling IL code to machine code)
|
|
|
What is managed and unmanaged code in .NET
|
|
Manged Code - code which is executed under Common Language Runtime (CLR). Due to this, the code has many benefits like memory management, support of version control, type safety and security. The code which targets CLR and written in .NET framework is a managed code. E.g: C#,VB.NET
Unmanaged code : code which is not executed under .NET runtime (CLR). CLR is does not have control over execution of code.memory management, security and type safety should be taken care by developer. E.g: VB6, C,C++.
managed code typically compiled to Intermediate Language(IL) code where as unmanged code directly compiles to native code.
|
|
|
what is the Common Language Runtime (CLR)
|
|
Common Language Runtime (CLR) is the core component of .NET framework and is responsible for managing the code execution time. It's foundation of .NET framework that enables programs to be portable, supporting mixed language programming and provides secure execution. CLR as the name specifies provides a common runtime environment for different languages.
How it works: code which is written in respective languages ( VC++ , C#, VB.NET or J#) will generates MSIL(Microsoft Intermediate Language) code by it's compilers. Then CLR will convert MSIL code to executable code when the program runs.
The core functions of CLR are - Loading and execution of applications
- Automatic memory management
- Type safety
- compilation of IL code to native code
- Common Type System
- Exception handling
- Thread management
|
|
|
what are the application types in .net
|
|
Below are the various types of applications which can be developed in .NET.
- Console Applications
- Windows Applications (Winforms or WPF)
- Windows Services
- Web Applications (ASP.NET)
- Service Application
- Mobile/Smart Device Applications
- Setup and Deployment Applications
- Silverlight Applications
|
|
|
What is .NET framework
|
|
.NET framework is a computing platform for building, deploying and running applications in highly distributed environment.
.NET framework majorly includes
- Common Language Runtime (CLR)
- Base Class Library (BCL)
- Application interfaces (E.g ASP.NET, Windows Forms)
|
|
|