Third fact: ASP.NETpodderzhivaet several language of choice for application development of a language does not affect the fact that it can be done. And all because no matter what language was used, all code you can create a. NET – the usual command-line utility that displays in a console message 'Hello World'. Now let's look at it from the other side. The following shows will look like IL-code for the Main ():. Method private hidebysig static void Main (string args) cil managed with Visual Studio and. NET SDK (Software Development Kit – a toolkit of software development). When the utility ildasm.exe loaded, you need to take advantage of available in the menu File (File) command Open (Open) and select the desired DLL-or EXE-file that was created with.
NET. Meanwhile, Who needs a powerful disassembler that can try to take advantage of the wonderful (and also free) program, Reflector, which is available for download at the following address:. Thanks to the volunteers set up the plug modules, it allows you to make a chart, analyze and decompile the IL-code in any assembly. Since the client never gets compiled code file, the client is not possible to disassemble it, so issues of privacy and control code is not an obstacle for developers ASP.NET. Fourth fact: ASP.NETobsluzhivaetsya CLR Perhaps the most important aspect of the mechanism of ASP.NET is that it operates within the runtime CLR. The entire medium. NET Framework – that is, all namespaces and classes of applications – called managed code.
The main advantages of CLR: Automatic memory management and garbage collection. Each time an application creates an instance of an object reference type (reference-type object). CLR allocates memory space for it in the managed heap. However, you never have to clean the memory manually. Once the object reference goes out of scope (or application ends), the object becomes available for garbage collection.