The context of some blocks also helps determine the scope of certain resources. Conversely, the scope of other resources might have little to do with the context in which you initially define them. Scope is really the duration that a resource is available to an application. Scope can vary depending on the resource and the conditions of application execution.
In general, the scope of resources created at
compile time (when WebSpeed compiles your application) is determined at compile time; the scope of resources created at
run time (when WebSpeed executes your application) is determined at run time. (See
Compile-timeversus run-time code.) The scope of a resource begins when the resource is instantiated (created in your application) and ends when the resource is destroyed (removed from your application).