SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

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
 

What's hot (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
 

Viewers also liked

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
 

Viewers also liked (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 to 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
 

Recently uploaded

Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
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 DiscoveryTrustArc
 
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
 
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
 
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
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
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
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
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
 
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
 

Recently uploaded (20)

Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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
 
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...
 
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...
 
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...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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 Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
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...
 
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
 

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.

Editor's Notes

  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