Difference between revisions of "OOP Class8"

esse quam videri
Jump to: navigation, search
(Anatomy of an aspx page)
 
(35 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:OOP]]
+
[[Category:IAM Classes]]
 
+
MIDTERM
 
 
 
 
==Motorvehicle Diagram==
 
 
 
[[Oop Motorvehicle Diagram]]
 
 
 
 
 
==Anatomy of an aspx page==
 
'''Page Directive'''
 
The page directive must be on the first line of an aspx page. It consists of Name/Value Pairs and sets parameters that will be used throughout the execution of the page ie. the language.
 
 
 
<code>
 
<%@ Page language="c#" debug="True" trace="False"%>
 
</code>
 
 
 
Console applications start executing in the main method
 
 
 
<csharp>public static void Main() {}</csharp>
 
 
 
The .Net Framework can also execute on the web. Rather than having a Main method a web page starts it's execution with a method called Page_Load
 
 
 
<csharp>public Page_Load { }</csharp>
 
 
 
There are actually several method that are exeuted in an aspx page.
 
 
 
==Simple Aspx Page==
 
 
 
http://iam.colum.edu/oop/classsource/class8/Aspx/hello.aspx [http://iam.colum.edu/oop/gbrowser.php?file=/classsource/class8/Aspx/hello.aspx hello.aspx]
 
 
 
http://iam.colum.edu/oop/classsource/class8/Aspx/hello2.aspx
 
[http://iam.colum.edu/oop/gbrowser.php?file=/classsource/class8/Aspx/hello2.aspx hello2.aspx]
 
 
 
http://iam.colum.edu/oop/classsource/class8/Aspx/Label.aspx
 
[http://iam.colum.edu/oop/gbrowser.php?file=/classsource/class8/Aspx/Label.aspx Label.aspx]
 
 
 
==Dogs on the web==
 
[http://iam.colum.edu/oop/browser/browser.aspx?f=/classsource/class8/DogWeb DogWeb]
 
 
 
==Courses on the Web==
 
[http://iam.colum.edu/oop/browser/browser.aspx?f=/classsource/class8/StudentWeb Student Web]
 
 
 
==Home Work==
 
 
 
Convert one of your classes to work as an aspx page.
 
 
 
Have a nice break....
 

Latest revision as of 16:31, 10 June 2019

MIDTERM