180 likes | 290 Views
IIS 7.0 for CFML Developers. Deploying on IIS 7.0 with Adobe ColdFusion and New Atlanta BlueDragon. Introduction. Vince Bonfanti President and co-founder of New Atlanta Software developer by training and trade vince@newatlanta.com http://blog.newatlanta.com. Introduction (continued).
E N D
IIS 7.0 for CFML Developers Deploying on IIS 7.0 with Adobe ColdFusion and New Atlanta BlueDragon
Introduction • Vince Bonfanti • President and co-founder of New Atlanta • Software developer by training and trade • vince@newatlanta.com • http://blog.newatlanta.com
Introduction (continued) • New Atlanta • Founded in July 1997 • ServletExec: Java Servlet / JSP engine • JTurbo: JDBC driver for MS SQL Server • BlueDragon: ColdFusion-compatible CFML web application server • Java/J2EE editions released in 2002 • BD.NET released in 2005 (MySpace)
Today’s Agenda • Introduction to IIS 7.0 • Discuss features relevant to CFML • Installing ColdFusion and BlueDragon • IIS 7.0 Configuration & 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 “bits” on both OS’s • Multiple virtual servers on Vista • Some limitation on Vista Starter and Home editions (use Business edition)
IIS 7.0 Overview (continued) • IIS 7.0 introduces major new features • Modular architecture • New configuration and administration • Extensibility and ASP.NET integration • Performance and security enhancements • http://www.iis.net for more details
IIS 7.0 Modular Architecture • Lightweight core server and 40+ configurable modules • Modules can be enabled/disabled per web site or completely uninstalled • Improved security by reducing “surface area” for attack • Improved performance and reduced memory requirements
IIS 7.0 Modular Architecture • IIS 7.0 is not installed by default on either Vista or WS08 • Only minimum modules are selected by default when installing IIS 7.0 • Modules required by CF and BD and not installed by default • Installation requires a bit more planning • DEMO: installing IIS 7.0
Installing ColdFusion MX 7.0.2 • “Getting CFMX 7.0.2 Running on Vista and IIS7” • http://www.communitymx.com/content/article.cfm?cid=224A4 • Install IIS 7.0 optional modules: • IIS 6 Metabase Compatibility • ISAPI Extensions (missing from the above document) • Run the CFMX 7.0.2 installer • Manually configure the IIS 7.0 web server connector for CFMX 7.0.2 • Follow the instructions in the above document
Installing ColdFusion 8.0 • Install IIS 7.0 optional modules (will be done—silently—by the CF8 installer): • IIS 6 Metabase Compatibility • ISAPI Extensions • ISAPI Filters • Run the CF8 installer • Select IIS 7.0 web sites
Installing BlueDragon JX 7.0.1 • Install IIS 7.0 optional modules: • IIS 6 Metabase Compatibility • ISAPI Extensions • Run the BD JX 7.0.1 installer, select IIS 7.0 for web server adapter • Adapter installed for all web sites
Installing BlueDragon.NET 7.0.1 • Install IIS 7.0 optional modules • ASP.NET • Run the BD.NET 7.0.1 installer • Select IIS 7.0 web sites • DEMO: ColdFusion and BlueDragon running on IIS 7.0
IIS 7.0 Configuration • Metabase replaced by XML text files • Easy to edit, backup/restore, and copy • Integrated IIS and ASP.NET config • IIS 7.0 configuration is based on ASP.NET • Hierarchical configuration files
IIS 7.0 Configuration Files • applicationHost.config is the “root” or “server level” file • Optional web.config for every web site and web application • web.config files can override higher level settings, based on permissions • Extensible by third parties (BD.NET)
IIS 7.0 Administration • Brand-new IIS Manager for IIS 7.0 • Reflects new modular architecture • Complements new configuration files • IIS Manager just edits configuration files • Supports remote access • Web Manager for XP and WS03 • DEMO: configuration and admin
IIS 7.0 Output Caching • Can be applied to all content, including CFML on CF or BD • Fine-grained control: apply to web site, directory, or individual pages • File modification or time interval • Query string or request headers • DEMO: output caching for CFML
Integrated Request Pipeline • Single request pipeline for IIS and ASP.NET • ASP.NET modules can run for all content types, not just ASP.NET pages (can be run for CFML on CF or BD) • IIS 7.0 can be extended using .NET, not just C/C++ • C/C++ ISAPI supported for backwards-compatibility • IIS 7.0 can be extended using CFML (on BD.NET) • BD.NET is an ASP.NET module • DEMO: integrated request pipeline • ASP.NET forms authentication for CFML on CFMX 7.0.2 • BD.NET onRequestStart handler for non-CFML content
Q & A • Questions?