SlideShare uma empresa Scribd logo
1 de 46
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

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Destaque

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
 

Destaque (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
 

Semelhante 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

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 FMESafe Software
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
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 TerraformAndrey Devyatkin
 
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.pdfOrbitshub
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
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...Jeffrey Haguewood
 

Último (20)

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
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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...
 

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 do 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