SlideShare a Scribd company logo
1 of 29
Web Engineering-II By; Roohul Amin Mashwani
Introduction to ASP.NET 3.5 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Cont… ,[object Object],[object Object],[object Object]
Introduction to ASP.NET 3.5 ,[object Object],[object Object],[object Object]
HTML Forms to Nowhere ,[object Object],[object Object],[object Object]
HTML Data Entry with No Exit ,[object Object],[object Object],[object Object],[object Object]
<html> <head> <title>HTML to Nowhere</title> </head> <body> <form> Please enter your name:<br/> <input type=&quot;text&quot; name=&quot;username&quot;/> <p/> Press the button to receive all of your hopes and dreams:<br/> <input type=&quot;submit&quot; value=&quot;Dream Button&quot; /> </form> </body> </html>
Cont… ,[object Object]
Output HTML data entry and submit form
Cont… ,[object Object],[object Object]
Your Browser Is a Thin Client ,[object Object],[object Object]
Cont… ,[object Object],[object Object],[object Object]
A Protocol Without a Country: Stateless HTTP ,[object Object],[object Object],[object Object],[object Object]
Cont… ,[object Object]
ASP.NET 3.5 as an Alternative to CGI ,[object Object],[object Object]
Cont… ,[object Object],[object Object]
Cont… ,[object Object],[object Object]
Cont… ,[object Object],[object Object]
From Client Side to Server Side Browser ASPX file Server- Server executes code; results converted to HTML and returned to client Data reference to ASPX file Returns HTML Client Web Server Server-side script runat=&quot;server&quot;
Cont… ,[object Object],[object Object],[object Object],[object Object]
<%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeFile=&quot;Dreamer.aspx.cs&quot; Inherits=&quot;_Dreamer&quot; %> <!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;> <html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;> <head id=&quot;Head1&quot; runat=&quot;server&quot;> <title>Server Side Dreamer</title> </head> <body> <form id=&quot;form1&quot; runat=&quot;server&quot;> <div> Please enter your name:<br /> <asp:TextBox ID=&quot;DreamBox&quot; runat=&quot;server&quot;> </asp:TextBox> <p /> Press the button to receive all of your hopes and dreams:<br /> <asp:Button ID=&quot;Dreamer“ runat=&quot;server“ Text=&quot;Dream Button&quot;OnClick=&quot;DoDream&quot; /> <p /> <asp:Label ID=&quot;Dreams&quot; runat=&quot;server&quot; Text=&quot;Dreams Here&quot;></asp:Label> </div> </form> </body> </html> Example of A Dynamic Website
using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml.Linq; public partial class _Dreamer : System.Web.UI.Page { protected void DoDream(object sender, EventArgs e) { Dreams.Text = DreamBox.Text + &quot;'s dreams are big ones!&quot;; } } Dreamer.aspx.cs
Output
.NET Organization ,[object Object],[object Object],[object Object]
Cont… ,[object Object],[object Object],[object Object],[object Object],[object Object]
Cont… ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Cont… ,[object Object],[object Object]
Online Help for IIS ,[object Object],[object Object],[object Object]
Thank You All!

More Related Content

What's hot

1 introduction to html
1 introduction to html1 introduction to html
1 introduction to html
myrajendra
 

What's hot (19)

Asp.netrole
Asp.netroleAsp.netrole
Asp.netrole
 
HTML Basics by software development company india
HTML Basics by software development company indiaHTML Basics by software development company india
HTML Basics by software development company india
 
Data Applied: Developer Quicklook
Data Applied: Developer QuicklookData Applied: Developer Quicklook
Data Applied: Developer Quicklook
 
Screen Pages - Mage Titans - i18n Translations - Magento 2
Screen Pages  - Mage Titans - i18n Translations - Magento 2Screen Pages  - Mage Titans - i18n Translations - Magento 2
Screen Pages - Mage Titans - i18n Translations - Magento 2
 
Html
HtmlHtml
Html
 
Tugas Pw [6]
Tugas Pw [6]Tugas Pw [6]
Tugas Pw [6]
 
Tugas Pw [6] (2)
Tugas Pw [6] (2)Tugas Pw [6] (2)
Tugas Pw [6] (2)
 
Hypertext markup language (html)
Hypertext markup language (html)Hypertext markup language (html)
Hypertext markup language (html)
 
1 introduction to html
1 introduction to html1 introduction to html
1 introduction to html
 
Client side scripting
Client side scriptingClient side scripting
Client side scripting
 
GET and POST in PHP
GET and POST in PHPGET and POST in PHP
GET and POST in PHP
 
Introduction to Web Technology
Introduction to Web TechnologyIntroduction to Web Technology
Introduction to Web Technology
 
Asp net
Asp netAsp net
Asp net
 
Vb.Net Web Forms
Vb.Net  Web FormsVb.Net  Web Forms
Vb.Net Web Forms
 
Javascript
JavascriptJavascript
Javascript
 
INTRODUCTION TO HTML
INTRODUCTION TO HTMLINTRODUCTION TO HTML
INTRODUCTION TO HTML
 
Introduction to basic HTML [Librarian edition]
Introduction to basic HTML [Librarian edition]Introduction to basic HTML [Librarian edition]
Introduction to basic HTML [Librarian edition]
 
Test2
Test2Test2
Test2
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 

Viewers also liked

Web engineering 2(lect 0)
Web engineering 2(lect 0)Web engineering 2(lect 0)
Web engineering 2(lect 0)
Roohul Amin
 
Java EE Servlet/JSP Tutorial- Cookbook 2
Java EE Servlet/JSP Tutorial- Cookbook 2Java EE Servlet/JSP Tutorial- Cookbook 2
Java EE Servlet/JSP Tutorial- Cookbook 2
billdigman
 

Viewers also liked (8)

Servidores web
Servidores webServidores web
Servidores web
 
Web engineering 2(lect 0)
Web engineering 2(lect 0)Web engineering 2(lect 0)
Web engineering 2(lect 0)
 
Jsp 2 Research Methods
Jsp 2 Research MethodsJsp 2 Research Methods
Jsp 2 Research Methods
 
OOWS 2.0: A Model-driven Web Engineering Method for the Development of Web 2....
OOWS 2.0: A Model-driven Web Engineering Method for the Development of Web 2....OOWS 2.0: A Model-driven Web Engineering Method for the Development of Web 2....
OOWS 2.0: A Model-driven Web Engineering Method for the Development of Web 2....
 
Web engineering (2)
Web engineering (2)Web engineering (2)
Web engineering (2)
 
Servlet/JSP course chapter 2: Introduction to JavaServer Pages (JSP)
Servlet/JSP course chapter 2: Introduction to JavaServer Pages (JSP)Servlet/JSP course chapter 2: Introduction to JavaServer Pages (JSP)
Servlet/JSP course chapter 2: Introduction to JavaServer Pages (JSP)
 
Java EE Servlet/JSP Tutorial- Cookbook 2
Java EE Servlet/JSP Tutorial- Cookbook 2Java EE Servlet/JSP Tutorial- Cookbook 2
Java EE Servlet/JSP Tutorial- Cookbook 2
 
Web Engineering
Web EngineeringWeb Engineering
Web Engineering
 

Similar to Web engineering 2(lect 2)

CIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NETCIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NET
webhostingguy
 
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
 
1 Introduction to Drupal Web Development
1 Introduction to Drupal Web Development1 Introduction to Drupal Web Development
1 Introduction to Drupal Web Development
Wingston
 
Internet Environment
Internet  EnvironmentInternet  Environment
Internet Environment
guest8fdbdd
 
Asp.net architecture
Asp.net architectureAsp.net architecture
Asp.net architecture
Iblesoft
 
How to develop asp web applications
How to develop asp web applicationsHow to develop asp web applications
How to develop asp web applications
Deepankar Pathak
 

Similar to Web engineering 2(lect 2) (20)

CIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NETCIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NET
 
Intro To Asp Net And Web Forms
Intro To Asp Net And Web FormsIntro To Asp Net And Web Forms
Intro To Asp Net And Web Forms
 
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
 
1 Introduction to Drupal Web Development
1 Introduction to Drupal Web Development1 Introduction to Drupal Web Development
1 Introduction to Drupal Web Development
 
Web II - 01 - Introduction to server-side development
Web II - 01 - Introduction to server-side developmentWeb II - 01 - Introduction to server-side development
Web II - 01 - Introduction to server-side development
 
As pnet
As pnetAs pnet
As pnet
 
Internet Environment
Internet  EnvironmentInternet  Environment
Internet Environment
 
Asp.net architecture
Asp.net architectureAsp.net architecture
Asp.net architecture
 
Asp.net
Asp.netAsp.net
Asp.net
 
Learn ASP
Learn ASPLearn ASP
Learn ASP
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
PPT
PPTPPT
PPT
 
CGI by rj
CGI by rjCGI by rj
CGI by rj
 
Active server pages
Active server pagesActive server pages
Active server pages
 
Rutgers - Active Server Pages
Rutgers - Active Server PagesRutgers - Active Server Pages
Rutgers - Active Server Pages
 
Top 15-asp-dot-net-interview-questions-and-answers
Top 15-asp-dot-net-interview-questions-and-answersTop 15-asp-dot-net-interview-questions-and-answers
Top 15-asp-dot-net-interview-questions-and-answers
 
Top 15 asp dot net interview questions and answers
Top 15 asp dot net interview questions and answersTop 15 asp dot net interview questions and answers
Top 15 asp dot net interview questions and answers
 
Developing an ASP.NET Web Application
Developing an ASP.NET Web ApplicationDeveloping an ASP.NET Web Application
Developing an ASP.NET Web Application
 
How to develop asp web applications
How to develop asp web applicationsHow to develop asp web applications
How to develop asp web applications
 
Before start
Before startBefore start
Before start
 

More from Roohul Amin (6)

Learning MySQL using PHP Scripts
Learning MySQL using PHP ScriptsLearning MySQL using PHP Scripts
Learning MySQL using PHP Scripts
 
PHP Basics
PHP BasicsPHP Basics
PHP Basics
 
Rana the building blocks of success oct 2014
Rana   the building blocks of success oct 2014Rana   the building blocks of success oct 2014
Rana the building blocks of success oct 2014
 
How to Implement Computerized id cards in Afghanistan?
How to Implement Computerized id cards in Afghanistan?How to Implement Computerized id cards in Afghanistan?
How to Implement Computerized id cards in Afghanistan?
 
Wireless networks 07
Wireless networks 07Wireless networks 07
Wireless networks 07
 
foundation of electronic commerce
foundation of electronic commercefoundation of electronic commerce
foundation of electronic commerce
 

Recently uploaded

Recently uploaded (20)

Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 

Web engineering 2(lect 2)

  • 1. Web Engineering-II By; Roohul Amin Mashwani
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. <html> <head> <title>HTML to Nowhere</title> </head> <body> <form> Please enter your name:<br/> <input type=&quot;text&quot; name=&quot;username&quot;/> <p/> Press the button to receive all of your hopes and dreams:<br/> <input type=&quot;submit&quot; value=&quot;Dream Button&quot; /> </form> </body> </html>
  • 8.
  • 9. Output HTML data entry and submit form
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19. From Client Side to Server Side Browser ASPX file Server- Server executes code; results converted to HTML and returned to client Data reference to ASPX file Returns HTML Client Web Server Server-side script runat=&quot;server&quot;
  • 20.
  • 21. <%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeFile=&quot;Dreamer.aspx.cs&quot; Inherits=&quot;_Dreamer&quot; %> <!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;> <html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;> <head id=&quot;Head1&quot; runat=&quot;server&quot;> <title>Server Side Dreamer</title> </head> <body> <form id=&quot;form1&quot; runat=&quot;server&quot;> <div> Please enter your name:<br /> <asp:TextBox ID=&quot;DreamBox&quot; runat=&quot;server&quot;> </asp:TextBox> <p /> Press the button to receive all of your hopes and dreams:<br /> <asp:Button ID=&quot;Dreamer“ runat=&quot;server“ Text=&quot;Dream Button&quot;OnClick=&quot;DoDream&quot; /> <p /> <asp:Label ID=&quot;Dreams&quot; runat=&quot;server&quot; Text=&quot;Dreams Here&quot;></asp:Label> </div> </form> </body> </html> Example of A Dynamic Website
  • 22. using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Xml.Linq; public partial class _Dreamer : System.Web.UI.Page { protected void DoDream(object sender, EventArgs e) { Dreams.Text = DreamBox.Text + &quot;'s dreams are big ones!&quot;; } } Dreamer.aspx.cs
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.