MACROMEDIA COLFUSION MX 7-CFML Guía de usuario Pagina 24

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 56
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 23
BlueDragon 7.1: Deploying CFML on ASP.NET and the Microsoft .NET Framework 19
4.2.3 DSN-Less Connections
ColdFusion 5 had added support for a new DBTYPE=”dynamic” option on CFQUERY and related
database processing tags. CFMX removed support for that feature, as did the Java editions of
BlueDragon. But the .NET edition of BlueDragon now supports this feature. For more informa-
tion, see the discussion of CFQUERY in the BlueDragon 7.1 CFML Enhancements Guide.
4.2.4 ASP.NET Connection Strings
BlueDragon.NET also supports the use of ASP.NET connection strings in place of BlueDragon
datasources. When rendering a CFQUERY tagor any other tag that specifies a DATASOURCE
attributeBlueDragon 7.1 will first look for a configured datasource of the specified name. If a
BlueDragon datasource of the specified name is not found, BlueDragon will then look for an
ASP.NET connection string of that name.
This feature allows ASP.NET connections strings and associated ADO.NET connection pools to
be shared across ASP.NET and CFML pages.
4.3 CFML Web Services Served as .NET Web Services
When a CFML web services are exposed on BlueDragon for the Microsoft .NET Framework, it
may be important to know that they are created as pure .NET web services. BlueDragon has been
certified as .NET Connected because of this feature.
Besides affording the strength and reliability of Microsoft’s implementation of web services
(compared to the open source Axis-based web services implementation in CFMX and the Java
editions of BlueDragon), another benefit is that when CFML web services are browsed in the
.NET edition of BlueDragon, their metadata display is provided by the normal .NET interface
typically shown for ASP.NET web services (pages served using the .asmx extension).
In other words, if a CFC method is enabled to permit access to it via web services (using the
Access=”remote” attribute of CFFUNCTION), you can request display of that CFC’s methods
as a web service in the browser, such as:
http://localhost/somedir/somecfc.cfc
This will display an HTML-based interface showing its available method(s) along with links to
enable invocation of the method, just as would be made available to those who attempt to browse
an ASP.NET web service (a file with an asmx extension).
Vista de pagina 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 55 56

Comentarios a estos manuales

Sin comentarios