0% found this document useful (0 votes)
4 views16 pages

4) Microsoft Technologies ASP - Net, API and Web Services

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)
4 views16 pages

4) Microsoft Technologies ASP - Net, API and Web Services

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/ 16

CSE4004 – Web Technologies

ASP.NET Framework
.NET Framework 2

• Microsoft.NET is a Framework
– Microsoft .NET is a Framework which provides a common
platform to Execute or, Run the applications developed in various
programming languages.
– Microsoft announced the .NET initiative in July 2000.
– The main intention was to bridge the gap in interoperability
between services of various programming languages.

CSE4004 WT November 23, 2024


.NET Framework 3

• The .NET Framework is designed to fulfill the following objectives:


– Provide object-oriented programming environment
– Provide environment for developing various types of applications,
such as Windows-based applications and Web-based applications
– To ensure that code based on the .NET Framework can integrate
with any other code

CSE4004 WT November 23, 2024


.NET Framework 4

VB C++ C# JScript …

Common Language Specification

Visual Studio.NET
ASP.NET: Web Services Windows
and Web Forms Forms

ADO.NET: Data and XML

Base Classes

Common Language Runtime


CSE4004 WT November 23, 2024
.NET Framework 5

• The .NET Framework consists of:


– The Common Language Specification (CLS)
It contains guidelines, that language should follow so that they can
communicate with other .NET languages. It is also responsible for
Type matching.
– The Framework Base Class Libraries (BCL)
A consistent, object-oriented library of prepackaged functionality
and Applications.
– The Common Language Runtime (CLR)
A language-neutral development & execution environment that
provides common runtime for application execution .

CSE4004 WT November 23, 2024


The Common Language Specification (CLS) 6

• CLS performs the following functions:


– Establishes a framework that helps enable cross-language
integration, type safety, and high performance code execution
– Provides an object-oriented model that supports the complete
implementation of many programming languages
– Defines rules that languages must follow, which helps ensure that
objects written in different languages can interact with each other

CSE4004 WT November 23, 2024


.NET Framework Base Class Library 7

• The Class Library is a comprehensive, object-oriented collection of


reusable types
• These class library can be used to develop applications that include:
– Traditional command-line applications
– Graphical user interface (GUI) applications
– Applications based on the latest innovations provided by ASP.NET
• Web Forms
• XML Web services

CSE4004 WT November 23, 2024


Common Language Runtime (CLR) 8

• CLR ensures
– A common runtime environment for all .NET languages
– Uses Common Type System (strict-type & code-verification)
– Memory allocation and garbage collection
– Intermediate Language (IL) to native code compiler. Which
Compiles MSIL code into native executable code
– Security and interoperability of the code with other languages
• Over 36 languages supported today
– C#, VB, Jscript, Visual C++ from Microsoft
– Perl, Python, Smalltalk, Cobol, Haskell, Mercury, Eiffel, Oberon, Oz,
Pascal, APL, CAML, Scheme, etc.

CSE4004 WT November 23, 2024


Visual Studio 2019 IDE 9

• Microsoft has introduced Visual Studio.NET, which is a tool (also


called Integrated Development Environment) for developing .NET
applications by using programming languages such as VB, C#, VC++
and VJ#. etc.

CSE4004 WT November 23, 2024


ASP.NET 10

• ASP.NET is part of the Microsoft .NET framework


• ASP.NET is an effective and flexible technology for creating interactive
and dynamic web pages.
• It is a convergence of two major Microsoft technologies:
– Active Server Pages (ASP)
• Active Server Pages is Microsoft’s server side scripting
technology for building dynamic web pages.
– .NET Framework
• The .NET Framework is a suite of technologies designed by
Microsoft where program development takes place.

CSE4004 WT November 23, 2024


ASP.NET 11

• It is built on .NET Common Language Runtime


• ASP.NET
– Provides better user authentication
– Has better language support.
– Has a large set of new controls (web controls)
– Uses compiled code, which increases the performance of the
applications
• It is programmable using any of the .NET languages (VB.NET, C#, VJ#
etc).
• The ASP.NET pages are saved with the .aspx extension.

CSE4004 WT November 23, 2024


Internet Technologies 12

CSE4004 WT November 23, 2024


ASP Architecture 13

CSE4004 WT November 23, 2024


Working of an ASP.NET Application 14

To execute an ASP.NET file, the


following steps are followed
1. A web browser sends a request ASP.NET
for an ASP.NET file to the web Script
server by using a URL.
Engine

2. The web server receives the


request and retrieves the
appropriate ASP.NET file from
the disk or memory.
WEB
SERVER
3. The web server forwards the file
to the ASP.NET script engine for
processing.
CLIENT
CSE4004 WT November 23, 2024
Working of an ASP.NET Application 15

4. The ASP.NET script engine reads


the file from top to bottom and
executes it.
ASP.NET
Script
5. The processed ASP.NET file is
Engine
generated as an HTML document
and the ASP.NET script engine
sends the HTML page to the Web
server.

6. The Web server then sends the WEB


HTML code to the client which SERVER
interprets the output and
displays it.
CLIENT
CSE4004 WT November 23, 2024
Terminologies 16

• API
• Web Services
• REST API
• SPA

CSE4004 WT November 23, 2024

You might also like