Download PDF Your requested download is ready! Click
CTS stands for Common Type System. It follows a set of structured rules according to which a data type should be declared and used in the program code. It is used to describe all the data types that are going to be used in the application.
We can create our own classes and functions by following the rules in the CTS. It helps in calling the data type declared in one programming language by other programming languages.
Common Language Specification (CLS) helps the application developers to use the components that are inter-language compatible with certain rules that come with CLS. It also helps in reusing the code among all of the .NET-compatible languages.
JIT stands for Just In Time. It is a compiler that converts the intermediate code into the native language during the execution.
What is an EXE and a DLL?
EXE and DLLs are assembly executable modules.
EXE is an executable file that runs the application for which it is designed. An EXE is produced when we build an application. Therefore the assemblies are loaded directly when we run an EXE. However, an EXE cannot be shared with the other applications.
Dynamic Link Library (DLL) is a library that consists of code that needs to be hidden. The code is encapsulated inside this library. An application can consist of many DLLs which can be shared with the other programs and applications.
2 What is the meaning of CAS in .NET?
Code Access Security(CAS) is necessary to prevent unauthorized access to programs and resources in the runtime. It is designed to solve the issues faced when obtaining code from external sources, which may contain bugs and vulnerabilities that make the user’s system vulnerable.
CAS gives limited access to code to perform only certain operations instead of providing all at a given point in time. CAS constructs a part of the native .NET security architecture.
4 Give the differences between .NET Core and Mono?
|.Net Core is the subset of implementation for the .NET framework by Microsoft itself.||Mono is the complete implementation of the .Net Framework for Linux, Android, and iOS by Xamarin.|
|.NET Core only permits you to build web applications and console applications.||Mono permits you to build different application types available in .NET Framework, including mobile applications, GUI-enabled desktop apps, etc.|
|.NET Core does not have the built-in capability to be compiled into WebAssembly-compatible packages.||Mono has the built-in capability to be compiled into WebAssembly-compatible packages.|
|.NET Core is never intended for gaming. You can only develop a text-based adventure or relatively basic browser-based game using .NET Core.||Mono is intended for the development of Games. Games can be developed using the Unity gaming engine that supports Mono.|
Transfer-encoding is used for transferring the payload body(information part of the data sent in the HTTP message body) to the user. It is a hop-by-hop header, that is applied not to a resource itself, but to a message between two nodes. Each multi-node connection segment can make use of various Transfer-encoding values.
Transfer-encoding is set to “Chunked” specifying that Hypertext Transfer Protocol’s mechanism of Chunked encoding data transfer is initiated in which data will be sent in a form of a series of “chunks”. This is helpful when the amount of data sent to the client is larger and the total size of the response will not be known until the completion of request processing.