| Web Site Configuration Utility |
| How it works |
A typical configuration file may look like this:
<?xml version="1.0" encoding="utf-8"?> <WebConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <MSDEServerName>(local)</MSDEServerName> <ShowVisualStudioConfiguration>false</ShowVisualStudioConfiguration> <ShowMSDEConfiguration>false</ShowMSDEConfiguration> <ShowDirectoryPermissionConfiguration>true</ShowDirectoryPermissionConfiguration> <Virtual> <AnonymousUserName /> <AuthNTLM>true</AuthNTLM> <AuthAnonymous>true</AuthAnonymous> <AuthBasic>true</AuthBasic> <DefaultDocuments>default.htm,default.aspx,default.asp</DefaultDocuments> <DomainName>localhost</DomainName> <ApplicationPool>Classic .NET AppPool</ApplicationPool> <DotNetVersion>2.0.50727</DotNetVersion> <ErrorMessage /> <ServerType>IIS6</ServerType> <Virtual>wwHoverPanel</Virtual> <Path>.</Path> <FriendlyName /> <IISPath>IIS://localhost/W3SVC/1/ROOT</IISPath> </Virtual> <ScriptMaps /> <VisualStudioSolutionPath /> <VisualStudioWebProjectWebPath /> <DirectoryPermissions> <DirectoryPermission> <Pathname>.</Pathname> <Username>IUSR</Username> <UserRights>R</UserRights> <InheritSubDirectories>true</InheritSubDirectories> <OverrideExistingRights>false</OverrideExistingRights> </DirectoryPermission> <DirectoryPermission> <Pathname>.</Pathname> <Username>NETWORKSERVICE</Username> <UserRights>F</UserRights> <InheritSubDirectories>true</InheritSubDirectories> <OverrideExistingRights>false</OverrideExistingRights> </DirectoryPermission> </DirectoryPermissions> <ApplicationName>Web Configuration Utility</ApplicationName> <MSDELoginMode>SQLServer</MSDELoginMode> </WebConfiguration>
The XML file contains all the information available in the UI. In addition, the XML file also contains a couple of additional flags that let you configure the operation of the application. These settings can only be modified after the XML file has been created. They are:
<ApplicationName>Web Store Configuration</ApplicationName>
which lets you configure the caption of the application.
<ShowVisualStudioConfiguration>true</ShowVisualStudioConfiguration> <ShowMSDEConfiguration>false</ShowMSDEConfiguration> <ShowDirectoryPermissionConfiguration>true</ShowDirectoryPermissionConfiguration>
These three settings allow you to control which pages are displayed or rather not displayed. By default all pages are displayed.