iis 7.0 for cfml developers vince bonfanti. introduction vince bonfanti president and co-founder of...

14
IIS 7.0 for CFML Developers Vince Bonfanti

Upload: sharon-carter

Post on 02-Jan-2016

242 views

Category:

Documents


0 download

TRANSCRIPT

IIS 7.0 for CFML Developers

IIS 7.0 for CFML Developers

Vince BonfantiVince Bonfanti

IntroductionIntroduction

Vince BonfantiPresident and co-founder of New Atlanta

Software developer by training and trade

[email protected]

http://blog.newatlanta.com

New AtlantaFounded 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 AgendaToday’s Agenda

Introduction to IIS 7.0Starting 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 OverviewIIS 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 featuresModular 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 ArchitectureIIS 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 WS08Only 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.2Installing 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.0Installing 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.1Installing 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.1Installing 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 ConfigurationIIS 7.0 Configuration

Metabase is replaced by XML-based clear text filesEasy to edit, backup/restore, copy, and share

Integrated IIS and ASP.NET configurationIIS 7.0 configuration is based on ASP.NET

Hierarchical configuration filesapplicationHost.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 AdministrationIIS 7.0 Administration

Brand-new IIS Manager for IIS 7.0Much better than old tab-based dialogs of previous versions

Reflects new modular architecture

Complements new configuration systemIIS Manager edits configuration files

Remote accessAccess 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 CachingIIS 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 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

Q & AQ & A

Questions?