Wise ASP - ASP+ Web Forms ?
ASP+ Web Forms
The ASP+ Web Forms Page Framework is a scalable NGWS runtime
programming model that can be used on the server to dynamically generate web pages.
Intended as a logical evolution of ASP (ASP+ provides syntax
compatibility with existing pages), the ASP+ Web Forms Framework has been
specifically designed to address a number of key deficiencies with the previous
model. In particular:
- The ability to create and use reusable UI controls that can encapsulate
common functionality and reduce the code a page developer has to write.
- The ability for developers to cleanly structure their page
logic in an orderly -- non-"spaghetti code" - fashion.
ASP+ Web Form Pages are text files with a .aspx filename
extension. They can be deployed throughout an IIS virtual root directory
tree. When a browser client requests .aspx resources, the ASP+ runtime
parses and compiles the target file into a NGWS class. This class can
then be used to dynamically process incoming requests (note that a .aspx
file is only compiled the first time it is accessed -- the compiled
type instance is reused across multiple requests).
Using ASP <% %> Render Blocks
ASP+ Pages provide syntax compatibility with existing ASP
Pages. This includes support for <% %> code render blocks that can be
intermixed with HTML content within a .aspx file. These code blocks execute
in a top-down manner at page render time.
Important: Unlike ASP, the code used within the above <% %> blocks is
compiled -- not interpreted using a script engine. This results in improved
runtime execution performance. ASP+ Page developers can utilize <% %>
code blocks to dynamically modify HTML output much like they can today with ASP.
Introduction to ASP+ Server Controls
In addition to (or instead of) using ASP <% %> code blocks
to program dynamic content, ASP+ Page developers can now leverage ASP+ Server
Controls to program web pages. Server controls are declared within a .aspx
file using custom tags that contain a runat=server attribute value.
Important: Note that these server controls automatically maintain any
client-entered values between round-trips to the server. This control state
is not stored on the server (it is instead stored within a form field
that is round-tripped between requests). Note also that no client-side script
is required on the client.
Lists, Data, and Databinding
ASP+ ships with a built-in set of data grid and list
controls. These can be used to provide custom UI driven from queries against
a database or other datasource.
That's the end. Thanks for reading and feel free to
jump around Wise ASP using the select box at the top of the screen.

|