Chapter 1 Dynamic Web Page Design Y. Chen, Ph.D. ::.NET Introduction ::

16
Chapter 1 Chapter 1 Dynamic Web Page Dynamic Web Page Design Design Y. Chen, Y. Chen, Ph.D. Ph.D. :: .NET :: .NET Introduction :: Introduction ::

Transcript of Chapter 1 Dynamic Web Page Design Y. Chen, Ph.D. ::.NET Introduction ::

Chapter 1Chapter 1

Dynamic Web Page Dynamic Web Page DesignDesign Y. Chen, Y. Chen,

Ph.D.Ph.D.

:: .NET:: .NET Introduction ::Introduction ::

2

Basic ConceptBasic Concept 「「 .NET.NET 」(」( dot NETdot NET )) : Microsoft : Microsoft

Next Generation Application Next Generation Application Development Platform.Development Platform.

「「 .NET.NET PlatformPlatform 」」 : A platform for : A platform for multi-language web development.multi-language web development.

Program module re-use and sharing.Program module re-use and sharing. Team work environment. Team work environment.

1-1 .NET1-1 .NET

3

1-1 .NET1-1 .NET

4

.NET.NET Framework StructureFramework Structure .NET Framework.NET Framework

Microsoft WindowsMicrosoft Windows

Microsoft.NET ServerMicrosoft.NET Server

Visual Studio.NETVisual Studio.NET

.NET.NET ServiceService

Allow resource sharing over Internet. Allow resource sharing over Internet.

1-1 .NET1-1 .NET

5

Microsoft .NET ServersMicrosoft .NET Servers : : 1-1 .NET1-1 .NET

Microsoft.NET ServerMicrosoft.NET Server DescriptionDescription

Microsoft Mobile Information ServerMicrosoft Mobile Information Server Provide services to mobile devices.Provide services to mobile devices.

Microsoft SharePoint Portal ServerMicrosoft SharePoint Portal Server Provide firewall, calendar, contact, and Provide firewall, calendar, contact, and schedule services.schedule services.

Microsoft SQL Server 2000Microsoft SQL Server 2000 Provide database services.Provide database services.

Microsoft Windows 2000 ServerMicrosoft Windows 2000 Server Provide file sharing, printing, directory, Provide file sharing, printing, directory, and application services.and application services.

6

Microsoft.NET Platform StructureMicrosoft.NET Platform Structure

1-1 .NET1-1 .NET

7

Two major componentsTwo major components :: Base ClassBase Class

Common Language Runtime (CLR)Common Language Runtime (CLR)

Compile different programming language Compile different programming language into a common execution format.into a common execution format.

1-2 1-2 .NET Framework.NET Framework

8

Microsoft.NET FrameworkMicrosoft.NET Framework

1-2 1-2 .NET Framework.NET Framework

9

1-3 1-3 .NET Framework Base Class.NET Framework Base Class

10

ADO.NETADO.NET

1-3 1-3 .NET Framework Base Class.NET Framework Base Class

11

ASP.NETASP.NET

1-3 1-3 .NET Framework Base Class.NET Framework Base Class

12

1-4 1-4 .NET Framework CLR.NET Framework CLR

13

Hardware RequirementsHardware Requirements ::

1-5 ASP.NET Requirements 1-5 ASP.NET Requirements

ItemItem RequirementRequirement

Operating SystemOperating System

Windows 2000 Windows 2000 Professional/Server, Windows Professional/Server, Windows XP Professional, XP Professional, Windows .NET Server.Windows .NET Server.

CPUCPU Pentium II or better.Pentium II or better.

MemoryMemory 128 MB minimum, 256 MB 128 MB minimum, 256 MB recommended.recommended.

Hard DriveHard Drive 110 MB minimum, 500 MB 110 MB minimum, 500 MB preferred.preferred.

14

Software RequirementsSoftware Requirements :: Windows 2000Windows 2000 IIS5.0IIS5.0 .NET Framework SDK.NET Framework SDK Internet Explorer 6.0Internet Explorer 6.0 MDAC 2.7MDAC 2.7 *MSDE*MSDE

MSDEMSDE (( Microsoft SQL Server Microsoft SQL Server Desktop EngineDesktop Engine )) for third-party for third-party database access. No need, if you database access. No need, if you already have SQL Server.already have SQL Server.

1-5 ASP.NET Requirements 1-5 ASP.NET Requirements

15

ClientClient :: Request services.Request services. ServerServer :: Provide services.Provide services.

1-6 Client and Server1-6 Client and Server

16

Between a client and a server,Between a client and a server, RequestRequest : :

The client requests a web page from a web The client requests a web page from a web server. server.

ResponseResponse : :The server receives the request and send the The server receives the request and send the requested web page as a response to the requested web page as a response to the request.request.

1-6 Request and Response1-6 Request and Response