Notes from the Road I’ve been a writer for 30 years, having finished my first novel in 1986, and I’m no stranger to the ups and downs that come with the business. Heck, even though my work won awards in the interim, I didn’t truly break into publishing until 1995 when my first full-length work of nonfiction catapulted its way onto bestseller lists. That work was followed by a dozen other topsellers, nearly all of which were published by Macmillan and distributed to the world by Simon & Schuster, that is until the business turned and I found myself at a crossroads. The year was 1998 and I turned away from full-time writing for a short while to work for a Seattle-based startup. Around the same time, I jumped ship from Macmillan and an opportunity to write for Microsoft arose. Microsoft was working on a new series of books called Pocket Consultants. They needed a writer who could write fast, clearly, concisely, authoritatively and just as important meet crazy timelines not just once or a few times but always. Surprisingly, always hitting timelines isn’t something many writers can do while delivering quality work. I went over to Microsoft without any hesitation. They loved my writing so much that my style became the Pocket Consultant style and soon I had not just one contract with them but three, then four. I not only hit my timelines while writing clearly, concisely and authoritatively, I consistently walloped them. Microsoft loved this. Soon the Pocket Consultants and I were synonymous. In the years that followed, I wrote dozens. Not only were the books read in print by millions (thank you, readers!), articles and extracts from the books were posted on Microsoft websites and read by millions more. To all the readers out there who miss my Pocket Consultants, great things are still happening. In my IT Pro Solutions series. In my Tech Artisans series. In my Administrator’s Reference series. Hang in there with me as I blaze new trails with Stanek & Associates and we’ll get to visit new places together. —William R. Stanek Notes from the Road I began my tech career as an intern at Stanek & Associates in 2007 and am currently working as a development and engineering lead for the company. While most were out enjoying spring break and summer vacations, I was working as an assistant on the publishing side of the business, before moving over to the technical side of the business during my college years at University of Washington. I’m thankful to my father for sharing his knowledge with me for the past ten years. I’ve learned so much and am now honing my advanced skills with SQL Server, Exchange Server, Windows Server, IIS, PowerShell and more. Although I’ve made contributions to over a dozen other books I worked on with my father, this is the second book I have co-author credit for. —William R. Stanek Jr. IIS 10 Web Apps, Security & Maintenance Covers Internet Information Services (IIS) versions 10, 8, and 7 for Windows Server 2016, 2012 R2, and 2012 Windows 10, 8.1, and 7 IT Pro Solutions William R. Stanek Author & Series Editor William R. Stanek, Jr. Author IIS 10 Web Apps, Security & Maintenance IT Pro Solutions Published by Stanek & Associates PO Box 362, East Olympia, WA, 98540-0362 www.williamrstanek.com. Copyright © 2017 William R. Stanek. Seattle, Washington. All rights reserved. No part of this book may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted by Sections 107 or 108 of the 1976 United States Copyright Act, without the prior written permission of the publisher. Requests to the publisher for permission should be sent to the address listed previously. Stanek & Associates is a trademark of Stanek & Associates and/or its affiliates. All other marks are the property of their respective owners. No association with any real company, organization, person or other named element is intended or should be inferred through use of company names, website addresses or screens. This book expresses the views and opinions of the author. The information contained in this book is provided without any express, statutory or implied warranties. LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE. NO WARRANTY MAY BE CREATED OR EXTENDD BY SALES OR PROMOTIONAL MATERIALS. THE ADVICE AND DISCUSSION IN THIS BOOK MAY NOT BE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD WITH THE UNDERSTANDING THTAT THE PUBLISHER IS NOT ENGAGED IN RENDERING PROFESSIONAL SERVICES AND THAT SHOULD PROFESSIONAL ASSISTANCE BE REQUIRED THE SERVICES OF A COMPETENT PROFESSIONAL SHOULD BE SOUGHT. NEITHER THE PUBLISHERS, AUTHORS, RESELLERS NOR DISTRIBUTORS SHALL BE HELD LIABLE FOR ANY DAMAGES CAUSED OR ALLEGED TO BE CAUSE EITHER DIRECTLY OR INDIRECTLY HEREFROM. THE REFERENCE OF AN ORGANIZATION OR WEBSITE AS A SOURCE OF FURTHER INFORMATION DOES NOT MEAN THAT THE PUBLISHER OR THE AUTHOR ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAY PROVIDE OR THE RECOMMENDATIONS IT MAY MAKE. FURTHER, READERS SHOULD BE AWARE THAT WEBSITES LISTED IN THIS BOOK MAY NOT BE AVAILABLE OR MAY HAVE CHANGED SINCE THIS WORK WAS WRITTEN. Stanek & Associates publishes in a variety of formats, including print, electronic and by print-on-demand. Some materials included with standard print editions may not be included in electronic or print-on-demand editions or vice versa. Country of First Publication: United States of America. Cover Design: Creative Designs Ltd. Editorial Development: Andover Publishing Solutions Technical Review: L & L Technical Content Services You can provide feedback related to this book by emailing the author at williamstanek @ aol.com. Please use the name of the book as the subject line. Version: 1.0.0.1c Note I may periodically update this text and the version number shown above will let you know which version you are working with. If there’s a specific feature you’d like me to write about in an update, message me on Facebook (http://facebook.com/williamstanekauthor). Please keep in mind readership of this book determines how much time I can dedicate to it. Thank you for buying this book… Find out about special offers, free book giveaways, amazing deals, and exclusive content. Plus get updates on favorite books and more when you join William Stanek on Facebook at facebook.com/William.Stanek.Author. William’s on twitter at twitter.com/williamstanek. Connect with Will by visiting him on LinkedIn @ linkedin.com/in/will-stanek/. Table of Contents Notes from the Road How to Use This Guide Print Readers Digital Book Readers Support Information Conventions & Features Share & Stay in Touch Chapter 1 Running IIS Applications Managing ISAPI and CGI Application Settings Understanding ISAPI Applications Configuring ISAPI and CGI Restrictions Configuring ISAPI Filters Configuring CGI Settings Managing ASP Settings Controlling ASP Behavior Customizing Request Handling for ASP Optimizing Caching for ASP Customizing COM+ Execution for ASP Configuring Session State for ASP Configuring Debugging and Error Handling for ASP Managing ASP.NET Settings Configuring Session State Settings for ASP.NET Configuring SMTP E-Mail Settings Configuring Key/Value Pairs for ASP.NET Applications Configuring Settings for ASP.NET Pages and Controls Registering Custom Controls Configuring ASP.NET Settings for Pages and Controls Connecting to Data Sources Managing .NET Framework Settings Configuring .NET Providers Configuring .NET Trust Levels Configuring .NET Profiles Configuring .NET Roles Configuring .NET Users Configuring .NET Compilation Configuring .NET Globalization Chapter 2 Managing Applications and Application Pools Defining Custom Applications Managing Custom IIS Applications Viewing Applications Configuring Default Settings for New Applications Creating Applications Converting Existing Directories to Applications Changing Application Settings Configuring Output Caching for Applications Deleting IIS Applications Managing ASP.NET and the .NET Framework Installing ASP.NET and the .NET Framework Deploying ASP.NET Applications Uninstalling .NET Versions Working with Application Pools Viewing Application Pools Configuring Default Settings for New Application Pools Creating Application Pools Changing Application Pool Settings Assigning Applications to Application Pools Configuring Application Pool Identities Chapter 3 Managing Worker Processes and Performance Starting, Stopping, and Recycling Worker Processes Manually
Description: