1 / 15

IIS7: Building New Core Server Modules

IIS7: Building New Core Server Modules. Michael Volodarsky COM406 Program Manager Microsoft Corporation. IIS7 Server Total platform extensibility. Customize the server Build and deploy custom server components Leverage powerful modular server architecture

kim
Download Presentation

IIS7: Building New Core Server Modules

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. IIS7: Building New Core Server Modules Michael Volodarsky COM406 Program Manager Microsoft Corporation

  2. IIS7 ServerTotal platform extensibility • Customize the server • Build and deploy custom server components • Leverage powerful modular server architecture • Robust native (C++) server features • Powerful managed (.NET) server features

  3. IIS6 Architecture • Monolithic server implementation • Limited customization • Fixed functionality • ISAPI Filter / Extension extensibility • Limited • Difficult, error prone

  4. IIS7 Architecture • Componentized server • Modular features • Generic request pipeline • Enables • Lightweight servers • Custom / specialized servers

  5. IIS7 Extensibility • Public module extensibility model • DLL factory • Class-based C++ API • Rich object model • Enables • Complete extensibility • Simpler, robust code

  6. IIS7 Modulesvs. ISAPI Filters and Extensions • More Powerful • MUCH Richer API • More granular notifications • Easier to write and more robust • Object-oriented C++ • Key patterns simplified • Easier to manage • Consistent feature management • Granular enablement

  7. Building A Custom IIS7 Server Michael VolodarskyCOM406 Program Manager Web Platform and Tools

  8. IIS6 ASP.NET Integration • ISAPI Extension • Only processes ASP.NET requests • Runtime limitations • ISAPI • ordering • Feature duplication • Authentication • Handler mapping • Custom errors

  9. IIS7 ASP.NET Integration • Two modes: • ISAPI (compat) • Integrated • Integrated mode • .NET modules plug directly into server • Process all requests • Full runtime fidelity

  10. IIS7 .NET ExtensibilityFuture of ASP.NET Development • Existing ASP.NET 2.0 API • IHttpModule and IHttpHandler types • Existing API connected to server objects • Bonus: API additions • Response header enumeration • Manipulate Request headers • Manipulate Server Variables • Configuration • ISAPI vs. Integrated mode per app-pool • Unified <modules>, <handlers> configuration

  11. Integrated .NET Extensibility Michael VolodarskyCOM406 Program Manager Web Platform and Tools

  12. IIS7 DevelopmentC++ or .NET? • .NET: nice and easy • Finally can do almost anything • Multi-language RAD with .NET Framework • Rich ASP.NET APIs • Sandboxed deployment (CAS) • C++: down to the metal • More control over the system • Higher performance • Specific scenarios: non-request, cross-app

  13. CompatibilityExisting extensibility just works • Server • Built-in account • IIS6 Worker Process Isolation • Buffering on by default • ASP.NET applications • ASP.NET 1.1, ASP.NET 2.0 • 2 modes: ISAPI, Integrated • ISAPI filters and extensions • Read-raw notifications cut

  14. LogisticsWhen, Where, How • IIS7 Bits • Final release: Windows Vista (Client + Server) • PDC: Longhorn Server ADS build only • Native API: Windows Vista beta2 refresh • At PDC • COM303: IIS7: Building Better ASP.NET Apps (in an hour!) • COM431: IIS7 Configuration and Management • COM320: IIS7 Diagnostics and Troubleshooting • Daily Hands On Labs: COM HOL13-19 • Ask The Experts table: Thursday 5:30-8:30 • IIS7 Pavilion

  15. © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

More Related