Sunteți pe pagina 1din 13

Presented by:

Tim O’Brien
Senior Systems Engineer
Fujitsu Software Corporation

Introduction to ASP.NET and


Web Forms
Fujitsu Software Corporation

Customer Training Series

Fujitsu Computer Systems


Introduction to ASP.NET and Web
Forms
■ Event driven programming model for web pages

■ Server side execution of controls via client


events

■ Hi performance – code is compiled instead of


interpreted

PAGE 2 Fujitsu Computer Systems


Introduction to ASP.NET and Web
Forms (Cont…)
■ COBOL may be used as the scripting language

■ Rich set of GUI controls

■ Similar to Win Forms

PAGE 3 Fujitsu Computer Systems


Event Driven Programming Model for
Web Pages
■ Allows intuitive programming architecture

■ Provides session state

■ Allows for easy painting of interactive web pages

■ Implements a clean separation between the application


logic and the user interface (HTML)

■ Allows for rapid application development using Visual


Studio .NET

PAGE 4 Fujitsu Computer Systems


Server Side Execution of Controls via
Client Events
■ Better performance and security

■ Efficient implementation of the event model

■ Standard HTML output

■ Implements a clean separation between the application


logic and the user interface (HTML)

■ Implements state transparently

PAGE 5 Fujitsu Computer Systems


COBOL as the scripting language

<%@ page language="COBOL" %>


<script runat="server">
OBJECT.
DATA DIVISION.
WORKING-STORAGE SECTION.
77 I PIC S9(9) COMP-5.
END OBJECT.
</script>
<% PERFORM VARYING I FROM 1 BY 1 UNTIL I > 7 %>
<font size="<%=I%>"> Welcome to ASP.NET (now in COBOL!)
</font>
<br>
<% END-PERFORM. %

PAGE 6 Fujitsu Computer Systems


Rich Set of GUI controls
■ Common web controls such as such as
hyperlinks, buttons and text boxes

■ List controls which may optionally be data bound


for building arrays and lists

■ Advanced controls such as Calendar and


AdRotator

■ Standard HTML server-side controls

PAGE 7 Fujitsu Computer Systems


Rich Set of GUI controls (Cont…)
■ Validation Control simplify checking and
validating data entered into other controls

■ Mobile device controls – for hand held and


smaller screen devices

■ XML control - a server side control used to


display XML documents or to transform
documents

PAGE 8 Fujitsu Computer Systems


Similar to Win Forms
■ Similar Event models make for similar style of
development

■ Many controls look and act in a similar fashion

■ Similar Events and properties for controls

■ Programming model allows for intuitive structuring of


applications in a similar manner

PAGE 9 Fujitsu Computer Systems


Common Controls

PAGE 10 Fujitsu Computer Systems


Advanced Controls

PAGE 11 Fujitsu Computer Systems


Validation Controls
■ Required Field

■ Compare

■ Range

■ Regular Expression

■ Custom

■ Validation Summary

PAGE 12 Fujitsu Computer Systems


Questions

PAGE 13 Fujitsu Computer Systems

S-ar putea să vă placă și