This script creates the folder structure for a bundle view, copies all necessary' infrastructure files into the Views directory and registers a' virtual directory associated with the Views directory. Run the script from the directory identified above, during which the following actions take place:
The script prompts you for the following input:
Output Directory
Package Prefix
Application Name
Bundle Name
Virtual Directory Name
Based on the information that you provide the Views directory is created as: OutputDirectory\PackagePrefix\ApplicationName\BundleName\Views
The following infrastructure files, which are required by the generated Web Service at runtime, is copied into the Views folder:
HostSystem.cs – access functions for the host interface.
HostErrorHandling.cs – an error checking file.
HostSystemException.cs – an error checking file.
Tracing.cs – an error checking file.
SchemaValidation.cs – an error checking file.
SoapErrorHandling.cs – an error checking file.
The following files are initialized, as appropriate, with the information provided by you at the prompts mentioned previously and are also copied into the Views folder.
Web.config – Initialized with the entries Package Prefix, Application Name, Bundle Name. This file identifies host connection parameters and other runtime settings.
GeneratorConfig.xml – Initialized with the entry Virtual Directory Name. This file identifies options used by the ASP.NET Web Services generator.
CompileWebService.bat – Initialized with Bundle Name. This file compiles the generated files into a single .NET dynamic linked library file basing the file name on the Bundle name.
A virtual directory pointing to the Views directory is registered with Internet Information Services (IIS). If the Views directory already exists, you are prompted to confirm that you want to overwrite it.