Top Banner
CLIENT SERVER ARCHITECTURE A client/server system operates as outlined in the following diagram: The client sends a request to the server using its IP address and the port, which is reserved for a particular service running on the server. The server receives the request and responds using the client IP address and port
12

Client Server Architecture for DOT NET

Apr 08, 2015

Download

Documents

Arpit
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Client Server Architecture for DOT NET

CLIENT SERVER ARCHITECTUREA client/server system operates as outlined in the following diagram:

The client sends a request to the server using its IP address and the port, which is reserved for a particular service running on the server.

The server receives the request and responds using the client IP address and port

Page 2: Client Server Architecture for DOT NET

2 -TIER ARCHITECTGURE

2-tier architecture is used to describe client/server systems where the client requests resources and the server responds directly to the request, using its own resources. This means that the server does not call on another application in order to provide part of the service.

Page 3: Client Server Architecture for DOT NET

3-TIER ARCHITECTURE

In 3-tier architecture, there is an intermediary level, meaning the architecture is generally split up between:

1. A client, i.e. the computer, which requests the resources, equipped with a user interface (usually a web browser) for presentation purposes

2. The application server (also called middleware), whose task it is to provide the requested resources, but by calling on another server

3. The data server, which provides the application server with the data it requires

Page 4: Client Server Architecture for DOT NET
Page 5: Client Server Architecture for DOT NET

MULTI-TIER ARCHITECTUREIn 3-tier architecture, each server (tier 2 and 3) performs a specialised task (a service). A

server can therefore use services from other servers in order to provide its own service.

As a result,3-tier architecture is potentially an n-tiered architecture

Page 6: Client Server Architecture for DOT NET
Page 7: Client Server Architecture for DOT NET

ADVANTAGESThe client/server model is particularly recommended for networks requiring a high degree

of reliability, the main advantages being: 1. centralised resources: given that the server is the centre of the network, it can manage

resources that are common to all users, for example: a central database would be used to avoid problems caused by redundant and inconsistent data

2. improved security: as the number of entry points giving access to data is not so important

3. server level administration: as clients do not play a major role in this model, they require less administration

4. scalable network: thanks to this architecture it is possible to remove or add clients without affecting the operation of the network and without the need for major modification

Page 8: Client Server Architecture for DOT NET

DNADistributed iNternet Architecture

Win32 Web Device

MTS COM DCOM IIS HTTP XML IP SMTP MSMQS SOAP WAP

ADO

OracleOracle SQL ServerSQL

Server SybaseSybase .........

Page 9: Client Server Architecture for DOT NET

.NET Framework Programming Languages

Operating SystemOperating System

Common Language RuntimeCommon Language Runtime

.NET Framework (Base Class Library).NET Framework (Base Class Library)

ADO .NET and XMLADO .NET and XML

ASP .NETASP .NETWeb Forms Web ServicesWeb Forms Web Services

Mobile Internet ToolkitMobile Internet Toolkit

WindowsWindowsFormsForms

C++C++ C#C# VB.NETVB.NET PerlPerl J#J# ……

– Use your favorite language

Page 10: Client Server Architecture for DOT NET

The .NET Framework

Common Language Runtime

(CLR)

Base class library

ADO.NET and XML

ASP.NET

Windows forms

• web forms

• web services

• mobile devices

Common to all languages

Data access

Page 11: Client Server Architecture for DOT NET

AssemblyAssemblySource Source CodeCode

Language Language CompilerCompiler

CompilationCompilation

At installation or the At installation or the first time each first time each

method is calledmethod is calledExecutionExecution

JIT JIT CompilerCompiler

NativeNativeCodeCode

Code (IL)Code (IL)

MetadataMetadata

Page 12: Client Server Architecture for DOT NET

Com

mon L

ang

uag

e R

un

tim

eC

om

mon L

ang

uag

e R

unti

me

Class loader Class loader

GC & code managerGC & code manager

IL t

o

IL t

o

nati

ve c

od

e

nati

ve c

od

e

com

pile

rsco

mp

ilers

Secu

rity

Secu

rity

en

gin

een

gin

e

Exce

pti

on

Exce

pti

on

manager

manager

Base ClassesBase ClassesThread support &Thread support &COM marshalerCOM marshaler

Type checker &Type checker &Debug engineDebug engine