
BlueDragon 7.1: Deploying CFML on ASP.NET and the Microsoft .NET Framework 31
6 Understanding the Microsoft .NET Framework
This section is an introduction to the Microsoft .NET framework for developers who are new to
this subject. Experienced .NET developers may still want to follow along. Configuring the .NET
framework to support CFML involves steps that ASP.NET developers wouldn’t normally need
to perform. Fortunately, the installer for BlueDragon.NET will perform this configuration auto-
matically. The following information is provided for those wanting to understand the underlying
process.
Additionally, if you want to leverage some features of the .NET framework, as discussed in sec-
tion 4, these will require editing of the .NET configuration files, which will also be discussed in
this chapter.
6.1 BlueDragon as a .NET HTTP Handler
BlueDragon.NET extends the .NET framework so that it can process CFML files. IIS and .NET
already know how to run ASP.NET files, assuming they are properly configured (see section
2.1.1). BlueDragon.NET has nothing to do with execution of ASP.NET pages and instead runs
only CFML pages (though it offers some extension that can be placed within ASP.NET pages).
The .NET framework offers a standardized mechanism for enabling support for another file ex-
tension and language, as with CFML files, by way of what it calls HTTP Handlers.
BlueDragon.NET is implemented as such an HTTPHandler, which is implemented within the
BlueDragon.dll assembly. The location where this file is stored will depend on the installa-
tion option chosen when installing BlueDragon (see Section 2.2.1).
If either of the first three installation options were chosen (All Web Sites, Selected Web
Sites
, or Manual Configuration), this file and a couple of related BlueDragon DLLs
(summing less than four megabytes total in size) are placed by the installer in the Global Assem-
bly Cache (discussed in the next section).
If the fourth installation option is chosen (Single Virtual Directory), these files are in-
stead placed in the \bin directory under that virtual directory.
The configuration of this HTTPHandler is implemented in a standard .NET configuration file,
web.config. This is discussed in section 6.3.
6.2 Global Assembly Cache (GAC)
The Global Assembly Cache, or GAC, is a system-wide repository of .NET components (called
assemblies) that enable functionality in the .NET framework for all .NET applications.
If you choose either of the first three installation choices of BlueDragon.NET, the pertinent
BlueDragon DLL files (assemblies) will be implemented in the GAC. The location of this direc-
tory is typically C:\WINDOWS\assembly\.
Comentarios a estos manuales