CHAPTER 1 THE PHILOSOPHY OF .NET 29 (Cpanel web hosting)
CHAPTER 1 THE PHILOSOPHY OF .NET 29 To be sure, ildasm.exe has more options than shown here, and I will illustrate additional features of the tool where appropriate in the text. As you read through this text, I strongly encourage you to open your assemblies using ildasm.exe to see how your C# code is processed into platform-agnostic CIL code. Although you do not need to become an expert in CIL code to be a C# superstar, understanding the syntax of CIL will only strengthen your programming muscle. Deploying the .NET Runtime It should come as no surprise that .NET assemblies can be executed only on a machine that has the .NET Framework installed. As an individual who builds .NET software, this should never be an issue, as your development machine will be properly configured at the time you install the freely available .NET Framework 2.0 SDK (as well as commercial .NET development environments such as Visual Studio 2005). However, if you deploy an assembly to a computer that does not have .NET installed, it will fail to run. For this reason, Microsoft provides a setup package named dotnetfx.exe that can be freely shipped and installed along with your custom software. This installation program is included with the .NET Framework 2.0 SDK, and it is also freely downloadable from Microsoft. Once dotnetfx.exe is installed, the target machine will now contain the .NET base class libraries, .NET runtime (mscoree.dll), and additional .NET infrastructure (such as the GAC). Note Do be aware that if you are building a .NET web application, the end user s machine does not need to be configured with the .NET Framework, as the browser will simply receive generic HTML and possibly client-side JavaScript. The Platform-Independent Nature of .NET To close this chapter, allow me to briefly comment on the platform-independent nature of the .NET platform. To the surprise of most developers, .NET assemblies can be developed and executed on non-Microsoft operating systems (Mac OS X, numerous Linux distributions, BeOS, and FreeBSD, to name a few). To understand how this is possible, you need to come to terms to yet another abbreviation in the .NET universe: CLI (Common Language Infrastructure). When Microsoft released the C# programming language and the .NET platform, it also crafted a set of formal documents that described the syntax and semantics of the C# and CIL languages, the .NET assembly format, core .NET namespaces, and the mechanics of a hypothetical .NET runtime engine (known as the Virtual Execution System, or VES). Better yet, these documents have been submitted to Ecma International as official international standards (http://www.ecma-international.org). The specifications of interest are ECMA-334: The C# Language Specification ECMA-335: The Common Language Infrastructure (CLI) The importance of these documents becomes clear when you understand that they enable third parties to build distributions of the .NET platform for any number of operating systems and/or processors. ECMA-335 is perhaps the more meaty of the two specifications, so much so that is has been broken into five partitions, as shown in Table 1-5.
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.