Tải bản đầy đủ (.pdf) (80 trang)

Web Development with Internet Information Server 4.0 pot

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (1.06 MB, 80 trang )

Microsoft Enterprise and Support Training Microsoft Confidential
Web Development with Internet
Information Server 4.0
Microsoft Enterprise and Support Training Microsoft Confidential
Course Overview
 Introduction to Server Side Development
 Administration and Configuration
 Tools and Debugging
 Built-in Object
 Installable Components
Microsoft Enterprise and Support Training Microsoft Confidential

Module 1:
Introduction to Server
Side Development
Microsoft Enterprise and Support Training Microsoft Confidential
Module 1 Objectives
At the end of this module, you will be able to:
 Diagram how ASP scripts are tied in to ASP.DLL.
 Create basic script examples, demonstrating inline code
or functions/subroutines.

Microsoft Enterprise and Support Training Microsoft Confidential
Browsing HTML
Microsoft Enterprise and Support Training Microsoft Confidential
Browsing Active Server Page
Microsoft Enterprise and Support Training Microsoft Confidential
Active Server Pages
 Runs on the server
 Uses <% %> delimiters or <Script RunAt=Server>
 Currently JScript and VBScript


 Script Engine SDK creates others
Microsoft Enterprise and Support Training Microsoft Confidential
Web Applications
 Application Root
 GLOBAL.ASA
Microsoft Enterprise and Support Training Microsoft Confidential
Application Roots
Microsoft Enterprise and Support Training Microsoft Confidential
Simple Active Server Script
<%@Language=VBScript%>
<HTML>
<BODY>
<%
Dim strMsg
strMsg=“Hello World”
Response.Write strMsg
%>
</BODY>
</HTML>

Microsoft Enterprise and Support Training Microsoft Confidential
Simple Active Server Script, cont
<HTML><BODY>
Circumference of a circle w/radius of 10:<BR>
<%=Circ(10)%>
</BODY></HTML>
<%
Function Circ(radius)
Circ=3.1415926*radius*2
End Function

%>

Microsoft Enterprise and Support Training Microsoft Confidential

Lab
Microsoft Enterprise and Support Training Microsoft Confidential

Module 2:
Administration and
Configuration
Module Page
Microsoft Enterprise and Support Training Microsoft Confidential
Module 2 Objectives
At the end of this module, you will be able to:
 Configure common application settings using the
Microsoft Management Console and IIS 4.0 property
sheets.
 Assign permissions to the IUSR_* account to allow
proper access to ASP.
 Troubleshoot common security issues when writing ASP
scripts.
Related topics:
 Metabase
 MDUTIL
Microsoft Enterprise and Support Training Microsoft Confidential
Administration
 IIS 4.0 Property Sheets
 NT User Configuration

Microsoft Enterprise and Support Training Microsoft Confidential

Configuring Applications
Microsoft Enterprise and Support Training Microsoft Confidential
Assigning NT User Permissions
Microsoft Enterprise and Support Training Microsoft Confidential
Troubleshooting Permissions
 Temporarily add I_USR* account to Administrators
 Enable Auditing on NT box to determine what files could
be causing a problem
 Determine if it is an access problem to the Web Server
or a remote server (such as SQL server)
Microsoft Enterprise and Support Training Microsoft Confidential

Lab
Microsoft Enterprise and Support Training Microsoft Confidential

Module 3:
Tools and Debugging
Module Page
Microsoft Enterprise and Support Training Microsoft Confidential
Module 3 Objectives
At the end of this module, you will be able to:
 Create simple applications using Microsoft Visual
Interdev.
 Debug ASP scripts using the Microsoft Script Debugger.

Microsoft Enterprise and Support Training Microsoft Confidential
Tools and Debugging
 Using Visual Interdev
 Using Script Debugger
Microsoft Enterprise and Support Training Microsoft Confidential

Using Visual Interdev
Microsoft Enterprise and Support Training Microsoft Confidential
Using Script Debugger
Microsoft Enterprise and Support Training Microsoft Confidential
Troubleshooting
 Is the problem client script or server script?
 Client errors appear in dialog boxes
 Server errors appear within Web Page



×