
Targeting a Specific Runtime Version | 187
ASP.NET
Configuration
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Note that the <location> element can also be used to configure settings for a child
application, directory, or file from a parent configuration file. When used in this
manner, the
path attribute is required and the allowOverride attribute is optional.
Targeting a Specific Runtime Version
A new feature in Version 1.1 of the .NET Framework is the ability to target a
specific version of the .NET runtime with your Web application. This means that
if you have a Web application built with the 1.0 version of the framework that will
not run on the Version 1.1 framework (for example, if it uses an API that has
changed), you can configure your application such that it continues to run under
Version 1.0 of the framework (note that the version of the framework you wish to
run under must be installed on the target machine).
To configure your application to run under ASP.NET 1.0, open the Internet Infor-
mation Services administrative applet and navigate to the application or web site
you want to configure, as shown in Figure 8-1 (Windows Server 2003 version is
shown). Right-click the desired application folder, and select Properties. In the
Properties dialog, click the Home Directory tab (shown in Figure 8-2), and then
click the Configuration ...