.NET Platform Flashcards
How does MSIL (intermediate language) fit into the whole .NET framework architecture?
Intermediate Language code is produced by specific language compiler and used by CLR in execution time, accompanied by JIT-compiler. Intermediate Language can be generated by any compiler and it is not platform-specific, so in theory, any code can be ran on .NET Framework if it is compiled into MSIL.
What is .NET Core?
.NET Core is a Microsoft platform to develop and run .NET applications across different platforms. It contains standard development kit with a set of libraries and compiler and runtime that has garbage collector and JIT compiler
What is .NET Standard?
.NET Standard is a specification used to implement similar functionality across different target .NET platforms, like .NET Framework, .NET Core and Mono.
What you understand by Value types and Reference types in .NET? Provide some comparison.
Variables of Value types are values itself, simple sequence of bits, when variables of Reference types consist of a reference, which is address to object in memory and referenced data which is an object in memory itself.
Declaring new variable of value type means allocating memory for whole this value, when declaring new variable of reference type may only create a new reference, but leaves intact underlying object if it is already created.
Usage of value type makes sense if it’s instance is not meant to be shared or is not big.
What is Kestrel?
Kestrel is a cross-platform web-server that is part of ASP.NET Core.