SlideShare una empresa de Scribd logo
1 de 46
Descargar para leer sin conexión
Microsoft Student Partner Program    @ Anna University of Technology  Coimbatore
by N.Yuvaraj [email_address]
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Outline ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Internet Technologies WWW Architecture Web Server Client Server Request : http://www.msn.com/default.html Response : <html>…</html> Network HTTP TCP/IP PC/Mac/Unix  + Browser (IE, FireFox)
Web Technologies ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ASP Architecture IIS (Internet Information Server) Client Server Request : http://www.msn.com/default. aspx Response : <html>…</html> Network HTTP TCP/IP PC/Mac/Unix  + Browser (IE, FireFox)
Server-Side Code ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],ASP page (static HTML,   server-side  logic) HTTP request (form data,  HTTP  header data) HTTP response HTML, XML
ASP.NET Overview and Features ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
WebTime.aspx   Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
WebTime.aspx  ( 1 of 2 ) Visual Studio generates the markup shown when you create the GUI. ASP.NET   comments  begin with  < % --  and terminate with  -- % > , and can span multiple lines. The  Page  directive specifies information needed by ASP.NET to process this file. ASPX file that displays the web server’s time.  The document type declaration, which specifies the document element name and the  PUBLIC  URI for the DTD that defines the XHTML vocabulary. XHTML documents have the root element  html  and markup information about the document in the  head  element. The body contains the main content that the browser displays. The  form  that contains our XHTML text and controls is set to execute on the server, which generates equivalent XHTML.
WebTime.aspx ( 2 of 2 ) ASPX file that displays the web server’s time. (Part 2 of 2. ) Markup for a label web control. The  asp :   tag prefix  indicates that the label is an ASP.NET web control, not an XHTML element. ,[object Object]
WebTime.aspx   Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
WebTime.aspx   Example ,[object Object],[object Object],[object Object],[object Object],[object Object]
WebTime.aspx   Example ,[object Object],[object Object],[object Object]
WebTime.aspx   Example ,[object Object],[object Object],[object Object],[object Object]
The code-behind file ( WebTime.aspx.cs ) Code-behind file for a page that displays the web server’s time. (Part 1 of 2.) The  Page_Init  method handles the page’s  Init  event, which indicates that the page is ready to be initialized. Retrieve the current time and formats it as  hh:mm:ss .
[object Object],WebTime.aspx   Example Run
WebTime.aspx   Example Relationship Between an ASPX File and a Code Behind File ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
WebTime.aspx   Example   How the Code in an ASP.NET Web Page Executes  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
WebTime.aspx   Example ,[object Object],[object Object],[object Object]
WebTime.html ( 1 of 2 ) ,[object Object],Fig.  |   XHTML response when the browser requests  WebTime.aspx . (Part 1 of 2. ) Nonvisual form components, called  hidden inputs , store data that the user doesn’t need to see. Attribute  method  of the  form  element specifies the request method (usually  get  or  post ). The  action  attribute identifies the resource that will be requested when a form is submitted.
Outline WebTime.html ( 2 of 2 ) Fig. 22.6   |   XHTML response when the browser requests  WebTime.aspx . (Part 2 of 2. ) The  form  contains a  span  element to represent the text in the label. Formatting properties of  timeLabel  are converted into the  style  attribute of the  span  element.
WebTime.aspx   Example ,[object Object],[object Object]
WebTime.aspx   Example Creating an  ASP.NET Web Application using Visual Studio ,[object Object],[object Object],[object Object],[object Object]
WebTime.aspx   Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Editing the  WebTime.aspx ,[object Object],[object Object],[object Object],[object Object]
Renaming the  WebTime.aspx ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
WebTime.aspx   Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
WebTime.aspx   Example ,[object Object],[object Object],[object Object],[object Object]
Running  WebTime.aspx  Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Event Handling  ,[object Object],[object Object],[object Object]
Event Handling Example ( HelloWorld ) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Event Handling Example ( HelloWorld ) ,[object Object],[object Object],[object Object]
HelloWorld Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],ASP.NET   comments  begin with  < % --  and terminate with  -- % > , and can span multiple lines. The  Page  directive specifies information needed by ASP.NET to process this file. XHTML documents have the root element  html  and markup information about the document in the  head  element. The body contains the main content that the browser displays. The  form  that contains our XHTML text and controls is set to execute on the server, which generates equivalent XHTML. Markup for label & button web controls. The  asp :   tag prefix  indicates that the label is an ASP.NET web control, not an XHTML element.
ASPX Code Behind File ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Event Handling ,[object Object],[object Object],[object Object],[object Object],[object Object]
Other Ways to Create Event Handlers ,[object Object],[object Object]
Locating Event Information ,[object Object],[object Object]
Programming Model  Controls and Events Browser ASP.NET Button code ... List code ... Label code ... Event handlers Button List Label
ASP.NET   Architecture Common Language Specification Common Language Runtime VB C++ C# ASP.NET: Web Services and Web Forms JScript … Windows Forms Base Classes ADO.NET: Data and XML Visual Studio.NET
Programming Model  ASP.NET Object Model ,[object Object],[object Object],[object Object],[object Object],[object Object]
Resources ,[object Object],[object Object],[object Object],[object Object]
Any Queries
Thanking You

Más contenido relacionado

La actualidad más candente

Csphtp1 20
Csphtp1 20Csphtp1 20
Csphtp1 20HUST
 
Ch 04 asp.net application
Ch 04 asp.net application Ch 04 asp.net application
Ch 04 asp.net application Madhuri Kavade
 
Asp.net server control
Asp.net  server controlAsp.net  server control
Asp.net server controlSireesh K
 
Programming web application
Programming web applicationProgramming web application
Programming web applicationaspnet123
 
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...SPTechCon
 
ASP.NET 02 - How ASP.NET Works
ASP.NET 02 - How ASP.NET WorksASP.NET 02 - How ASP.NET Works
ASP.NET 02 - How ASP.NET WorksRandy Connolly
 
Asp.net server controls
Asp.net server controlsAsp.net server controls
Asp.net server controlsRaed Aldahdooh
 
ASP.NET 12 - State Management
ASP.NET 12 - State ManagementASP.NET 12 - State Management
ASP.NET 12 - State ManagementRandy Connolly
 
Asp .net web form fundamentals
Asp .net web form fundamentalsAsp .net web form fundamentals
Asp .net web form fundamentalsGopal Ji Singh
 
.net training | learn .net | Microsoft dot net Course | Microsoft dot net onl...
.net training | learn .net | Microsoft dot net Course | Microsoft dot net onl....net training | learn .net | Microsoft dot net Course | Microsoft dot net onl...
.net training | learn .net | Microsoft dot net Course | Microsoft dot net onl...Nancy Thomas
 
Overview of ASP.Net by software outsourcing company india
Overview of ASP.Net by software outsourcing company indiaOverview of ASP.Net by software outsourcing company india
Overview of ASP.Net by software outsourcing company indiaJignesh Aakoliya
 

La actualidad más candente (20)

Csphtp1 20
Csphtp1 20Csphtp1 20
Csphtp1 20
 
Ch 04 asp.net application
Ch 04 asp.net application Ch 04 asp.net application
Ch 04 asp.net application
 
Asp.net server control
Asp.net  server controlAsp.net  server control
Asp.net server control
 
Controls
ControlsControls
Controls
 
Programming web application
Programming web applicationProgramming web application
Programming web application
 
Web controls
Web controlsWeb controls
Web controls
 
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...
 
Asp objects
Asp objectsAsp objects
Asp objects
 
ASP.NET 02 - How ASP.NET Works
ASP.NET 02 - How ASP.NET WorksASP.NET 02 - How ASP.NET Works
ASP.NET 02 - How ASP.NET Works
 
Web forms in ASP.net
Web forms in ASP.netWeb forms in ASP.net
Web forms in ASP.net
 
Asp.net server controls
Asp.net server controlsAsp.net server controls
Asp.net server controls
 
ASP.NET 12 - State Management
ASP.NET 12 - State ManagementASP.NET 12 - State Management
ASP.NET 12 - State Management
 
Asp .net web form fundamentals
Asp .net web form fundamentalsAsp .net web form fundamentals
Asp .net web form fundamentals
 
Ajax
AjaxAjax
Ajax
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Asp
AspAsp
Asp
 
.net training | learn .net | Microsoft dot net Course | Microsoft dot net onl...
.net training | learn .net | Microsoft dot net Course | Microsoft dot net onl....net training | learn .net | Microsoft dot net Course | Microsoft dot net onl...
.net training | learn .net | Microsoft dot net Course | Microsoft dot net onl...
 
Overview of ASP.Net by software outsourcing company india
Overview of ASP.Net by software outsourcing company indiaOverview of ASP.Net by software outsourcing company india
Overview of ASP.Net by software outsourcing company india
 
MVC Training Part 1
MVC Training Part 1MVC Training Part 1
MVC Training Part 1
 
ASP.NET Lecture 2
ASP.NET Lecture 2ASP.NET Lecture 2
ASP.NET Lecture 2
 

Destacado

01 wp7 introduction
01 wp7   introduction01 wp7   introduction
01 wp7 introductionTao Wang
 
Silverlight and Windows Phone workshop
Silverlight and Windows Phone workshopSilverlight and Windows Phone workshop
Silverlight and Windows Phone workshopRadu Poenaru
 
Getting Started with WP7 Development
Getting Started with WP7 DevelopmentGetting Started with WP7 Development
Getting Started with WP7 DevelopmentJeff Bramwell
 
Web matrix part 2
Web matrix part 2Web matrix part 2
Web matrix part 2yuvaraj72
 
WP7 HUB_Overview and application platform
WP7 HUB_Overview and application platformWP7 HUB_Overview and application platform
WP7 HUB_Overview and application platformMICTT Palma
 
Windows Phone 7 apps development with Silverlight
Windows Phone 7 apps development with SilverlightWindows Phone 7 apps development with Silverlight
Windows Phone 7 apps development with SilverlightRadu Poenaru
 
Windowsphone7
Windowsphone7Windowsphone7
Windowsphone7yuvaraj72
 
WP7 Platform Architecture
WP7 Platform ArchitectureWP7 Platform Architecture
WP7 Platform ArchitectureKivanc Ozuolmez
 

Destacado (8)

01 wp7 introduction
01 wp7   introduction01 wp7   introduction
01 wp7 introduction
 
Silverlight and Windows Phone workshop
Silverlight and Windows Phone workshopSilverlight and Windows Phone workshop
Silverlight and Windows Phone workshop
 
Getting Started with WP7 Development
Getting Started with WP7 DevelopmentGetting Started with WP7 Development
Getting Started with WP7 Development
 
Web matrix part 2
Web matrix part 2Web matrix part 2
Web matrix part 2
 
WP7 HUB_Overview and application platform
WP7 HUB_Overview and application platformWP7 HUB_Overview and application platform
WP7 HUB_Overview and application platform
 
Windows Phone 7 apps development with Silverlight
Windows Phone 7 apps development with SilverlightWindows Phone 7 apps development with Silverlight
Windows Phone 7 apps development with Silverlight
 
Windowsphone7
Windowsphone7Windowsphone7
Windowsphone7
 
WP7 Platform Architecture
WP7 Platform ArchitectureWP7 Platform Architecture
WP7 Platform Architecture
 

Similar a Asp (20)

Creating web form
Creating web formCreating web form
Creating web form
 
Asp.net architecture
Asp.net architectureAsp.net architecture
Asp.net architecture
 
Active server pages
Active server pagesActive server pages
Active server pages
 
C# Unit5 Notes
C# Unit5 NotesC# Unit5 Notes
C# Unit5 Notes
 
Aspnet architecture
Aspnet architectureAspnet architecture
Aspnet architecture
 
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
 
How to develop asp web applications
How to develop asp web applicationsHow to develop asp web applications
How to develop asp web applications
 
Asp.net
Asp.netAsp.net
Asp.net
 
SharePoint 2007 Presentation
SharePoint 2007 PresentationSharePoint 2007 Presentation
SharePoint 2007 Presentation
 
Developing an ASP.NET Web Application
Developing an ASP.NET Web ApplicationDeveloping an ASP.NET Web Application
Developing an ASP.NET Web Application
 
Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.net
 
C sharp and asp.net interview questions
C sharp and asp.net interview questionsC sharp and asp.net interview questions
C sharp and asp.net interview questions
 
Asp.net
Asp.netAsp.net
Asp.net
 
15th june
15th june15th june
15th june
 
Lecture2
Lecture2Lecture2
Lecture2
 
Asp.Net Ajax Component Development
Asp.Net Ajax Component DevelopmentAsp.Net Ajax Component Development
Asp.Net Ajax Component Development
 
Asp.net tips
Asp.net tipsAsp.net tips
Asp.net tips
 
Ajax and ASP.NET AJAX
Ajax and ASP.NET AJAXAjax and ASP.NET AJAX
Ajax and ASP.NET AJAX
 
Asp.net file types
Asp.net file typesAsp.net file types
Asp.net file types
 
Asp dot net long
Asp dot net longAsp dot net long
Asp dot net long
 

Último

KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostKubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostMatt Ray
 
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py20230202 - Introduction to tis-py
20230202 - Introduction to tis-pyJamie (Taka) Wang
 
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7DianaGray10
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Adtran
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024SkyPlanner
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaborationbruanjhuli
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UbiTrack UK
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDELiveplex
 
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?IES VE
 
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6DianaGray10
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfAijun Zhang
 
Building AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxBuilding AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxUdaiappa Ramachandran
 
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesDavid Newbury
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopBachir Benyammi
 
AI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarAI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarPrecisely
 
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxIntroduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxMatsuo Lab
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationIES VE
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024D Cloud Solutions
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioChristian Posta
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8DianaGray10
 

Último (20)

KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostKubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
 
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py20230202 - Introduction to tis-py
20230202 - Introduction to tis-py
 
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
 
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?
 
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdf
 
Building AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxBuilding AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptx
 
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond Ontologies
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 Workshop
 
AI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarAI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity Webinar
 
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxIntroduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptx
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and Istio
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
 

Asp

  • 1. Microsoft Student Partner Program @ Anna University of Technology Coimbatore
  • 3.
  • 4.
  • 5.
  • 6. Internet Technologies WWW Architecture Web Server Client Server Request : http://www.msn.com/default.html Response : <html>…</html> Network HTTP TCP/IP PC/Mac/Unix + Browser (IE, FireFox)
  • 7.
  • 8. ASP Architecture IIS (Internet Information Server) Client Server Request : http://www.msn.com/default. aspx Response : <html>…</html> Network HTTP TCP/IP PC/Mac/Unix + Browser (IE, FireFox)
  • 9.
  • 10.
  • 11.
  • 12. WebTime.aspx ( 1 of 2 ) Visual Studio generates the markup shown when you create the GUI. ASP.NET comments begin with < % -- and terminate with -- % > , and can span multiple lines. The Page directive specifies information needed by ASP.NET to process this file. ASPX file that displays the web server’s time. The document type declaration, which specifies the document element name and the PUBLIC URI for the DTD that defines the XHTML vocabulary. XHTML documents have the root element html and markup information about the document in the head element. The body contains the main content that the browser displays. The form that contains our XHTML text and controls is set to execute on the server, which generates equivalent XHTML.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18. The code-behind file ( WebTime.aspx.cs ) Code-behind file for a page that displays the web server’s time. (Part 1 of 2.) The Page_Init method handles the page’s Init event, which indicates that the page is ready to be initialized. Retrieve the current time and formats it as hh:mm:ss .
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24. Outline WebTime.html ( 2 of 2 ) Fig. 22.6 | XHTML response when the browser requests WebTime.aspx . (Part 2 of 2. ) The form contains a span element to represent the text in the label. Formatting properties of timeLabel are converted into the style attribute of the span element.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41. Programming Model Controls and Events Browser ASP.NET Button code ... List code ... Label code ... Event handlers Button List Label
  • 42. ASP.NET Architecture Common Language Specification Common Language Runtime VB C++ C# ASP.NET: Web Services and Web Forms JScript … Windows Forms Base Classes ADO.NET: Data and XML Visual Studio.NET
  • 43.
  • 44.

Notas del editor

  1. 1- Generate the page using the ToolBox in Design mode: add a button and a label 2- Then show aspx markup, run the page 3- Add onClick event using the Design mode and show events 4- Explain code behind file default.aspx.cs: class derives from System.Web.UI.Page 5- set labelHello.Text = “Hello World!” 6- then set labelHello.Text = “Hello World! Time is %s” + DateTime.Now
  2. 1- Generate the page using the ToolBox in Design mode: add a button and a label 2- Then show aspx markup, run the page 3- Add onClick event using the Design mode and show events 4- Explain code behind file default.aspx.cs: class derives from System.Web.UI.Page 5- set labelHello.Text = “Hello World!” 6- then set labelHello.Text = “Hello World! Time is %s” + DateTime.Now
  3. 1- Generate the page using the ToolBox in Design mode: add a button and a label 2- Then show aspx markup, run the page 3- Add onClick event using the Design mode and show events 4- Explain code behind file default.aspx.cs: class derives from System.Web.UI.Page 5- set labelHello.Text = “Hello World!” 6- then set labelHello.Text = “Hello World! Time is %s” +
  4. ASP.NET is built upon .NET Framework Internet Information Server (IIS)
  5. Any Queries
  6. Thanking You