Download presentation
Presentation is loading. Please wait.
Published byKelly Lynch Modified over 9 years ago
1
IIS, Tools And Extensibility Madhur Joshi Development Lead Madhur.Joshi@Microsoft.com Phone: +1-425-722-3873
2
Agenda IIS 7 Architecture Extending the Pipeline –Demo: Modules & Handlers Extending the Configuration –Demo: Dynamic Configuration Extending the UI –Demo: IIS Manager Module
3
IIS7 Architecture Componentized server –Pluggable modular functionality –Compact generic request pipeline Enables –Lightweight servers –Custom / specialized servers
4
DEMO Different parts of IIS Madhur Joshi Development Lead Web Platform and Tools
5
IIS 7 Configuration System.NET + IIS7 NET global settings ASP.net global settings.NET Framework Root web.configMachine.config Global settings and location tags Applicationhost.config Site web.config.NET settings Site web.config IIS7 Delegated settings
6
You have your own 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
7
DEMO Storing and accessing your own configuration Madhur Joshi Development Lead Web Platform and Tools
8
Tools for Every Need AppCmd.exe –Command line to query and modify configuration IIS Manager –Extensible UI WMI, Scripting –AHADMIN is a new COM interface for managing configuration system PowerShell Managed Code –Microsoft.Web.Administration provides a simple managed API to edit configuration WebDeploy
9
DEMO Control your site from command line or an app Madhur Joshi Development Lead Web Platform and Tools
10
IIS Manager UI to control everything IIS and beyond 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
11
Web Management Service (WMSvc) Standalone Web Server http://server:8172 Web Management Service (WMSvc) Standalone Web Server http://server:8172 IIS Manager Architecture IIS Manager Client Connection Module UI IIS 7.0 Application AppDomain Provider Runtime State Module Service Connection Manager Framework Module UI Module Service Proxy
12
Extending IIS Manager Write service-side dll –ModuleProvider –ModuleService Write client-side dll –Module –ModuleServiceProxy –ModulePage
13
DEMO Extend IIS Manager Madhur Joshi Development Lead Web Platform and Tools
14
So you want to build your own webserver Hostable Web Core –Activate –Run –ShutDown
15
DEMO Your own webserver Madhur Joshi Development Lead Web Platform and Tools
16
More Info http://www.iis.net http://learn.iis.net/page.aspx/347/developi ng-on-iis-7/http://learn.iis.net/page.aspx/347/developi ng-on-iis-7/ http://msdn.microsoft.com/en- us/library/ms692515(v=VS.90).aspxhttp://msdn.microsoft.com/en- us/library/ms692515(v=VS.90).aspx http://blogs.iis.net/ksingla/archive/2007/12/ 20/ins-amp-outs-of-hostable-web- core.aspxhttp://blogs.iis.net/ksingla/archive/2007/12/ 20/ins-amp-outs-of-hostable-web- core.aspx
17
Resources Software Application Developers http://msdn.microsoft.com/ Infrastructure Professionals http://technet.microsoft.com/ msdnindia technetindia @msdnindia @technetindia
18
© 2011 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.