Contents | (Visit Preferences to set your user name.) | Related To IIS 6 Programming Handbook | RecentChanges | Preferences | Index | Login | Logout
Search For Books About:
/BottomAd1,
Computers,
ExecuteURL,
Garnet,
Internet,
MetaBack,
MetaBase,
Programming,
Servers,
VectorSend,
Web Search The Net:
IIS 6 Programming Handbook
Subjects > Computers > Internet > Web > Web Servers
See also Programming
From the Publisher
Internet Information Services (IIS) is Microsoft's solution on Windows server operating systems that publishes web sites. IIS6 is the latest version of IIS. It is part of the next Windows server release, Windows .NET Server, or Windows 2003. Most web applications on the new server platform will be based on IIS. IIS6 adds several new features that are of interest to web application developers. This book will tell them everything that they need to know.
Book Description
This book will provide programmers with a practical and fast-paced guide to the most important features of Microsoft's latest version of Internet Information Services (IIS6).
This exciting new book covers the key areas of interest for web developers who use Windows servers who want to get started with IIS6. These include;
- New request Architecture
- Security changes
- ISAPI changes
- COM+ Services
- XML Metabase
- Quality of service
- HTTP Compression
- Performance
- IPv6 support
- FTP Restart
- Logging
- Unicode support
- New ISAPI support functions
- Persisted template cache
Along the way, you will learn useful new techniques which will allow you to have a head-start when you use IIS6.
As the internet matures, so do the requirements for the servers that run the Internet's critical components. Internet Information Services (IIS) 6.0 incorporates a number of new features, some evolutionary and some revolutionary, as well as many enhancements for existing features that clearly demonstrate it is keeping pace with the changing Internet.
In this book we will look at IIS 6.0 from the programmer's perspective, and explore the impact on web application development brought about by changes to the web application server platform in areas such as security, reliability, performance and scalability.
The topics covered include:
- The new request architecture, and how IIS 6.0 automatically detects application crashes and handles them
- The impact of the new security features, and how to configure them
- Configuring and administrating IIS 6.0
- Manipulating configuration data in the XML metabase
- Tracking client activity with logging, and working with the log files
- Using ISAPI in IIS 6.0
- The new COM features and COM+ services
Table of Contents
- Introduction
- What do you need?
- Book outline
- Chapter 1: An Overview of IIS 6.0
- The Road to IIS 6.0
- What Stands Out - The Highlights
- Security
- "Locked Down" server
- Advanced Digest Authentication
- FTP User Isolation
- Selectable Worker Process Identity
- Secure Sockets Layer
- Selectable Cryptographic Provider
- Reliability
- Kernel-mode HTTP listener
- Web Administration Service
- Health and Crash Monitoring
- Idle Timeout
- Rapid Fail Protection
- Demand Start
- Process Recycling
- Performance and Scalability
- Performance implications of HTTP.sys
- Worker process isolation
- IIS 5 Isolation Mode
- Web Gardens
- Asynchronous CGI
- ASP Caching
- Administration
- Command-Line Administration
- Logging
- Development
- Orphan Worker Processes
- IIS WMI Provider
- ISAPI
- Custom Errors
- VectorSend?Create
- Unicode Support
- ExecuteURL?Create
- Reporting Unhealthy
- Wildcard Application Mappings (Global Interceptors)
- New Features
- COM+ Services
- XML Metabase
- IPv6
- Summary
- Chapter 2: The New Request Architecture
- Request Flow Architecture
- Application Isolation Modes
- IIS 6.0 Worker Processes Isolation Mode
- How Worker Process Isolation Mode Works
- The Benefits of Worker Process Isolation Mode
- IIS 5.0 Isolatio nMode
- Which Mode?
- Architectural Considerations of Worker Process Isolation Mode
- State Management
- Multi-instancing
- ISAPI Filters
- Special considerations for ASP.NET
- Application Isolation and Performance
- HTTP.sys
- Kernel-level queuing
- URI Cache
- Quality of service
- Bandwidth throttling
- Connection limits and timeouts
- Application Pool Queue Length Limits
- Logging
- The Web Administration Service
- Application Pools
- Application Pool Identity
- Demand Start of Application Pools
- Application Health Monitoring - IIS 6.0 monitors the health of applications by using a named pipe between WAS and the worker process to "ping" the worker process. It automatically takes preventative and corrective measures, as well as helping in diagnosing problems such as memory leaks and access violations.
- Health Detection
- Normal operation of an application
- When an application crashes
- Rapid Fail
- Orphan Worker Processes and Debugging
- Application declaring "Unhealthy"
- Application recycling
- Idle process timeout
- Web Gardens
- Using Web Gardens
- Session State in Web Gardens
- Application Pool Parameters in Web Gardens
- Chapter 3: Security in IIS 6.0
- An Overview of the Security Process
- Install Only What Is Needed
- Authenticating Clients
- Extension Management
- Disabling Unknown and Unneeded Extensions
- Enabling New Extensions
- Web Site Authentication
- Anonymous
- Basic
- Digest and Advanced Digest
- Integrated
- Client Certificate
- .NET Passport
- FTP Site Authentication
- Access Control
- IP Address Restrictions
- Web Directory Security
- FTP Directory Security
- Virtual Directory Security
- URL Authorization
- File System Permissions
- IIS Built-In Accounts
- Cryptography
- SSL 3.0
- Selectable Cryptographic Service Provider
- Configurable Application Pool / Worker Process Identity
- HTTP.sys Timeouts and Limits
- Monitoring and Maintenance
- Security Patches
- Monitoring Your System
- Summary
- Chapter 4: The XML Metabase
- Configuration Data Formats
- Validating Configuration Files
- Plain Text XML Wins
- The XML Metabase in IIS
- Benefits of the XML Metabase
- The data is human readable and editable with simple text editor
- Data can be validated
- Easily backed up and restored
- Format can be extended without breaking current versions
- Metabase is found in two files in \windows\system32\inetsrv ***** MBSchema.xml
- Metabase Backup Files
- During install, copy of config is made in \windows\system32\inetsrv\MetaBack?Create
- There is a history sub folder with periodic backups
- How IIS 6.0 Managees the Metabase
- Data is exposed via an in memory database style structure as in IIS 5, known as the Metabase Storage Layer
- Metabase Compatibility with IIS 5 - IIS6 is compatible with earlier IIS versions
- The XML MEtabase File Format - Includes data for all websites, ftp sites, and services including SMTP and NNTP
- Outline Structure of the file
- The IIS Web (WWW) Service
- Virtual and Web Directories
- MIME-Type Mappings
- The FTP Service
- Access Logging Configuration
- General Configuration Objects
- Secure Encrypted Properties
- Schema Extensibility
- Corrupted Metabase Files
- Editing the Configuration Data
- How The Direct Edit Feature Works
- Points to note:
- Use runas to Gain Administrative Privileges
- Disabling History File Creation
- History Fle Security
- Summary
- Chapter 5: Administering IIS 6.0
- Command Line Administration
- What can we do with the command line?
- The Net command
- Managing Web Applications
- Querying web sites
- Starting, Stopping, and pausing web sites
- Creating web sites
- Removing web sites
- Mapping Virtual Directories
- Managing FTP Sites
- Managing FTP virtual directories
- Managing IIS Configuration
- Configuration Backup with IIS Manager
- Backing up the complete server configuration
- Encrypting the backup file
- Restoring the complete server configuration
- Deleting backup files
- Programmatic Configuration Backups
- Backing up the Complete Server Configuration
- Restoring the Complete Server Configuration
- Restarting IIS with IIS Manager
- Restarting IIS Programmatically
- Importing and Exporting Application Data
- Configuration Export and Import with IIS Manager
- Saving the Configuration as a file
- Restoring the Configuration from a file
- Programmatic Configuration Export and Import
- Saving the configuration as a file
- Restoring the Configuration from a File
- Managing Applications and Web Extensions
- Copy Configuration
- Save Configuration to Disk
- Programmatic Administration
- Use WMI
- Basic objects
- Using ADSI
- Remote Administration
- IIS MMC
- Using Telnet
- Windows Terminal Services
- Web-Based Remote Administration
- Configuring Quality of Service
- Limiting Connections & Bandwidth Throttling
- Configuring Application Pool Length
- Configuring Keep-Alive and Connection Timeout
- Configuring Compression Settings
- Summary
- Chapter 6: Logging
- Types of Logging
- W3C Extended, NCSA, and IIS Formats
- W3C Extended Log file format
- NCSA log file format
- IIS log file format
- ODBC logging
- Custom Logging
- Customized Binary Logging
- UTF-8 Logging
- Remote Logging
- Selecting the Right Format
- Using the Logs
- Using HTTP Substatus codes
- Determining security problems
- Analyzing usage and trends
- Detecting site problems
- Security of Log Files
- Summary
- Chapter 7: ISAPI
- Former ISAPI Models
- New ISAPI Features
- New ISAPI Extension Features
- Unicode Server Support Functions
- New ISAPI Filter Features
- ISAPI and Security
- Developing ISAPI Extensions and Filters
- Debugging ISAPI Extensions and Filters
- Summary
- Chapter 8: COM and COM+ Services
- Threading
- Free Threaded Model
- Apartment Model Selection
- Tracking
- Fusion
- Introduction of Side-by-side DLLs
- Windows file protection
- Summary
- Appendix A: Support, Errata, and Code Download
Our favorite web monitoring service is W3Monitor: http://www.w3monitor.com
Could not find Programming/BottomAd1?Create
Bobsgear - Get A Free
Enterrpise Wiki Space!
Review: The Bobsgear Project was
started to develop a variety of Confluence
plugins. This installation of
the Confluence Enterprise wiki includes flexible
attachments, many Confluence plugins, personal blogs,
interesting articles, and more. Bobsgear already has spaces related to
politics, art and
photography wiki,
technical issues wiki,
ediscovery wiki, health,
Christian theology and Sabbath
School wiki, the
bible, book reviews,
and quotations. Bobsgear
allows free signup, and invites anyone to create a
free hosted Confluence wiki space.
NEW
USERS CLICK HERE! for a quick introduction to
Wiki.
Interested in Bisquick?