Bundle::GenerateBundleResponse Method

Processes the bundle request to generate the response.

Namespace:  System.Web.Optimization
Assembly:  System.Web.Optimization (in System.Web.Optimization.dll)

virtual BundleResponse^ GenerateBundleResponse(
	BundleContext^ context


Type: System.Web.Optimization::BundleContext
The BundleContext object that contains state for both the framework configuration and the HTTP request.

Return Value

Type: System.Web.Optimization::BundleResponse
A BundleResponse object containing the processed bundle contents.

Generating the bundle response is accomplished based on the following steps: 1. Enumerates the contents of the bundle. 2. Filters the files using the IgnoreList 3. Orders the files. 4. Chooses any replacements using the FileExtensionReplacementList. 5. Builds the bundle content using the Builder. 6. Transforms the bundle using the Transform.