Download presentation
Presentation is loading. Please wait.
Published byTerence Butler Modified over 9 years ago
2
Saad Ladki Program Manager Microsoft Corporation WUX403
3
Agenda IIS 7 Architecture Extending the Pipeline Demo: Modules & Handlers Extending the Configuration Demo: Dynamic Configuration Extending the UI Demo: IIS Manager Module
4
IIS6 Architecture Monolithic server implementation Limited customization Fixed functionality Limited ISAPI Filter extensibility
5
IIS6 + ASP.NET ISAPI Extension Only processes ASP.NET requests Runtime limitations Feature duplication
6
IIS7 Architecture Componentized server Pluggable modular functionality Small generic request pipeline Enables Lightweight servers Custom / specialized servers
7
IIS7 ASP.NET Integration Classic Mode For compatibility Integrated Mode Can process all requests Enhanced functionality Higher fidelity notifications
8
Extending the Pipeline.NET Extensibility Existing ASP.NET API IHttpModule and IHttpHandler types Expanded ASP.NET APIs New HttpApplication Events MapRequestHandler, LogRequest, PostLogRequest HttpRequest.Headers HttpResponse.Headers HttpResponse.DisableKernelCache HttpRequest.ServerVariables
9
Extending the Pipeline Handlers vs. Modules Modules provide services to all requests Basic Authentication module Compression module Handlers provide services to specific extensions ISAPI handler (.dll) Static handler (.htm,.jpg,.gif, etc) IIS 7 pipeline allows native and managed modules and handlers “Integrated” Application Pool mode use the managed modules and handlers “Classic” Application Pool IIS 6 style invocation of.NET
10
Modules & Handlers Saad Ladki Program Manager Microsoft Corporation
11
IIS 7.NET + IIS7 NET global settings ASP.net global settings Contoso.com \ Orders.NET Framework Root web.configMachine.config Global settings and location tags Applicationhost.config Site web.config.NET settings.. Contoso.com root.. IIS7 Delegated settings..
12
IIS 7 NET global settings ASP.net global settings Contoso.com \ Orders.NET Framework Root web.configMachine.config Global settings and location tags Applicationhost.config Site web.config.NET settings.. Contoso.com root.. IIS7 Delegated settings.. Configuration System.NET + IIS7
13
Extending Configuration IIS settings now live in ApplicationHost.config Can also be specified in web.config if delegation is allowed All settings are schematized in XML Schema files live in %windir%\system32\inetsrv\config\schema Extending configuration Static Configuration Drop a.xml file into the schema directory Add a section to applicationHost.config
14
Dynamic Configuration Add dynamic properties and behavior to config AHADMIN - Application Host Administration Interface Implemented in %Windows%\System32\Inetsrv\nativerd.dll Implements IIS native configuration stack Exposes a COM API Exposes three interfaces for Dynamic Extensibility IAppHostPropertyExtension IAppHostMethodExtension IAppHostElementExtension
15
Dynamic Configuration Saad Ladki Program Manager Microsoft Corporation
16
Tools for Every Need AppCmd.exe Command line to query and modify configuration IIS Manager User Interface for end users WMI New WMI provider to query and edit configuration Scripting AHADMIN is a new COM interface for managing configuration system Managed Code Microsoft.Web.Administration provides a simple managed API to edit configuration
17
IIS Manager Completely re-written using.NET Windows Forms and managed code IIS Manager is now easily extensible Add new feature pages Extend tasks for sites/applications And more… Extensibility Framework Microsoft.Web.Management.dll Transparent remoting over HTTPS
18
IIS Manager Architecture IIS Manager Client Connection Module UI IIS 7.0 Application AppDomain Provider Content and Configuration Runtime State Provider Data Web Management Service (WMSvc) Standalone Web Server http://server:8172 Web Management Service (WMSvc) Standalone Web Server http://server:8172 Module Service Proxy Connection Manager Framework Module UI
19
Extending IIS Manager Develop service-side functionality ModuleProvider ModuleService Develop client-side functionality Module ModuleServiceProxy ModulePage
20
IIS Manager Module Saad Ladki Program Manager Microsoft Corporation
21
Summary IIS7 provides end-to-end extensibility for the developer through The pipeline The configuration system The UI Diagnostics Try it out and see how simple it is
22
All the resources you need & more Saad Ladki Program Manager Microsoft Corporation
24
www.microsoft.com/teched Sessions On-Demand & Community http://microsoft.com/technet Resources for IT Professionals http://microsoft.com/msdn Resources for Developers www.microsoft.com/learning Microsoft Certification and Training Resources www.microsoft.com/learning Microsoft Certification & Training Resources Resources
25
Related Content WSV322 Web Application Deployment, Packaging, and Migration WSV304 Deploying and Managing Scalable Web Server Farms with IIS 7.0 WSV205 Extend Your Web Server: What's New in IIS and the Microsoft Web Platform WSV04-HOL Delegating the Administration of IIS 7.0 to Remote Users
26
Complete an evaluation on CommNet and enter to win!
27
© 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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.