Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introducing the .NET Framework

Similar presentations


Presentation on theme: "Introducing the .NET Framework"— Presentation transcript:

1 Introducing the .NET Framework
Lecture 05 Chapter-01 Internet Technologies I - Lect.05 - Waleed Ibrahim Osman

2 Server-Side Scripting
ASP and ASP.NET ASP is a script-based programming language that requires a thorough “complete” understanding of HTML and a good deal of painful coding. ASP.NET, on the other hand, is an object-oriented programming model it’s easier to learn ASP.NET than to master ASP, even though ASP.NET is far more powerful. Internet Technologies I - Lect.05 - Waleed Ibrahim Osman

3 Client-Side Scripting
JavaScript, VBScript Client-side technologies don’t involve any server processing. Instead, the complete application is downloaded to the client browser, which executes it locally. The greatest problem with client-side technologies is that they aren’t supported equally by all browsers and operating systems. ASP.NET is designed as a server-side technology. All ASP.NET code executes on the server. When the code is finished executing, the user receives an ordinary HTML page, which can be viewed in any browser. Internet Technologies I - Lect.05 - Waleed Ibrahim Osman

4 Internet Technologies I - Lect.05 - Waleed Ibrahim Osman

5 Internet Technologies I - Lect.05 - Waleed Ibrahim Osman

6 Internet Technologies I - Lect.05 - Waleed Ibrahim Osman
Questions …? Internet Technologies I - Lect.05 - Waleed Ibrahim Osman

7 Reasons for avoiding “keep away from" client-side programming:
Isolation: Client-side code can’t access server-side resources. For example, a client-side application has no easy way to read a file or interact with a database on the server (at least not without running into problems with security and browser compatibility). Security: End users can view client-side code. And once malicious “wicked” users understand how an application works, they can often tamper “alter/corrupt” with it. Thin clients: Web-enabled devices such as mobile phones, palmtop computers, and PDAs (personal digital assistants) are appearing. These devices can communicate with web servers, but they don’t support all the features of a traditional browser. Thin clients can use server-based web applications, but they won’t support client-side features such as JavaScript. Internet Technologies I - Lect.05 - Waleed Ibrahim Osman

8 Internet Technologies I - Lect.05 - Waleed Ibrahim Osman
The .NET Framework The .NET languages: These include Visual Basic (VB) 20(05/08/10), C#, JScript .NET (a server-side version of JavaScript), J# (a Java clone “twin”) The CLR (Common Language Runtime): This is the engine that executes all .NET Programs The .NET Framework class library: The class library collects thousands of pieces of prebuilt functionality that you can “snap in” to your applications such as ADO.NET ASP.NET: This is the engine that hosts web applications and web services Visual Studio: This optional development tool contains a rich set of productivity and debugging features. Internet Technologies I - Lect.05 - Waleed Ibrahim Osman

9 Internet Technologies I - Lect.05 - Waleed Ibrahim Osman

10 Internet Technologies I - Lect.05 - Waleed Ibrahim Osman
Questions …? Internet Technologies I - Lect.05 - Waleed Ibrahim Osman

11 VB 2005, C#, and the .NET Languages
Both VB 2005 and C# use the .NET class library and are supported by the CLR. In fact, almost any block of C# code can be translated, line by line, into an equivalent block of VB 2005 code. An occasional language difference pops up (for example, VB 2005 supports a language feature called optional parameters, while C# doesn’t), but for the most part, a developer who has learned one .NET language can move quickly and efficiently to another. Internet Technologies I - Lect.05 - Waleed Ibrahim Osman

12 The Intermediate Language
All the .NET languages are compiled into another lower-level language before the code is executed. This lower-level language is the MSIL (Microsoft Intermediate Language), or just IL. The CLR, the engine of .NET, uses only IL code. Because all .NET languages are designed based on IL, this is the reason that the VB and C# languages provide essentially the same features and performance. Internet Technologies I - Lect.05 - Waleed Ibrahim Osman

13 Internet Technologies I - Lect.05 - Waleed Ibrahim Osman

14 Internet Technologies I - Lect.05 - Waleed Ibrahim Osman
To Do Refer to Slide “Sld-Lect04-Introducing .NETFramework.pps” Refer to Lecture (Introducing the .NET Framework) Chapter-01.pdf you can download them from: Internet Technologies I - Lect.05 - Waleed Ibrahim Osman

15 Internet Technologies I - Lect.05 - Waleed Ibrahim Osman
Thanks Internet Technologies I - Lect.05 - Waleed Ibrahim Osman


Download ppt "Introducing the .NET Framework"

Similar presentations


Ads by Google