0% found this document useful (0 votes)
90 views17 pages

J.J. College of Arts and Science (Autonomous) Pudukkottai Department of Computer Applications Ii Mca Course: Author: Dr. K. Selvan PH.D.

This document provides an overview of .NET technologies including: - .NET is a framework developed by Microsoft that allows different types of applications to be developed and includes technologies like ASP.NET. - It discusses the evolution of web development from basic HTML to server-side technologies like ASP and then ASP.NET which addresses limitations of ASP. - It also describes components of the .NET framework including common language runtime, .NET languages like C# and VB.NET, and implications of the common language runtime.

Uploaded by

Suresh Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
90 views17 pages

J.J. College of Arts and Science (Autonomous) Pudukkottai Department of Computer Applications Ii Mca Course: Author: Dr. K. Selvan PH.D.

This document provides an overview of .NET technologies including: - .NET is a framework developed by Microsoft that allows different types of applications to be developed and includes technologies like ASP.NET. - It discusses the evolution of web development from basic HTML to server-side technologies like ASP and then ASP.NET which addresses limitations of ASP. - It also describes components of the .NET framework including common language runtime, .NET languages like C# and VB.NET, and implications of the common language runtime.

Uploaded by

Suresh Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 17

J.J.

College of Arts and Science( Autonomous )


Pudukkottai
Department of Computer Applications
II MCA
Course : .NET Technologies

Author : Dr. K. Selvan Ph.D.,

05/04/2020 JJC Dept of CA 1


Introducing .NET
• .NET is a cluster of technologies – variety of
different types of applications can developed.

• .NET framework (ASP.NET) to build rich


windows applications, can offer long running
services.

• Developed by Micro Soft (MS) Corporation

05/04/2020 JJC Dept of CA 2


The Evolution of web
Development
• Internet begun in 1990 – an information network
made using HPC, modems and PSTN.
HTML and HTML Forms
• First generation web sites looked like brouchers.
• Basic HTML page was like a word document.
• A HTML document has 2 types of contents( TEXT and
TAGS ).
• HTML 2.0 introduced first the HTML Forms.
• HTML Forms allows to design standard input boxes.
This is the foundation to build dynamic ASP.NET
pages.
05/04/2020 JJC Dept of CA 3
Server Side Programming
• CGI –Common Gateway Interface provide a bare bone
programming environment(authenticate users, store
personalized information, and display records ).
• To counter the above problem MS created ASP.NET
technologies to develop dynamic web pages.
• ASP is a script based programming language for developing
business applications.
• ASP.NET is a web application framework that could
addresses the limitations of ASP, offers better performance,
better design tools, rich set of readymade features.

05/04/2020 JJC Dept of CA 4


05/04/2020 JJC Dept of CA 5
Client Side Programming
• Applets built with javascript, Activex java, and Flash into
web pages.
• Problem : Browser and OS, Cross browser compatibility –
distribute browser updates.
• ASP.NET is a Server Side Technology.
• Reasons for avoiding client side programming.
1. Isolation: No way to access server resources ( files, databases).
2. Security : Users can view source code.
3. Thin Clients : Mobile Phone, Palmtop, PDA wont support
client side features.
ASP.NET allows to combine the best of client and server side
programming.
05/04/2020 JJC Dept of CA 6
05/04/2020 JJC Dept of CA 7
The Problems with ASP
• Development of interactive web pages is tedious by
1. Scripting limitations: VB Script suffers from poor
performance.
2. No application Structure: ASP code is inserted directly into
a web page along with the HTML markup. Web form code
can rarely reused and modified.
3. Headaches with deployment and configuration: Manually
stop and restart the server to update a component. It is not
practical on live websites. Changing configuration as ugly.
• Web development using ASP is on Stateless protocol.
ASP.NET having the feature Session management. Web app
can retain information about each client in server memory.
05/04/2020 JJC Dept of CA 8
.NET Framework – Cluster of Technologies
1. .NET languages – VB, C#, jscript, J#, and C++.
2. CLR –Common Language Runtime- an engine that executes
all .net programs and provide automatic services ( security,
memory management, and optimization ).
3. .NET framework class library – A collection of prebuilt
functionality ( ADO.NET, Windows forms).
4. ASP.NET – engine that hosts the web apps you created
with .net & .net class library.
5. Visual Studio – a development tool contain a rich set of
productivity and debugging features).
Division between above these isn't clear.
05/04/2020 JJC Dept of CA 9
05/04/2020 JJC Dept of CA 10
05/04/2020 JJC Dept of CA 11
C#, VB.NET and the .NET Languages
• C# is a new language that was designed for .NET 1.0
It resembles java code and c++ in syntax, but no
migration.
• VB 2005 in .NET 2.0
• VB and C# use the .NET class library and supported
by CLR.
• C# code can be translated, line by line, into an
equivalent block of VB.NET code.
• C# supports anonymous methods, but VB doesn't.
• C# and VB.NET are elegant.
05/04/2020 JJC Dept of CA 12
The Intermediate Language
• All .NET languages are compiled into lower level code
MSIL(Micro Soft Intermediate Language). The CLR uses only
this MSIL code for execution.
• .NET languages are so compatible in features and
performance. .NET framework formalizes this compatibility
with CLS(Common Language Specification). One part of the
CLS is CTS( Common Type System Strings, number and array). CLS
also defines OOPs ingredients such as class, methods, events
and more.
• .NET languages compiled to IL( Intermediate Language code
EXE/DLL). This is the file to deploy to other computers.
• CLR transforms IL code to Machine( Processor) language code.
05/04/2020 JJC Dept of CA 13
The Common Language Runtime
• It is an engine that supports all the .NET languages,
in VB6 msvbvm60.DLL, and in c++ mscrt40.DLL and these
provide libraries used by the language.

• CLR also provides code verification, optimization and


garbage collection. All .Net codes run inside the CLR.

• When a client requests an ASP.NET web page the ASP.NET


service runs inside the CLR, executes your code and
creates a final HTML page to send to the client.

05/04/2020 JJC Dept of CA 14


05/04/2020 JJC Dept of CA 15
Implications of the CLR
1. Deep language Integration : CLR makes no distinction
between .NET languages, that integrate all.
2. Side by side execution : CLR has the ability to load more
than one version of a component at a time., one component
can be updated many times.
3. Fewer errors: whole categories of errors are impossible
with the CLR.
Drawbacks.
Performance : with ASP.NET caching and data base code
can ensure excellent performance.

05/04/2020 JJC Dept of CA 16


Thank you

05/04/2020 JJC Dept of CA 17

You might also like