Upload
kenny-abdiel-maita
View
437
Download
0
Embed Size (px)
Citation preview
P R E M I E R F I E L D E N G I N E E R I N G
A PFE Learning Event
P R E M I E R F I E L D E N G I N E E R I N G
A PFE Learning Event
Kenny Abdiel MaitaIIS 7 for Non-IIS Engineers
AgendaIIS 7.x ArchitectureConfiguration StoreDelegate Site ConfigurationFailed Request TracingIIS Extensibility
IIS VersionsIIS 1.0, Windows NT 3.51 available as a free add-on (30 May 1995)IIS 2.0, Windows NT 4.0 (29 July 1996)IIS 3.0, Windows NT 4.0 Service Pack 2IIS 4.0, Windows NT 4.0 Option PackIIS 5.0, Windows 2000 (17 February 2000)IIS 5.1, Windows XP Professional and Windows XP Media Center Edition (requires retail CD) (October 25,2001)IIS 6.0, Windows Server 2003 and Windows XP Professional x64 Edition (April 24, 2003)IIS 7.0, Windows Server 2008 and Windows Vista (Home Premium, Business, Enterprise and Ultimate editions) (February 4, 2008)IIS 7.5, Windows Server 2008 R2 and Windows 7 (Home Premium, Professional, Enterprise and Ultimate editions) (July 22, 2009)IIS 8.0 Windows Server 2012 and Windows 8 (September 4,2012)IIS 8.5 Windows Server 2012 R2 and Windows 8.1 (April, 2014)IIS 10 Windows Server 2016 and Windows10 (August 19,2015)
Some IIS competitors• Apache- Apache• Apache- Tomcat• Nginx –Igor Sysoev• GWS- google• Resin – Caucho Technology• Lighttpd – ligttpd• Sun Java System Web Server- Oracle• Jigsaw• Klone• Abyss• X5 (Xitami)• Zeus• MacHTTP
Windows Server 2008 R2 with IIS 7.5: An Integrated Web PlatformIIS 7.5 is included with all versions of
Windows Server 2008 / R2Windows® Web Server 2008 R2
Windows Server® 2008 R2 StandardWindows Server® 2008 R2 EnterpriseWindows Server® 2008 R2 Datacenter
Choose an edition based on your
technology needs
Windows® HPC Server 2008 R2Windows® Itanium Based Server
2008 R2Windows® Foundation Server 2008 R2
More Reliable More Control More Secure More Choice Increased availability through dynamic request handling, improved caching and powerful troubleshooting tools
Simplified, distributed management through set of customizable administrative tools with easier application deployment for developers
Improved security and server protection through reduced server footprint , enhanced publishing , and request filtering capabilities
Flexible platform with enhanced support for multiple application development platforms and media content delivery
Scalable Web Infrastructure
Dynamic Caching and Compression
Powerful Diagnostic Tools
Centralized Web Management
Delegated Remote Management
Easy Application & Server Deployment
Enhanced Server Protection
Secure Content Publishing
Improved Access Protection
Built-in ASP.NET and PHP Support
Modular & Extensible Web Server
Intelligent Media Serving
Re-designed architectureNew configuration storeIntegrated PipelineDelegate site configuration managementElastic scalabilityHigh-speed dynamic caching and compressionExtensive troubleshooting and diagnostic toolsModular architectureEnhancing IIS Feature Set
Main Enhancements in IIS 7.x
IIS 7.x Architecture
Svchost.exeInetinfo.exe
WWWService (w3svc)
IIS AdminService
metabase
FTP Service
SMTP Service
NNTP Service
LSASS.EXE
HTTPAPI
Web garden (w3wp.exe)
Winsock
TCPIP.SYS
HTTP.SYS
Application Pool (w3wp.exe)
WAS
Worker Process
ISAPI ExtensionsISAPI Filters
Managed Mods
Configuration(applicationhost.confi
g)
SSL Windows Auth
User
Kernel
Worker Process
ISAPI ExtensionsISAPI Filters
Managed Mods
Worker Process
ISAPI ExtensionsISAPI Filters
Managed ModsWorker Process
ISAPI ExtensionsISAPI Filters
Managed ModsWorker Process
ISAPI ExtensionsISAPI Filters
Managed Mods
Configuration Store Worker
Process
Core Components Interaction
1
2 9
38
4 567
10 11
12
User
KernelHTTP Protocol Stack (HTTP.SYS)
W3SVC WAS
Svchost.exe
applicationHost.config
Application PoolW3wp.exe
Internet
Classic vs Integrated Mode
AuthenticationForms Window
sMap
Handler
ASP.NET
CGI
StaticISAPI (ASP, etc.)
FormsWindow
s
Basic
ASPX
HTTP Request
HTTP Response
HTTP Request
HTTP Response
AuthenticationBasic NTLM Anon
Determine
Handler
Response Compression
Logging
CGI
Static
ISAPI…….
…….
Authentication
Execute Handler
…….
Authorization
Resolve Cache
Update Cache
Send Response
…….
Site Web.config
applicationHost.config
Root Web.config
Machine.config
Configuration Store
Application Web.config
Directory Web.config
Configuration StoreDemo
Modular Architecture
Fully Extensible – support custom modules
Minimal installation by default
Install and/or use only the modules you need
Over 40 feature modulesWindowsAuthModule IPSecurityModuleASP.NET HttpLoggingModuleHTTPTracingModule FTPManagementHTTPDynamicCompression
ManagementScripting
... ...
Modular ArchitectureDemo
Delegate Site Configuration and Management
Use all administration tools
Firewall-friendly ports
HTTPS port 443
Restrict by IP, port, certificate, or log request
Admin
SiteOwner
Dev
Delegated users can:Manage unlocked settings for sites and applications
View, but not modify, locked settings
Add additional users
Delegate Site Configuration and Management
Demo
Troubleshooting Tools – Failed Request Tracing
Error occurs Log is captured
Define Custom Error ConditionsCapture Traces when errors occurHelps resolve complex and intermittent problems
Failed Request TracingDemo
IIS Extensibility
IIS Extensions
Enhanced IIS 7.5 Platform
IIS Extensions
IIS 7.0 Platform
ExtensionsAdd FurtherFunctionality
Some ExtensionsIntegrated
ExtensionsAdd FurtherFunctionality
Popular IIS 7 ExtensionsURL Rewriter
http://www.site.com/photos.aspx?user=ben&id=5
http://www.site.com/photos/ben/5/
Application Request Routing
Web Farm Framework
Controller
PrimarySecondary
Popular IIS ExtensionsDemo
© 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.