SlideShare a Scribd company logo
1 of 15
Download to read offline
Introduction to
By:- SHADAB ALI
MCA 5th Sem
What is ASP.NET
 It is one of the Microsoft Technology developed
in 2002.
 It is a server-side technology used to create web
applications.
 Technically it is a framework of Microsoft that
provides a collection of several classes.
 It is a part of .NET framework.
 It is a program that runs inside IIS.
ASP vs. ASP.NET
ASP ASP.NET
It does not have its own
language and uses VB
It has its own language and all
.NET language are supported.
It does not have its own control
and uses HTML controls.
It has a huge heap of control and
also support third party controls.
It supports only Inline
Documentation where code &
design present in same page
It supports both Inline & Code
Behind technique where design
can be separated from code.
It is based on COM (Component
Object Model) technology.
It is based on .NET(Network
Enabled Technology) framework.
What is an ASP.NET File
 An ASP.NET file is just same as HTML file.
 An ASP.NET file can contain HTML tags, XML
tags and scripts.
 Scripts is an ASP.NET file which are executed on
the server.
 An ASP.NET file has the file extension as
“.aspx”.
How does ASP.NET work
 When a browser requests an HTML file, the
server returns the file.
 When a browser requests an ASP.NET file, IIS
passes the request to the ASP.NET engine on the
server.
 AN ASP.NET engine reads the file line by line
and executes the scripts in the file.
 Finally, the ASP.NET file is returned to the
browser as plain HTML file.
Life Cycle of ASP.NET
Architecture of ASP.NET
Page Composition Part
 Server Side
 Client Side
.aspx
C#,VB or
VC++ HTML
HTML CSS JavaScript
Web
Page
App. Development Model
 Web Page:- Simplest programming model for developing ASP.NET
web pages. It provides an easy way to combine HTML, CSS, JavaScript
and server code.
 Web Form:- These are event driven web pages written as a
combination of HTML, server controls, and server code. These are
compiled and executed on the server, which generates the HTML that
displays the web pages.
 MVC:- MVC is a framework for building web applications using a
MVC (Model View Controller) design:
a) Model handles the logic for the application data.
b) View handles the display of the data.
c) Controller handles the user interaction.
ASP.NET Page Structure
1. Directives
2. Code Declaration Block
3. Code Rendering Block
4. Server Side Control
5. User Control
6. HTML Control
7. Server Side Comment
8. XML Comment
9. Server Side Includes
10. Literal Text
Simple Program
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs"
Inherits="firstexample._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server"> <title> Untitled Page </title> </head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="TextBox1" runat="server" style="width:224px"> </asp:TextBox> <br /> <br />
<asp:Button ID="Button1" runat="server" Text="Enter..." style="width:85px"
onclick="Button1_Click" /> <hr />
<h3> Results: </h3>
<span runat="server" id="changed_text" />
</div>
</form>
</body>
</html>
Features of ASP.NET
1) Built on .NET Framework.
2) Simple Programming Model.
3) Easy and Rapid Application Development.
4) Multi-browser support.
5) XCOPY Deployment.
6) Debugging.
7) Loosely Coupled and Extensible.
8) Separation of Code and UI.
9) Security(Open ID).
10) Side-by-Side Execution.
Drawbacks of ASP.NET
1) It does not support Test-Driven application
development.
2) It will not support complete HTML.
3) ASP.NET applications are heavy weight.
4) Lots of server side interaction and controls.
Introduction to asp.net
Introduction to asp.net

More Related Content

What's hot

Asp.net architecture
Asp.net architectureAsp.net architecture
Asp.net architecture
Iblesoft
 

What's hot (20)

Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To Dotnet
 
HTML5 & CSS3
HTML5 & CSS3 HTML5 & CSS3
HTML5 & CSS3
 
ASP.NET MVC Presentation
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentation
 
What is JavaScript? Edureka
What is JavaScript? EdurekaWhat is JavaScript? Edureka
What is JavaScript? Edureka
 
ASP.NET Basics
ASP.NET Basics ASP.NET Basics
ASP.NET Basics
 
REST API and CRUD
REST API and CRUDREST API and CRUD
REST API and CRUD
 
Web forms in ASP.net
Web forms in ASP.netWeb forms in ASP.net
Web forms in ASP.net
 
New Elements & Features in HTML5
New Elements & Features in HTML5New Elements & Features in HTML5
New Elements & Features in HTML5
 
Web Development with HTML5, CSS3 & JavaScript
Web Development with HTML5, CSS3 & JavaScriptWeb Development with HTML5, CSS3 & JavaScript
Web Development with HTML5, CSS3 & JavaScript
 
Php and MySQL
Php and MySQLPhp and MySQL
Php and MySQL
 
Client side scripting and server side scripting
Client side scripting and server side scriptingClient side scripting and server side scripting
Client side scripting and server side scripting
 
Javascript
JavascriptJavascript
Javascript
 
laravel.pptx
laravel.pptxlaravel.pptx
laravel.pptx
 
Php Presentation
Php PresentationPhp Presentation
Php Presentation
 
Introduction to JavaScript (1).ppt
Introduction to JavaScript (1).pptIntroduction to JavaScript (1).ppt
Introduction to JavaScript (1).ppt
 
Restful web services ppt
Restful web services pptRestful web services ppt
Restful web services ppt
 
C sharp
C sharpC sharp
C sharp
 
Asp.net architecture
Asp.net architectureAsp.net architecture
Asp.net architecture
 
Web Design & Development - Session 1
Web Design & Development - Session 1Web Design & Development - Session 1
Web Design & Development - Session 1
 
Angularjs PPT
Angularjs PPTAngularjs PPT
Angularjs PPT
 

Viewers also liked

Concepts of Asp.Net
Concepts of Asp.NetConcepts of Asp.Net
Concepts of Asp.Net
vidyamittal
 
Developing an aspnet web application
Developing an aspnet web applicationDeveloping an aspnet web application
Developing an aspnet web application
Rahul Bansal
 

Viewers also liked (15)

ASP.NET Best Practices - Useful Tips from the Trenches
ASP.NET Best Practices - Useful Tips from the TrenchesASP.NET Best Practices - Useful Tips from the Trenches
ASP.NET Best Practices - Useful Tips from the Trenches
 
Asp.NET Validation controls
Asp.NET Validation controlsAsp.NET Validation controls
Asp.NET Validation controls
 
Monitoring web application response times, a new approach
Monitoring web application response times, a new approachMonitoring web application response times, a new approach
Monitoring web application response times, a new approach
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentation
 
Asp dot net final (2)
Asp dot net   final (2)Asp dot net   final (2)
Asp dot net final (2)
 
DITEC - E-Commerce & ASP.NET
DITEC - E-Commerce & ASP.NETDITEC - E-Commerce & ASP.NET
DITEC - E-Commerce & ASP.NET
 
ASP.NET Core Security
ASP.NET Core SecurityASP.NET Core Security
ASP.NET Core Security
 
DITEC - Programming with Java
DITEC - Programming with JavaDITEC - Programming with Java
DITEC - Programming with Java
 
Writing clean code in C# and .NET
Writing clean code in C# and .NETWriting clean code in C# and .NET
Writing clean code in C# and .NET
 
Concepts of Asp.Net
Concepts of Asp.NetConcepts of Asp.Net
Concepts of Asp.Net
 
DIWE - Coding HTML for Basic Web Designing
DIWE - Coding HTML for Basic Web DesigningDIWE - Coding HTML for Basic Web Designing
DIWE - Coding HTML for Basic Web Designing
 
DIWE - Programming with JavaScript
DIWE - Programming with JavaScriptDIWE - Programming with JavaScript
DIWE - Programming with JavaScript
 
Developing an aspnet web application
Developing an aspnet web applicationDeveloping an aspnet web application
Developing an aspnet web application
 
Asynchronous programming in ASP.NET
Asynchronous programming in ASP.NETAsynchronous programming in ASP.NET
Asynchronous programming in ASP.NET
 
DIWE - Introduction to Web Technologies
DIWE - Introduction to Web TechnologiesDIWE - Introduction to Web Technologies
DIWE - Introduction to Web Technologies
 

Similar to Introduction to asp.net

DevNext - Web Programming Concepts Using Asp Net
DevNext - Web Programming Concepts Using Asp NetDevNext - Web Programming Concepts Using Asp Net
DevNext - Web Programming Concepts Using Asp Net
Adil Mughal
 
introasp_net-7364068.ppt
introasp_net-7364068.pptintroasp_net-7364068.ppt
introasp_net-7364068.ppt
IQM123
 
introasp_net-6563550.ppt
introasp_net-6563550.pptintroasp_net-6563550.ppt
introasp_net-6563550.ppt
IQM123
 
introaspnet-3030384.ppt
introaspnet-3030384.pptintroaspnet-3030384.ppt
introaspnet-3030384.ppt
IQM123
 
introaspnet-5856912.ppt
introaspnet-5856912.pptintroaspnet-5856912.ppt
introaspnet-5856912.ppt
IQM123
 

Similar to Introduction to asp.net (20)

Asp.netrole
Asp.netroleAsp.netrole
Asp.netrole
 
Web development concepts using microsoft technologies
Web development concepts using microsoft technologiesWeb development concepts using microsoft technologies
Web development concepts using microsoft technologies
 
Asp.net
Asp.netAsp.net
Asp.net
 
01 asp.net session01
01 asp.net session0101 asp.net session01
01 asp.net session01
 
Introduction to asp
Introduction to aspIntroduction to asp
Introduction to asp
 
Asp.net
Asp.netAsp.net
Asp.net
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Top 10 - ASP.NET Interview Questions And Answers 2023.pdf
Top 10 -  ASP.NET Interview Questions And Answers 2023.pdfTop 10 -  ASP.NET Interview Questions And Answers 2023.pdf
Top 10 - ASP.NET Interview Questions And Answers 2023.pdf
 
DevNext - Web Programming Concepts Using Asp Net
DevNext - Web Programming Concepts Using Asp NetDevNext - Web Programming Concepts Using Asp Net
DevNext - Web Programming Concepts Using Asp Net
 
Unit - 1: ASP.NET Basic
Unit - 1:  ASP.NET BasicUnit - 1:  ASP.NET Basic
Unit - 1: ASP.NET Basic
 
Beginners introduction to asp.net
Beginners introduction to asp.netBeginners introduction to asp.net
Beginners introduction to asp.net
 
introasp_net-7364068.ppt
introasp_net-7364068.pptintroasp_net-7364068.ppt
introasp_net-7364068.ppt
 
introasp_net-6563550.ppt
introasp_net-6563550.pptintroasp_net-6563550.ppt
introasp_net-6563550.ppt
 
Asp dot net long
Asp dot net longAsp dot net long
Asp dot net long
 
Web tech
Web techWeb tech
Web tech
 
Web techh
Web techhWeb techh
Web techh
 
Web tech
Web techWeb tech
Web tech
 
Web tech
Web techWeb tech
Web tech
 
introaspnet-3030384.ppt
introaspnet-3030384.pptintroaspnet-3030384.ppt
introaspnet-3030384.ppt
 
introaspnet-5856912.ppt
introaspnet-5856912.pptintroaspnet-5856912.ppt
introaspnet-5856912.ppt
 

Recently uploaded

TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 

Introduction to asp.net

  • 1. Introduction to By:- SHADAB ALI MCA 5th Sem
  • 2. What is ASP.NET  It is one of the Microsoft Technology developed in 2002.  It is a server-side technology used to create web applications.  Technically it is a framework of Microsoft that provides a collection of several classes.  It is a part of .NET framework.  It is a program that runs inside IIS.
  • 3. ASP vs. ASP.NET ASP ASP.NET It does not have its own language and uses VB It has its own language and all .NET language are supported. It does not have its own control and uses HTML controls. It has a huge heap of control and also support third party controls. It supports only Inline Documentation where code & design present in same page It supports both Inline & Code Behind technique where design can be separated from code. It is based on COM (Component Object Model) technology. It is based on .NET(Network Enabled Technology) framework.
  • 4. What is an ASP.NET File  An ASP.NET file is just same as HTML file.  An ASP.NET file can contain HTML tags, XML tags and scripts.  Scripts is an ASP.NET file which are executed on the server.  An ASP.NET file has the file extension as “.aspx”.
  • 5. How does ASP.NET work  When a browser requests an HTML file, the server returns the file.  When a browser requests an ASP.NET file, IIS passes the request to the ASP.NET engine on the server.  AN ASP.NET engine reads the file line by line and executes the scripts in the file.  Finally, the ASP.NET file is returned to the browser as plain HTML file.
  • 6. Life Cycle of ASP.NET
  • 8. Page Composition Part  Server Side  Client Side .aspx C#,VB or VC++ HTML HTML CSS JavaScript Web Page
  • 9. App. Development Model  Web Page:- Simplest programming model for developing ASP.NET web pages. It provides an easy way to combine HTML, CSS, JavaScript and server code.  Web Form:- These are event driven web pages written as a combination of HTML, server controls, and server code. These are compiled and executed on the server, which generates the HTML that displays the web pages.  MVC:- MVC is a framework for building web applications using a MVC (Model View Controller) design: a) Model handles the logic for the application data. b) View handles the display of the data. c) Controller handles the user interaction.
  • 10. ASP.NET Page Structure 1. Directives 2. Code Declaration Block 3. Code Rendering Block 4. Server Side Control 5. User Control 6. HTML Control 7. Server Side Comment 8. XML Comment 9. Server Side Includes 10. Literal Text
  • 11. Simple Program <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="firstexample._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title> Untitled Page </title> </head> <body> <form id="form1" runat="server"> <div> <asp:TextBox ID="TextBox1" runat="server" style="width:224px"> </asp:TextBox> <br /> <br /> <asp:Button ID="Button1" runat="server" Text="Enter..." style="width:85px" onclick="Button1_Click" /> <hr /> <h3> Results: </h3> <span runat="server" id="changed_text" /> </div> </form> </body> </html>
  • 12. Features of ASP.NET 1) Built on .NET Framework. 2) Simple Programming Model. 3) Easy and Rapid Application Development. 4) Multi-browser support. 5) XCOPY Deployment. 6) Debugging. 7) Loosely Coupled and Extensible. 8) Separation of Code and UI. 9) Security(Open ID). 10) Side-by-Side Execution.
  • 13. Drawbacks of ASP.NET 1) It does not support Test-Driven application development. 2) It will not support complete HTML. 3) ASP.NET applications are heavy weight. 4) Lots of server side interaction and controls.