Download presentation
Presentation is loading. Please wait.
Published byAnastasia Copeland Modified over 9 years ago
1
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS
2
2 Static Web Pages Original HTML documents Remaining the same after created and modified At all times and to all users Example
3
3 Dynamic Web Pages Interactive or Smart HTML pages User input and Server Response Web Applications Client Side Server Side Lab 2
4
4 Special HTML Controls To get user input Element INPUT Element BUTTON Element FORM …
5
5 Control Types Created with INPUT Text Password Checkbox Radio box Submit Reset Hidden Button File Image...
6
6 HTML Forms Controls to get user input should be inside HTML forms
7
7 HTML Controls and Forms Example HTML 4.01 Specification
8
8 Client Side Dynamic Web Pages HTML files and instruction files sent to client Client Script JavaScript VBScript Java Applets Flash...
9
9 Client Side Dynamic Web Pages Different browsers may interpret instructions in different ways Database is normally at server site Users could view source code
10
10 Server Side Dynamic Web Pages Instruction files are at server site HTML files are generated according to user input Only HTML files are sent to clients
11
11 Server Side Dynamic Web Pages Different Technologies CGI (Common Gateway Interface) JSP (Java Server Pages) PHP (Personal Home Pages) ASP (Active Server Pages) ASP.NET...
12
12 ASP.NET A server-side technology for creating dynamic web pages Client-side scripting is incorporated (e.g., to check input) VB.NET or any other language supported by.NET
13
13 Internet Information Services (IIS) IIS waits and takes client requests IIS sends HTML files to the clients IIS passes client requests to ASP.NET when needed ASP.NET generates web pages IIS sends web pages to client
14
14 Windows Server Xray In domain ION Our Web Sites Individual student accounts Each student has a Web site on Xray
15
15 Open Your Web Site on Xray Start VS 2012 Open Web Site Remote Site https://xray.ion.uwplatt.edu/UserName Login using your UWP UserName and Password Do not try New Project or New Web Site!
16
16 Page Default.aspx Similar to index.html
17
17 Creating Folder Solution Explore Right Click on Web Site New Folder Lab 2
18
18 Web Page Add new items Visual Basic Web Form Place code in separate file Different Views –Design –Source –Split
19
19 Adding and Formatting Controls ToolBox Setting control properties Style –Source View Format Menu –Set Position Absolute Relative
20
Validators ToolBox Validation Tab RequiredFieldValidator RangeValidator CompareValidator –Type –Operator –Value to compare 20
21
21 Validation Controls Validate input automatically We don’t check input any more If button property CausesValidation is True
22
Save Solution File Yes No 22
23
23 Lab 1 10 points Due 9:30 pm, Friday, September 6
24
24 Lab 2 20 points Due 11 pm, Wednesday, September 11 Sample Program
25
25 Lab 2 You lose five points for each late day! Even the server is having issues! In Lab 206 next Tuesday.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.