Sunteți pe pagina 1din 14

NGW026

IIS7 As A Developer
Platform

Thomas Deml
Lead Program Manager
Internet Information Services
Microsoft Corporation
Distributed Configuration
Making Developer’s Jobs
Easier
Configure IIS with web.config
Use Single GUI For IIS and ASP.Net
Diagnose Tough Problems with
Detailed Error Information
Customize IIS For Your Application
Extend IIS Using The Language Of
Your Choice (C#, VB.NET, C++)
Use Existing ASP.NET Features For All
Types Of Content
Customize IIS For
Your Application
IIS6 Architecture
HTTP HTTP
Request Response Monolithic server
implementation
Authentication
Basic NTLM Anon Limited
... customization
CGI
Fixed functionality
Determine Static ISAPI Filter /
Handler File
Extension
ISAPI
extensibility
...
Limited
Response Compression
Difficult, error
Logging
prone
IIS7 Architecture
Basic
40+
HTTP HTTP
Request Response Componentized
server
Authentication

NTLM Basic
Authorization Anon Url
Modular features
Authz

ResolveCache Output
Generic request
...
Cache
pipeline
CGI

Static
File
Enables
ExecuteHandler

ISAPI
Forward
er
Lightweight servers
...
Custom / specialized
UpdateCache servers
Log Compre
SendResponse
ssion
IIS7 Extensibility
HTTP HTTP
Request Response Native Extensibility Model
basicauth.dll
DLL factory
Authentication Basic
Class-based C++ API
Authorization
httpserv.h:
Rich object model
ResolveCache
IHttpContext
{
Managed Extensibility
... IHttpRequest Model
IHttpResponse
IHttpUser
ExecuteHandler ... Continue To Use
};
IHttpModule And
... IHttpServer
{
IHttpHandler Interfaces
GetConfig
LogEvent Plug In Existing ASP.NET
UpdateCache Recycle
...
Handlers and Modules
};
SendResponse Take Advantage Of New
IIS7 Capabilities
Extending IIS7
IIS6 ASP.NET Integration
HTTP
Request ISAPI Extension
Authentication
Only processes
Basic NTLM Anon ASP.NET requests
...
aspnet_isapi.dll
Runtime limitations
CGI
Authentication ISAPI
Determine Static Forms Windows ordering
Handler File ...
ISAPI
ASPX Feature duplication
Map
... Handler
Trace Authentication
SendResponse
... Handler mapping
Log
Compre ... Custom Errors
ssion

HTTP
Response
IIS7 ASP.NET Integration
HTTP
Request
Two modes
Basic ISAPI (compat)
Authentication

Authorization
Anon Integrated
ResolveCache Integrated mode
aspnet_isapi.dll
...
Authentication
.NET modules plug
ExecuteHandler
Static
File
Forms Windows directly into server
...
ISAPI ASPX Process all requests
...
Map

UpdateCache
Handler
Trace
Full runtime fidelity
...
Compre
SendResponse ssion
...
Log

HTTP
Response
More Power To ASP.NET!
IIS7 .NET Extensibility
Future 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 versus Integrated mode per app-pool
Unified <modules>, <handlers> configuration
And Now Let’s Talk…
© 2006 Microsoft Corporation. All rights reserved.
This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

S-ar putea să vă placă și