ASP.NET Architecture Om Vikram Thapa
Contents Active Server Pages ASP and HTML ASP and ASP.NET ASP and .NET What is .NET? Managed and Unmanaged Execution .NET Framework Common Type System Common Language Specification. Common Language Runtime. Compilation and Execution. ASP.NET Architecture ASP.NET Application Types. ASP and ASP.NET
Active Server Pages Web pages containing  server-side scripts  in addition to  Text  and  HTML  Tags. It runs inside the IIS. Server-side scripts are  special commands  in Web pages that are processed before the pages are sent from  Web Server  to the  Web Browser  of client. When Browser requests ASP File, IIS passes request to  ASP Engine .  ASP Engine reads ASP File line by line,  executes scripts  and ASP File is returned to Browser as a plain HTML File.
HTML and ASP Server-side Scripts cannot be written in HTML. Scripts denoted by delimiters :  <  > Cannot access any Database. Scripts can be viewed from the Browser. Pages are Static. Pages denoted by .html or .htm Server-side Scripts can be written using ASP. Scripts denoted by delimiters:  <%  %> Can access any Data or Database. Scripts cannot be viewed from the Browser. Pages are Dynamic. Pages denoted by .asp or .aspx for ASP.NET HTML ASP
.NET and ASP What is .NET? Platform Neutral Framework from Microsoft Is a layer between the operating system and the programming language.   It supports 24 programming languages:  Visual Basic, C# , J# , C++, Perl etc.   .NET provides a common set of class libraries, which can be accessed from any .NET based programming language. Managed and Unmanaged Execution Environment Unmanaged Code  :  Converted directly into Native Code. Managed Code  :  Converted to an Intermediate Language which can be executed from any environment having the .NET Framework.
.NET Framework Operating System Common Language Runtime Base Class Library ADO.NET and XML ASP.NET Windows Forms Common Language Specification VB C++ C# JScript … Visual Studio.NET
Inside the .NET Framework Common Type System [CTS]:   Provides every language running on .NET platform with a base set of Data Types. Everything in the CTS is an object Most languages implement aliases to those types   e.g.   a four-byte integer value is represented by the CTS type  System.Int32  but C# defines an alias for this type called  int .   Common Language Specification [CLS] The CLS is a set of rules that a language compiler must follow in order to create .NET applications  The CLS defines the following things Common  variable types  (called CTS ) Common  visibility  like when and where can one see these  variables, Common  method specifications , and so on.
Inside the .NET Framework  Contd… Common Language Runtime [CLR] Manages   the execution of code compiled for the .NET platform.   Following Steps occur in CLR: Managed Code created by VB or C# compilers and converted into  MSIL . MSIL contains the   IL Code   and the   METADATA . MSIL is kept in a file called   ASSEMBLY   along with   Metadata . CLR loads and verifies the assembly to make sure that IL is ok. Just In Time Compiler   [JIT]   in CLR converts this IL to machine   code. Garbage Collector  - Automatic allocation and release of Memory. Base Class Library  allow us to interact with the runtime, and provide additional useful functionality. Provides services and Objects needed to write applications.
Compilation & Execution Source Code Compilation Code (IL) Metadata MSIL Language Compiler Native Code Execution JIT Compiler
ASP.NET Architecture Web clients communicate with ASP.NET applications through  IIS . IIS authenticates the request. If “ Allow Anonymous”  is turned on, no authentication occurs. IIS also finds the requested resource. If the Client is authorized, IIS returns the appropriate resource.  Web Clients ASP.NET  Applications IIS .NET  Framework Windows NT/2000/XP Operating System
ASP.NET Application Types Two types of Applications: Web Forms: XML web services. Web forms  allow us to build form-based web pages .We can use ASP.NET server controls to create common UI elements, and program them for common tasks . XML Web services  are software applications that use XML to exchange data (information) with other applications on other computers by using Internet protocols.
ASP.NET and ASP Multiple language Support ASP.NET pages are compiled. Functional Codes separated from presentation code. Browser-independent applications. Memory leak, deadlock, and crash protection.  Better performance due to caching of code during compilation. Provides more security and stability because of the .NET Framework. Only scripting languages supported ASP pages are interpreted. Both HTML and script are present in a single page. Browser-dependent applications. No such protections available in classical ASP. ASP pages are not compiled hence performance is not good as compared to ASP.NET. Security and Stability is not optimum as compared to ASP.NET ASP ASP.NET
Thank You

More Related Content

PPTX
Introduction to ASP.NET
PPTX
ASP.NET Lecture 1
PPT
Developing an ASP.NET Web Application
PDF
Nodejs presentation
PDF
Dot Net Core
PPSX
ASP.NET Web form
PPTX
ASP.NET Core MVC + Web API with Overview
PPTX
What Is Express JS?
Introduction to ASP.NET
ASP.NET Lecture 1
Developing an ASP.NET Web Application
Nodejs presentation
Dot Net Core
ASP.NET Web form
ASP.NET Core MVC + Web API with Overview
What Is Express JS?

What's hot (20)

PPT
Spring ppt
KEY
Introduction to Google App Engine
PDF
Introduction to asp.net
PDF
Flutter Tutorial For Beginners | Edureka
PPTX
Introduction to .net
PPTX
.Net Core
PPTX
Java Server Pages(jsp)
PDF
Gof design pattern
PDF
Git interview questions | Edureka
PDF
Android Data Persistence
PPTX
Node.js Express
PPTX
Hibernate ppt
PPTX
PPTX
ASP.NET Web API
PPTX
Client side scripting and server side scripting
PDF
Javascript basics
PPSX
Introduction to .net framework
PPT
ASP.NET MVC Presentation
PPTX
ASP.NET Presentation
PDF
Introduction to fragments in android
Spring ppt
Introduction to Google App Engine
Introduction to asp.net
Flutter Tutorial For Beginners | Edureka
Introduction to .net
.Net Core
Java Server Pages(jsp)
Gof design pattern
Git interview questions | Edureka
Android Data Persistence
Node.js Express
Hibernate ppt
ASP.NET Web API
Client side scripting and server side scripting
Javascript basics
Introduction to .net framework
ASP.NET MVC Presentation
ASP.NET Presentation
Introduction to fragments in android
Ad

Similar to Asp Architecture (20)

PPT
As Pdotnet
PPTX
PPT
.Net Overview -- Training (Lesson 1)
PPT
.Net Introduction
PPT
.Net framework
PPT
NETOverview1.ppt c# using asp.net activeX data object and XNL
PDF
Cetpa infotech is the best advanced .net training institute in Delhi NCR
PDF
.Net overview by cetpa
PPTX
NETOverview1ppt.pptx
PPT
NETOverview1.ppt
PPT
.Net Overview
PPT
.Net overview
PPTX
Unit - 1: ASP.NET Basic
PPTX
Introduction to ASP NET.pptxIntroduction to ASP NET.pptx
PPT
.Net overview
PPT
Net Framework overview
PPT
DOT Net overview
As Pdotnet
.Net Overview -- Training (Lesson 1)
.Net Introduction
.Net framework
NETOverview1.ppt c# using asp.net activeX data object and XNL
Cetpa infotech is the best advanced .net training institute in Delhi NCR
.Net overview by cetpa
NETOverview1ppt.pptx
NETOverview1.ppt
.Net Overview
.Net overview
Unit - 1: ASP.NET Basic
Introduction to ASP NET.pptxIntroduction to ASP NET.pptx
.Net overview
Net Framework overview
DOT Net overview
Ad

More from Om Vikram Thapa (20)

PDF
Next Set of Leaders Series
PDF
Integration Testing at go-mmt
PDF
Understanding payments
PDF
System Alerting & Monitoring
PDF
Serverless computing
PDF
Sumologic Community
PPTX
Postman Integration Testing
PDF
Scalibility
PDF
5 Dysfunctions of a team
PDF
AWS Must Know
PDF
Continuous Feedback
PDF
Sql views, stored procedure, functions
PDF
Confluence + jira together
PDF
Understanding WhatFix
PDF
Tech Recruitment Process
PPTX
Jira Workshop
PPT
Security@ecommerce
PPT
Understanding iis part2
PPT
Understanding iis part1
PPT
.Net framework
Next Set of Leaders Series
Integration Testing at go-mmt
Understanding payments
System Alerting & Monitoring
Serverless computing
Sumologic Community
Postman Integration Testing
Scalibility
5 Dysfunctions of a team
AWS Must Know
Continuous Feedback
Sql views, stored procedure, functions
Confluence + jira together
Understanding WhatFix
Tech Recruitment Process
Jira Workshop
Security@ecommerce
Understanding iis part2
Understanding iis part1
.Net framework

Recently uploaded (20)

PDF
The AI Revolution in Customer Service - 2025
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
PPTX
Presentation - Principles of Instructional Design.pptx
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PDF
Examining Bias in AI Generated News Content.pdf
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
PDF
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
PDF
Decision Optimization - From Theory to Practice
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
PPTX
Module 1 Introduction to Web Programming .pptx
PDF
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
PDF
4 layer Arch & Reference Arch of IoT.pdf
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PDF
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
The AI Revolution in Customer Service - 2025
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
Presentation - Principles of Instructional Design.pptx
Early detection and classification of bone marrow changes in lumbar vertebrae...
Examining Bias in AI Generated News Content.pdf
Data Virtualization in Action: Scaling APIs and Apps with FME
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
Lung cancer patients survival prediction using outlier detection and optimize...
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
Decision Optimization - From Theory to Practice
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
Module 1 Introduction to Web Programming .pptx
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
4 layer Arch & Reference Arch of IoT.pdf
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf

Asp Architecture

  • 1. ASP.NET Architecture Om Vikram Thapa
  • 2. Contents Active Server Pages ASP and HTML ASP and ASP.NET ASP and .NET What is .NET? Managed and Unmanaged Execution .NET Framework Common Type System Common Language Specification. Common Language Runtime. Compilation and Execution. ASP.NET Architecture ASP.NET Application Types. ASP and ASP.NET
  • 3. Active Server Pages Web pages containing server-side scripts in addition to Text and HTML Tags. It runs inside the IIS. Server-side scripts are special commands in Web pages that are processed before the pages are sent from Web Server to the Web Browser of client. When Browser requests ASP File, IIS passes request to ASP Engine . ASP Engine reads ASP File line by line, executes scripts and ASP File is returned to Browser as a plain HTML File.
  • 4. HTML and ASP Server-side Scripts cannot be written in HTML. Scripts denoted by delimiters : < > Cannot access any Database. Scripts can be viewed from the Browser. Pages are Static. Pages denoted by .html or .htm Server-side Scripts can be written using ASP. Scripts denoted by delimiters: <% %> Can access any Data or Database. Scripts cannot be viewed from the Browser. Pages are Dynamic. Pages denoted by .asp or .aspx for ASP.NET HTML ASP
  • 5. .NET and ASP What is .NET? Platform Neutral Framework from Microsoft Is a layer between the operating system and the programming language. It supports 24 programming languages: Visual Basic, C# , J# , C++, Perl etc. .NET provides a common set of class libraries, which can be accessed from any .NET based programming language. Managed and Unmanaged Execution Environment Unmanaged Code : Converted directly into Native Code. Managed Code : Converted to an Intermediate Language which can be executed from any environment having the .NET Framework.
  • 6. .NET Framework Operating System Common Language Runtime Base Class Library ADO.NET and XML ASP.NET Windows Forms Common Language Specification VB C++ C# JScript … Visual Studio.NET
  • 7. Inside the .NET Framework Common Type System [CTS]: Provides every language running on .NET platform with a base set of Data Types. Everything in the CTS is an object Most languages implement aliases to those types e.g. a four-byte integer value is represented by the CTS type System.Int32 but C# defines an alias for this type called int . Common Language Specification [CLS] The CLS is a set of rules that a language compiler must follow in order to create .NET applications The CLS defines the following things Common variable types (called CTS ) Common visibility like when and where can one see these variables, Common method specifications , and so on.
  • 8. Inside the .NET Framework Contd… Common Language Runtime [CLR] Manages the execution of code compiled for the .NET platform. Following Steps occur in CLR: Managed Code created by VB or C# compilers and converted into MSIL . MSIL contains the IL Code and the METADATA . MSIL is kept in a file called ASSEMBLY along with Metadata . CLR loads and verifies the assembly to make sure that IL is ok. Just In Time Compiler [JIT] in CLR converts this IL to machine code. Garbage Collector - Automatic allocation and release of Memory. Base Class Library allow us to interact with the runtime, and provide additional useful functionality. Provides services and Objects needed to write applications.
  • 9. Compilation & Execution Source Code Compilation Code (IL) Metadata MSIL Language Compiler Native Code Execution JIT Compiler
  • 10. ASP.NET Architecture Web clients communicate with ASP.NET applications through IIS . IIS authenticates the request. If “ Allow Anonymous” is turned on, no authentication occurs. IIS also finds the requested resource. If the Client is authorized, IIS returns the appropriate resource. Web Clients ASP.NET Applications IIS .NET Framework Windows NT/2000/XP Operating System
  • 11. ASP.NET Application Types Two types of Applications: Web Forms: XML web services. Web forms allow us to build form-based web pages .We can use ASP.NET server controls to create common UI elements, and program them for common tasks . XML Web services are software applications that use XML to exchange data (information) with other applications on other computers by using Internet protocols.
  • 12. ASP.NET and ASP Multiple language Support ASP.NET pages are compiled. Functional Codes separated from presentation code. Browser-independent applications. Memory leak, deadlock, and crash protection. Better performance due to caching of code during compilation. Provides more security and stability because of the .NET Framework. Only scripting languages supported ASP pages are interpreted. Both HTML and script are present in a single page. Browser-dependent applications. No such protections available in classical ASP. ASP pages are not compiled hence performance is not good as compared to ASP.NET. Security and Stability is not optimum as compared to ASP.NET ASP ASP.NET