BlueDragon.NET

advertisement

IIS 7.0 for CFML

Developers

Vince Bonfanti

Introduction

Vince Bonfanti

President and co-founder of New Atlanta

Software developer by training and trade vince@newatlanta.com

http://blog.newatlanta.com

New Atlanta

Founded in July 1997

ServletExec: Java Servlet / JSP engine (Dec 1997)

JTurbo: JDBC driver for Microsoft SQL Server (2001)

BlueDragon: CFML server for Java/J2EE (2002) and .NET (2005) http://www.newatlanta.com

Today’s Agenda

Introduction to IIS 7.0

Starting point for further investigation, not in-depth review

Discuss features relevant to CFML developers

Installing ColdFusion and BlueDragon on IIS 7.0

IIS 7.0 Configuration and Administration

IIS 7.0 Output Caching

IIS 7.0 Integrated Request Pipeline

IIS 7.0 Overview

IIS 7.0 is the next generation web server for Windows

Vista and Windows Server 2008

Exactly the same on both operating systems (same “bits”)

Multiple virtual servers (web sites) supported on Vista

Some limitations on Starter and Home editions of Vista

IIS 7.0 introduces major changes and new features

Modular architecture

New configuration and administration

Extensibility and ASP.NET integration

Performance and security enhancements www.iis.net

is the best source of information

IIS 7.0 Modular Architecture

Lightweight core server and over 40 pluggable modules

Modules can be completely uninstalled or disabled per web site

Improved security by reducing attack “surface area”

Improved performance by executing only needed code (modules)

Minimize memory requirements

IIS 7.0 is not installed by default on Vista or WS08

Only the minimum modules are selected when IIS 7.0 is installed

Modules required to support ColdFusion and BlueDragon are not automatically selected when IIS 7.0 is installed

Installation requires a bit more thought and planning than before

DEMO: installing IIS 7.0 on Vista and WS08

Installing ColdFusion MX 7.0.2

“Getting CFMX 7.0.2 Running on Vista and IIS7” http://www.communitymx.com/content/article.cfm?cid=224AA

Heidi Bautista

Installation steps:

1.

Install IIS 7.0 optional features: a) IIS 6 Metabase Compatibility b) ISAPI Extensions (this is missing in the above document)

2.

Run the CFMX 7.0.2 installer

3.

Manually configure the IIS 7.0 web server connector for CFMX

7.0.2 (follow the instructions in the above document)

DEMO: CFMX 7.0.2 on IIS 7.0

Installing ColdFusion 8.0

Installation steps:

1.

Install IIS 7.0 optional features (these will be installed automatically—silently—by the CF8 installer if not present): a) IIS 6 Metabase Compatibility b) ISAPI Extensions c) ISAPI Filters

2.

Run the CF8 installer—the IIS 7.0 web server connector for CF8 will be installed for selected IIS web sites, or all web sites, as specified during the installation

DEMO: CF8 on IIS 7.0

Installing BlueDragon JX 7.0.1

Installation steps:

1.

Install IIS 7.0 optional features: a) IIS 6 Metabase Compatibility b) ISAPI Extensions

2.

Run the BD JX 7.0.1 installer—the IIS 7.0 web server adapter for BD JX will be installed for all IIS web sites by the BD JX installer

DEMO: BD JX 7.0.1 on IIS 7.0

Installing BlueDragon.NET 7.0.1

Installation steps:

1.

Install IIS 7.0 optional features: a) ASP.NET

2.

Run the BD.NET 7.0.1 installer—BD.NET will be installed for selected

IIS web sites, or all web sites, as specified during the installation

DEMO: BD.NET on IIS 7.0

IIS 7.0 Configuration

Metabase is replaced by XML-based clear text files

Easy to edit, backup/restore, copy, and share

Integrated IIS and ASP.NET configuration

IIS 7.0 configuration is based on ASP.NET

Hierarchical configuration files applicationHost.config

is the “root” or “system-level” file

Every web site and web application has an optional web.config

web.config

files can override higher level settings

Configuration files can control what can be overridden

Extensible by third parties (such as BD.NET)

IIS 7.0 Administration

Brand-new IIS Manager for IIS 7.0

Much better than old tab-based dialogs of previous versions

Reflects new modular architecture

Complements new configuration system

IIS Manager edits configuration files

Remote access

Access to server, web site, or web application

Delegation of administration rights

Web Manager also runs on Windows XP and Windows Server 2003

DEMO: configuration and administration

IIS 7.0 Output Caching

Can be applied to all content, including CFML pages

Fine-grained control down to individual pages

Caching based on file modification or time interval

Cache different versions of files based on query string variables or request headers

DEMO: output caching for CFML pages

IIS 7.0 Integrated Request Pipeline

IIS 7.0 and ASP.NET request pipelines are now one

ASP.NET request handlers can now run for all content types, not just ASP.NET requests

IIS 7.0 can be extended with .NET modules written in

C#, VB.NET, Managed C++, or any .NET language

C/C++ ISAPI filters and extensions still supported for backwards-compatibility

DEMO: integrated request pipeline

Questions?

Q & A

Download