Extending Internet Information Services (IIS) 7.xWill SadlerPrincipal Test ManagerMicrosoft Corporation
SVR06
Agenda
> Getting Started: > Review of the Web Platform Stack> Demo: Downloading the Web Platform Stack
> Getting Productive:> Extend An Application Using IIS’ Total Extensibility > Demo: Extend Web Application with Custom Functionality
> Going Live:> From Your Dev Box to the Live Server> Demo: Deploying an App to a Live Server via Explorer
> Fine-Tuning:> Management and Monitoring and Troubleshooting> Demo: Database Manager and Request Tracing
> Going Public:> Submit To the Web Application Gallery
Top 8 Reasons to Move to IIS7 8. Security
Feature delegation, built-in accounts, Application Pool isolation, rich authentication and authorization infrastructure, request filtering
7. Single platform for both ASP.NET and PHP Integrated Pipeline, FastCGI
6. High Availability Rich Process Model
5. Performance Optimized for multi-proc environments,
compression, SSL in kernel-mode
Top 8 Reasons to move to IIS7
> 4. Diagnostics> Powerful, extensible Diagnostics Stack,
Run-time data> 3. Configuration System
> Readable, extensible, delegateable, distributed, centralized, scriptable, powershell support
> 2. Administration> User Interface, remoteable, command-
line tools, scripting and rich API set
The #1 Reason to move to IIS 7: Total Extensibility> Server Run-time
> Extend IIS in native or managed code via the Integrated Pipeline
> Configuration System> Extend the configuration system with a simple
XML file. Automatic support in the User Interface, command-line, script, native and managed code APIs
> Tracing> Follow your requests from start to finish: Get
Detailed Errors, Monitor Currently Executing Requests, Go Deep with Request Traces
> User Interface> Integrate your own User Interface with a few
lines of code, get automatic remoting and delegation
Run-time Extensibility:IIS6 Architecture
Authentication
Basic NTLM Anon
...
DetermineHandler
...
Response Compression
Logging
HTTP Request
HTTP Response
CGI
Static File
ISAPI
Monolithic server implementation
Limited customizationFixed functionality
Limited ISAPI Filter extensibility
Authentication
...
ExecuteHandler
...
SendResponse
HTTP Request
HTTP Response
Authorization
UpdateCache
ResolveCache
Extensibility: IIS7 Architecture
BasicNTLM Anon
CGI
Static File
ISAPI
Log Compression
Componentized server
Pluggable modular functionalitySmall generic request pipeline
EnablesLightweight serversCustom / specialized servers
UrlAuthz
OutputCache
Forwarder
Basic40+
ISAPI
Authentication
...
ExecuteHandler
...
SendResponse
Authorization
UpdateCache
ResolveCache
HTTP Request
HTTP Response
IIS7 ASP.NET Integration
> Classic Mode> For compatibility
> Integrated Mode (Integrated Pipeline)> Can process all requests> Enhanced functionality> Higher fidelity
notifications
Anon
aspnet_isapi.dll
Authentication
MapHandler
...
...
Forms Windows
ASPX
Trace
...
Basic
Compression
Log
Static File
The New IIS: Server Extensions, Deploy & Admin Tools Delivered via the IIS 7.x Platform
IIS7.x extensibility
Config Mgmt Console Runtime Diagnostics
URL Rewrite
Application Request Routing
Smooth Streaming
FTP Server
Web Dav
Adv. Logging
Bit-rate ThrottlingWeb Playlist
URL Scan
Admin Pack
Search Engine Optimizer (SEO)
Db Mgr
Web Deploy
App Warm-upDynamic IP Restrict.
PowerShell Snap-in
Remote Manager
Web Platform Installer
Free, fully supported Web downloads for Windows 2008 and later
Going Live
> Package and Deploy your Web Application with the Web Deployment Tool
> You don’t have to be Admin> Deployment via
> IIS Management Snap-in> Remote Manager> Command-line> API
> Can also be used for > Synchronization
> Incremental sync support
> Backup> Versioning
Managing the Server
> User Interface remoted via HTTPS> Non-Admin and Delegation Support
> Command-line> Powershell Snap-in> Appcmd
> Scripting> Powershell> COM via AHAdmin> WMI
> APIs> Configuration API> Microsoft.Web.Administration
> Trouble Shooting> Request Tracing
Summary
> IIS7 is built with Total Extensibility in mind> Run-time> Configuration System> User Interface> Diagnostics
> IIS7 Application and Server Extensions offer compelling functionality
IIS7 Extensions
Powershell Snap-in
Database Manager
Admin Pack
URL Rewriter
Application Request Router
WebDav
FTP Server
Web Platform Installer
Web Deployment
Tool
Media Services
Remote Manager
Dynamic IP Restrictions
YOUR FEEDBACK IS IMPORTANT TO US!
Please fill out session evaluation
forms online atMicrosoftPDC.com
Learn More On Channel 9
> Expand your PDC experience through Channel 9
> Explore videos, hands-on labs, sample code and demos through the new Channel 9 training courses
channel9.msdn.com/learnBuilt by Developers for Developers….
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after
the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.