NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Code Declaration Blocks — global.asax

Define application member variables, event handlers, and methods.

<script runat=”server” language=”language” src=”externalfile”>
   Code goes here….
</script>

Parameters

language
The language used in the current code declaration block. Can be C#, VB, or JScript.
externalfile
The name of a file containing code that is loaded and used in the current code declaration block.

Remarks

Code declaration blocks are defined using <script> tags that contain a runat="server" attribute/value pair. The script tag may optionally utilize a “language” attribute to specify the language of its inner code. If none is specified, ASP+ will default to the language configured for the application (specified in the application’s XML configuration file).

Example

[To be supplied.]

See also

ASP+ Application File Syntax