Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: Fenric on August 11, 2003, 02:59:04 pm

Title: ASP.NET filetypes
Post by: Fenric on August 11, 2003, 02:59:04 pm
What are the chances of EA being able to model ASP.NET web projects & solutions?

ASP.NET projects are based around three HTML-like filetypes - web forms (.aspx), user controls (.ascx), and web service files (.asmx). Each object that is represented by one of these filetypes inherits from a separate "codebehind" class (VB.Net, C#, etc.) file. Both web forms and user control files can aggregate system controls (text boxes, buttons, datagrids, etc) as well as other user controls.

By default, each of the codebehind files likewise inherits from a system object - System.Web.UI.Page, System.Web.UI.UserControl and System.Web.Services.WebService respectively. (The direct inheritance is by default only - there can be intermediate classes inserted into the inheritance chain if needed.)

A container's codebehind file might have reference to a contained user control, but more often than not the only reference to a contained user control may occur in the container's .as?x file.

Two additional files include global.asax and web.config files. The config file speaks for itself, whereas global.asax mainly consists of a "global" class that provides methods that fire on application start/end/error, session start/end, request begin/authenticate, etc. These files are unique in that there are only one each of these files per web application.