ASP - Prepare and deliver the source code

This documentation is not maintained. Please refer to doc.castsoftware.com/technologies to find the latest updates.

Summary: This section describes how to prepare and deliver the source code of your ASP application.

Information about discovery

Discovery is a process that is actioned during the delivery process. CAST will attempt to automatically identify "projects" within your application using a set of predefined rules. This discovery process also allows CAST AIP to set the initial analysis configuration settings explained in ASP - Analysis configuration. Discoverers are currently embedded in CAST AIP Core:

You should read the relevant documentation for each discoverer (provided in the link above) to understand how the source code will be handled.

When the Web Files Discoverer is installed and the highest level folder (within the root folder) contains files that use the .ASP file extension, a HTML5 project will be discovered (if the folder ONLY contains .ASP files, then no project is discovered). This will mean that an HTML5 Analysis Unit will be automatically configured and analyzed. You can disable this behaviour by unticking the following option in the CAST Delivery Manager Tool:

Click to enlarge

Source code delivery using CAST AIP Console

AIP Console expects either a ZIP/archive file or source code located in a folder configured in AIP Console. You should include in the ZIP/source code folder all ASP source code:

  • .ASP

CAST highly recommends placing the files in a folder dedicated to ASP. If you are using a ZIP/archive file, zip the folders in the "temp" folder - but do not zip the "temp" folder itself, nor create any intermediary folders:

D:\temp
	|-----ASP
	|-----OtherTechno1
	|-----OtherTechno2

Source code delivery using legacy CAST Delivery Manager Tool

How do I add a source code package to my delivery

See How do I add a source code package to my delivery.

What you should package?

When creating packages to discover your .ASP application you should create them as listed below:

Package

Package name/type

Mandatory?

Location/path

Notes

1

Source code

(tick)

Source code root folder

Use the "Files on your file system" / SVN / TFS options in the CAST Delivery Manager Tool:

Click to enlarge

How do I add a source code package to my delivery

See How do I add a source code package to my delivery.

How do I fine-tune my Version?

See How do I fine-tune my Version for more information.

How do I deliver the Version for analysis?

See How do I deliver the Version for analysis for more information.

Delivery acceptance

See Validate and Accept the Delivery for more information.