SlideShare una empresa de Scribd logo
1 de 105
Introduction to ASP.NET  and Web Forms
Prerequisites ,[object Object],[object Object],[object Object],[object Object]
Learning Objectives ,[object Object],[object Object],[object Object]
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Background Web Architecture Web Server PC/Mac/Unix/...  + Browser Client Server Request: http://www.digimon.com/default.asp Response: <html>….</html> Network HTTP, TCP/IP
Background Web Development Technologies ,[object Object],[object Object],[object Object],[object Object],[object Object]
Background What is ASP? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Background <html> <head><title>HelloWorld.asp</title></head> <body> <form method=“post&quot;> <input type=&quot;submit&quot; id=button1 name=button1 value=&quot;Push Me&quot; /> <% if (Request.Form(&quot;button1&quot;) <> &quot;&quot;) then Response.Write &quot;<p>Hello, the time is &quot; & Now() end if %> </form> </body> </html>
Background ASP Successes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Background ASP Challenges ,[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]
ASP.NET Overview ,[object Object],[object Object],[object Object],[object Object]
ASP.NET Overview Goals ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ASP.NET Overview Key Features ,[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],[object Object],[object Object],[object Object],[object Object]
ASP.NET Overview HelloWorld.aspx <%@ Page language=&quot;c#&quot; %> <html> <head></head> <script runat=&quot;server&quot;> public void B_Click (object sender, System.EventArgs e) { Label1.Text = &quot;Hello, the time is &quot; + DateTime.Now; } </script> <body> <form method=&quot;post&quot; runat=&quot;server&quot;> <asp:Button onclick=&quot;B_Click&quot; Text=&quot;Push Me“  runat=&quot;server“ /> <p> <asp:Label id=Label1 runat=&quot;server &quot;  /> </form> </body> </html>
ASP.NET Overview Architecture ,[object Object],[object Object],[object Object]
ASP.NET Overview Architecture ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ASP.NET Overview 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
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Model Controls and Events ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Model Controls and Events Browser ASP.NET Button code ... List code ... Text code ... Event handlers Button List Text
Programming Model ASP.NET Object Model ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Model Postbacks ,[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Model Postbacks Maintain State ,[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Model Server-side Controls ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Model Automatic Browser Compatibility ,[object Object],[object Object],[object Object],[object Object]
Programming Model Automatic Browser Compatibility Button code ... Menu code ... Text code ... Event handlers ASP.NET Button Control Menu Control Text Control ... Button Menu Text IE 4 Button Menu Text Netscape Button Menu Text IE 5.5 Button Menu Text IE 6
Programming Model Code-behind pages ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Model Automatic Compilation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Model Automatic Compilation
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Basics Page Syntax ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Basics The Page Directive ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Basics Server Control Syntax ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Basics Server Control Properties ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Basics Maintaining State ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Basics Server Code Blocks ,[object Object],[object Object],[object Object],[object Object],<script language=&quot;C#&quot; runat=server> <script language=&quot;VB&quot; runat=server> <script language=&quot;JScript&quot; runat=server>
Programming Basics Page Events ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Basics Page Event Lifecycle Page_Load Page_Unload Textbox1_Changed Button1_Click Initialize Restore Control State Save Control State Render 1. Change Events 2. Action Events Page_Init Control Events Load Page Unload Page
Programming Basics Page Loading ,[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Basics Page Loading ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Basics Server Control Events ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Basics Wiring Up Control Events ,[object Object],[object Object],[object Object],[object Object],[object Object],<asp:button onclick=&quot;btn1_click“ runat=server> <asp:textbox onchanged=&quot;text1_changed“ runat=server>
Programming Basics Event Arguments ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Basics Page Unloading ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Basics Import  Directive ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Basics Page  Class ,[object Object],[object Object],[object Object],[object Object]
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Controls ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Controls HTML Controls ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Controls HTML Controls ,[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],[object Object],[object Object],[object Object]
Server Controls HTML Controls ,[object Object],[object Object],[object Object],[object Object]
Server Controls HTML Controls ,[object Object],[object Object],[object Object],[object Object]
Server Controls Web Controls ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Controls Web Controls ,[object Object],[object Object],<asp:button onclick=&quot;button1_click“ runat=server> <asp:textbox onchanged=&quot;text1_changed“ runat=server> ,[object Object],[object Object]
Server Controls Web Controls ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Controls Web Controls ,[object Object],[object Object],[object Object],[object Object],[object Object]
Server Controls  Intrinisic Controls ,[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]
Server Controls  Intrinisic Controls ,[object Object],[object Object]
Server Controls  List Controls ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Controls  List Controls ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Controls  CheckBoxList  &  RadioButtonList ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Controls  Intrinisic & Simple List Controls ,[object Object],[object Object],[object Object],[object Object]
Server Controls  Rich Controls ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Controls  Validation Controls ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Controls  Validation Controls ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Controls  Validation Controls ,[object Object],[object Object],[object Object],[object Object]
Server Controls  Validation Controls ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Controls  Validation Controls ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Controls  Validation Controls ,[object Object],[object Object],[object Object],[object Object],[object Object]
Server Controls  Validation Controls ,[object Object],[object Object],[object Object],[object Object]
Server Controls  Validation Controls ,[object Object],[object Object]
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding How to Populate Server Controls? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding What Is It? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding What Is It? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding Scalar Expressions ,[object Object],[object Object],<asp:Label id=label1  Text=<%# “The result is “ + (1 + 2) +  “ , the time is “ + DateTime.Now.ToLongTimeString() %>  runat=&quot;server&quot; /> public void Page_Load(object s, EventArgs e) { if (! Page.IsPostBack) Page.DataBind(); }
Data Binding Scalar Expressions ,[object Object],[object Object]
Data Binding Simple Lists ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding Simple Lists ,[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding Simple Lists ,[object Object],[object Object]
Data Binding Database ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding Data Source 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]
Data Binding List Binding Examples ,[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]
Data Binding Binding to a Database ,[object Object],[object Object]
Data Binding  DataGrid ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding Binding to All Columns ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding Binding to Specific Columns ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding Binding to Specific Columns ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding  DataGrid  Paging ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding DataGrid ,[object Object],[object Object],[object Object],[object Object]
Data Binding Templates ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding Templates ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding Templates SeparatorTemplate FooterTemplate HeaderTemplate AlternatingItem- Template ItemTemplate Templates  used in  Repeater  controls
Data Binding Data Binding in Templates ,[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding Repeater  Control ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding Repeater  Control ,[object Object],[object Object],[object Object],[object Object]
Data Binding DataList  Control ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding DataList  Control ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Binding Templates ,[object Object],[object Object]
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Conclusion ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Conclusion ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Resources ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Resources ,[object Object],[object Object],[object Object],[object Object]

Más contenido relacionado

La actualidad más candente

Developing an aspnet web application
Developing an aspnet web applicationDeveloping an aspnet web application
Developing an aspnet web applicationRahul Bansal
 
Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.netSHADAB ALI
 
Asp.net and .Net Framework ppt presentation
Asp.net and .Net Framework ppt presentationAsp.net and .Net Framework ppt presentation
Asp.net and .Net Framework ppt presentationabhishek singh
 
Microsoft .NET Development Platform Internationalization
Microsoft .NET Development Platform InternationalizationMicrosoft .NET Development Platform Internationalization
Microsoft .NET Development Platform InternationalizationRishi Kothari
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NETPeter Gfader
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentationdimuthu22
 
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...Quek Lilian
 
Industrial training seminar ppt on asp.net
Industrial training seminar ppt on asp.netIndustrial training seminar ppt on asp.net
Industrial training seminar ppt on asp.netPankaj Kushwaha
 
ASP.NET Tutorial - Presentation 1
ASP.NET Tutorial - Presentation 1ASP.NET Tutorial - Presentation 1
ASP.NET Tutorial - Presentation 1Kumar S
 
1. deploying an asp.net web application
1. deploying an asp.net web application1. deploying an asp.net web application
1. deploying an asp.net web applicationPramod Rathore
 
REPORT ON ASP.NET
REPORT ON ASP.NETREPORT ON ASP.NET
REPORT ON ASP.NETLOKESH
 
Be project ppt asp.net
Be project ppt asp.netBe project ppt asp.net
Be project ppt asp.netSanket Jagare
 

La actualidad más candente (20)

Developing an aspnet web application
Developing an aspnet web applicationDeveloping an aspnet web application
Developing an aspnet web application
 
Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.net
 
Asp.net
Asp.netAsp.net
Asp.net
 
Asp.net and .Net Framework ppt presentation
Asp.net and .Net Framework ppt presentationAsp.net and .Net Framework ppt presentation
Asp.net and .Net Framework ppt presentation
 
Microsoft .NET Development Platform Internationalization
Microsoft .NET Development Platform InternationalizationMicrosoft .NET Development Platform Internationalization
Microsoft .NET Development Platform Internationalization
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NET
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentation
 
ASP.NET OVERVIEW
ASP.NET OVERVIEWASP.NET OVERVIEW
ASP.NET OVERVIEW
 
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
 
Industrial training seminar ppt on asp.net
Industrial training seminar ppt on asp.netIndustrial training seminar ppt on asp.net
Industrial training seminar ppt on asp.net
 
ASP.NET Tutorial - Presentation 1
ASP.NET Tutorial - Presentation 1ASP.NET Tutorial - Presentation 1
ASP.NET Tutorial - Presentation 1
 
Asp.net basic
Asp.net basicAsp.net basic
Asp.net basic
 
1. deploying an asp.net web application
1. deploying an asp.net web application1. deploying an asp.net web application
1. deploying an asp.net web application
 
Asp .net folders and web.config
Asp .net folders and web.configAsp .net folders and web.config
Asp .net folders and web.config
 
Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.net
 
Learn ASP
Learn ASPLearn ASP
Learn ASP
 
ASP.NET Web form
ASP.NET Web formASP.NET Web form
ASP.NET Web form
 
REPORT ON ASP.NET
REPORT ON ASP.NETREPORT ON ASP.NET
REPORT ON ASP.NET
 
Asp.net
 Asp.net Asp.net
Asp.net
 
Be project ppt asp.net
Be project ppt asp.netBe project ppt asp.net
Be project ppt asp.net
 

Destacado

Destacado (20)

Introduction To Asp.Net Ajax
Introduction To Asp.Net AjaxIntroduction To Asp.Net Ajax
Introduction To Asp.Net Ajax
 
Standard control in asp.net
Standard control in asp.netStandard control in asp.net
Standard control in asp.net
 
How to make more impact as an engineer
How to make more impact as an engineerHow to make more impact as an engineer
How to make more impact as an engineer
 
Edi ppt
Edi pptEdi ppt
Edi ppt
 
Asp.net.
Asp.net.Asp.net.
Asp.net.
 
State management
State managementState management
State management
 
Electronic data interchange
Electronic data interchangeElectronic data interchange
Electronic data interchange
 
Validation controls in asp
Validation controls in aspValidation controls in asp
Validation controls in asp
 
Validation controls ppt
Validation controls pptValidation controls ppt
Validation controls ppt
 
Seminar ppt on digital signature
Seminar ppt on digital signatureSeminar ppt on digital signature
Seminar ppt on digital signature
 
ASP.NET State management
ASP.NET State managementASP.NET State management
ASP.NET State management
 
Ajax control asp.net
Ajax control asp.netAjax control asp.net
Ajax control asp.net
 
Presentation on asp.net controls
Presentation on asp.net controlsPresentation on asp.net controls
Presentation on asp.net controls
 
State management in ASP.NET
State management in ASP.NETState management in ASP.NET
State management in ASP.NET
 
Ch3 server controls
Ch3 server controlsCh3 server controls
Ch3 server controls
 
Controls in asp.net
Controls in asp.netControls in asp.net
Controls in asp.net
 
Electronic data interchange
Electronic data interchangeElectronic data interchange
Electronic data interchange
 
State Management in ASP.NET
State Management in ASP.NETState Management in ASP.NET
State Management in ASP.NET
 
Ajax and ASP.NET AJAX
Ajax and ASP.NET AJAXAjax and ASP.NET AJAX
Ajax and ASP.NET AJAX
 
Presentation - Electronic Data Interchange
Presentation - Electronic Data InterchangePresentation - Electronic Data Interchange
Presentation - Electronic Data Interchange
 

Similar a Intro To Asp Net And Web Forms

Introductionto asp net-ppt
Introductionto asp net-pptIntroductionto asp net-ppt
Introductionto asp net-ppttmasyam
 
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 NetAdil Mughal
 
Internet Environment
Internet  EnvironmentInternet  Environment
Internet Environmentguest8fdbdd
 
Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.netshan km
 
Web engineering 2(lect 2)
Web engineering 2(lect 2)Web engineering 2(lect 2)
Web engineering 2(lect 2)Roohul Amin
 
How to develop asp web applications
How to develop asp web applicationsHow to develop asp web applications
How to develop asp web applicationsDeepankar Pathak
 
CIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NETCIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NETwebhostingguy
 
Asp dot net final (1)
Asp dot net   final (1)Asp dot net   final (1)
Asp dot net final (1)amelinaahmeti
 
Asp dot net final (1)
Asp dot net   final (1)Asp dot net   final (1)
Asp dot net final (1)amelinaahmeti
 
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 developmentRandy Connolly
 
Asp Net (FT Preasen Revankar)
Asp Net   (FT  Preasen Revankar)Asp Net   (FT  Preasen Revankar)
Asp Net (FT Preasen Revankar)Fafadia Tech
 
ASP.Net Presentation Part1
ASP.Net Presentation Part1ASP.Net Presentation Part1
ASP.Net Presentation Part1Neeraj Mathur
 
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
 

Similar a Intro To Asp Net And Web Forms (20)

Introductionto asp net-ppt
Introductionto asp net-pptIntroductionto asp net-ppt
Introductionto asp net-ppt
 
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
 
Internet Environment
Internet  EnvironmentInternet  Environment
Internet Environment
 
Asp dot net long
Asp dot net longAsp dot net long
Asp dot net long
 
Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.net
 
Web engineering 2(lect 2)
Web engineering 2(lect 2)Web engineering 2(lect 2)
Web engineering 2(lect 2)
 
Asp.netrole
Asp.netroleAsp.netrole
Asp.netrole
 
Asp dot net final (2)
Asp dot net   final (2)Asp dot net   final (2)
Asp dot net final (2)
 
How to develop asp web applications
How to develop asp web applicationsHow to develop asp web applications
How to develop asp web applications
 
Introduction to asp
Introduction to aspIntroduction to asp
Introduction to asp
 
Migration from ASP to ASP.NET
Migration from ASP to ASP.NETMigration from ASP to ASP.NET
Migration from ASP to ASP.NET
 
CIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NETCIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NET
 
Asp dot net final (1)
Asp dot net   final (1)Asp dot net   final (1)
Asp dot net final (1)
 
Asp dot net final (1)
Asp dot net   final (1)Asp dot net   final (1)
Asp dot net final (1)
 
Asp dot net final (1)
Asp dot net   final (1)Asp dot net   final (1)
Asp dot net final (1)
 
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
 
Asp Net (FT Preasen Revankar)
Asp Net   (FT  Preasen Revankar)Asp Net   (FT  Preasen Revankar)
Asp Net (FT Preasen Revankar)
 
ASP.Net Presentation Part1
ASP.Net Presentation Part1ASP.Net Presentation Part1
ASP.Net Presentation Part1
 
PPT
PPTPPT
PPT
 
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
 

Último

The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...Aggregage
 
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
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfinfogdgmi
 
Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?SANGHEE SHIN
 
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
 
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
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataSafe Software
 
GenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation IncGenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation IncObject Automation
 
Things you didn't know you can use in your Salesforce
Things you didn't know you can use in your SalesforceThings you didn't know you can use in your Salesforce
Things you didn't know you can use in your SalesforceMartin Humpolec
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...DianaGray10
 
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1DianaGray10
 
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
 
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
 
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
 
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
 
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
 
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdfJamie (Taka) Wang
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Will Schroeder
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfDianaGray10
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfDaniel Santiago Silva Capera
 

Último (20)

The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
 
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
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdf
 
Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?
 
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...
 
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
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
 
GenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation IncGenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation Inc
 
Things you didn't know you can use in your Salesforce
Things you didn't know you can use in your SalesforceThings you didn't know you can use in your Salesforce
Things you didn't know you can use in your Salesforce
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
 
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1
 
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
 
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
 
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
 
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
 
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
 
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
 

Intro To Asp Net And Web Forms

  • 1. Introduction to ASP.NET and Web Forms
  • 2.
  • 3.
  • 4.
  • 5. Background Web Architecture Web Server PC/Mac/Unix/... + Browser Client Server Request: http://www.digimon.com/default.asp Response: <html>….</html> Network HTTP, TCP/IP
  • 6.
  • 7.
  • 8. Background <html> <head><title>HelloWorld.asp</title></head> <body> <form method=“post&quot;> <input type=&quot;submit&quot; id=button1 name=button1 value=&quot;Push Me&quot; /> <% if (Request.Form(&quot;button1&quot;) <> &quot;&quot;) then Response.Write &quot;<p>Hello, the time is &quot; & Now() end if %> </form> </body> </html>
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15. ASP.NET Overview HelloWorld.aspx <%@ Page language=&quot;c#&quot; %> <html> <head></head> <script runat=&quot;server&quot;> public void B_Click (object sender, System.EventArgs e) { Label1.Text = &quot;Hello, the time is &quot; + DateTime.Now; } </script> <body> <form method=&quot;post&quot; runat=&quot;server&quot;> <asp:Button onclick=&quot;B_Click&quot; Text=&quot;Push Me“ runat=&quot;server“ /> <p> <asp:Label id=Label1 runat=&quot;server &quot; /> </form> </body> </html>
  • 16.
  • 17.
  • 18. ASP.NET Overview 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
  • 19.
  • 20.
  • 21. Programming Model Controls and Events Browser ASP.NET Button code ... List code ... Text code ... Event handlers Button List Text
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27. Programming Model Automatic Browser Compatibility Button code ... Menu code ... Text code ... Event handlers ASP.NET Button Control Menu Control Text Control ... Button Menu Text IE 4 Button Menu Text Netscape Button Menu Text IE 5.5 Button Menu Text IE 6
  • 28.
  • 29.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39. Programming Basics Page Event Lifecycle Page_Load Page_Unload Textbox1_Changed Button1_Click Initialize Restore Control State Save Control State Render 1. Change Events 2. Action Events Page_Init Control Events Load Page Unload Page
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
  • 74.
  • 75.
  • 76.
  • 77.
  • 78.
  • 79.
  • 80.
  • 81.
  • 82.
  • 83.
  • 84.
  • 85.
  • 86.
  • 87.
  • 88.
  • 89.
  • 90.
  • 91.
  • 92.
  • 93.
  • 94. Data Binding Templates SeparatorTemplate FooterTemplate HeaderTemplate AlternatingItem- Template ItemTemplate Templates used in Repeater controls
  • 95.
  • 96.
  • 97.
  • 98.
  • 99.
  • 100.
  • 101.
  • 102.
  • 103.
  • 104.
  • 105.

Notas del editor

  1. In this module we will focus on what ASP.NET is, why it was created, and how to do the essential programming tasks. Next time we’ll go into a variety of other aspects of ASP.NET
  2. Have to write code to do anything. There is almost no purely declarative way to do anything.
  3. These two samples do the same thing: bind ListBox1 to the data returned from GetSampleData(), binding the value and text to CategoryID and CategoryName columns, respectively. The first mostly uses code while the second sample mostly uses attributes on the ListBox tag. Both require that the DataBind method be called.