SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Developing Web Applications Using ASP.NET
Objectives


                In this session, you will learn to:
                   Create connected Web Parts




     Ver. 1.0                                         Slide 1 of 17
Developing Web Applications Using ASP.NET
Demo: Building Web Part Pages and Web Parts


                Problem Statement:
                   You are a developer in the Adventure Works organization, a
                   fictitious bicycle manufacturer. You have been asked to assist
                   in creating a new Business-to-Consumer (B2C) Web
                   application and a related Business-to-Employee (B2E) extranet
                   portal.
                   Decisions on the design of the application have already been
                   made. You have been asked to carry out a number of specific
                   tasks in order to implement various elements of this design. As
                   part of the B2C development, you have been asked to
                   prototype a Web Part Page for employees’ extranet portal.




     Ver. 1.0                                                             Slide 2 of 17
Developing Web Applications Using ASP.NET
Demo: Building Web Part Pages and Web Parts (Contd.)


                Solution:
                 • To solve this problem, you need to perform following tasks:
                    1. Create Connected Web Parts
                        a. Add a new class library project to contain the custom Web Part
                           controls.
                        b. Add a provider Web Part.
                        c. Develop the provider Web Part functionality.
                        d. Define the connection provider method for the Member class.
                        e. Add a consumer Web Part.
                        f. Develop the consumer Web Part functionality.
                        g. Define the connection consumer method for MemberDetails class.
                        h. Build the control library.
                        i. Add the controls from the Web Parts library to the Toolbox.
                        j. Add a ZoneTemplated section to the MainZone area.
                        k. Add connection information to the WebPartManager control.
                        l. Run and test the connected Web Parts.




     Ver. 1.0                                                                       Slide 3 of 17
Developing Web Applications Using ASP.NET
Test Your Understanding


                List the types of Web sites that can be created using Visual
                Studio 2005.




                Answer:
                   Local IIS Web site
                   File System Web site
                   FTP site
                   Remote Web site




     Ver. 1.0                                                        Slide 4 of 17
Developing Web Applications Using ASP.NET
Test Your Understanding


                What are the levels at which errors can be handled in a
                Microsoft ASP.NET Web Application?




                Answer:
                   Errors in an ASP.NET Web application can be handled at three
                   levels:
                    • At the method level by using Try.. Catch blocks
                    • At the page level by using Page.Error event
                    • At the application level by using the web.config file and a
                      generalized error handling page OR by using the
                      Application_Error event in global.asax file.

     Ver. 1.0                                                                       Slide 5 of 17
Developing Web Applications Using ASP.NET
Test Your Understanding


                List the methods that can be used to add Web server
                controls to Web forms.




                Answer:
                   Web server controls can be added to a Web form by:
                      Dragging and dropping them from the Toolbox on to the Design
                      view of the Web page.
                      Dragging and dropping them from the Toolbox into the Source
                      view of the Web page.
                      Typing the markup text for the control directly into the Source view
                      of the Web page.


     Ver. 1.0                                                                    Slide 6 of 17
Developing Web Applications Using ASP.NET
Test Your Understanding


                Which attribute needs to be included in the <%@Page%>
                directive in a content page that references a master page?




                Answer:
                   MasterPageFile




     Ver. 1.0                                                       Slide 7 of 17
Developing Web Applications Using ASP.NET
Test Your Understanding


                •   List three important events exposed by the Application
                    object.




                    Answer:
                       Appliaction.Start
                       Appliation.End
                       Application.Error




     Ver. 1.0                                                        Slide 8 of 17
Developing Web Applications Using ASP.NET
Test Your Understanding


                What is the basic procedure for displaying data from a
                relational database on a Web pages?




                Answer:
                   To display data from a relational database on a Web page,
                   you need to:
                    •   Add a data source control to the Web page, and then configure it
                        to connect to the required database.
                    •   Specify the SELECT statement in the SelectCommand property
                        of the data source control to retrieve the data.
                    •   Bind data controls or data-aware controls to the data source
                        control.
     Ver. 1.0                                                                    Slide 9 of 17
Developing Web Applications Using ASP.NET
Test Your Understanding


                What is the use of the two special values, “*” and “?” in
                authorization module to control access of a directory in the
                Web site hierarchy?




                Answer:
                   “*” specifies that the entry applies to everyone who visits a
                   page in the directory.
                   “?” specifies that the entry applies to anonymous users who
                   visit the pages in the directory.




     Ver. 1.0                                                              Slide 10 of 17
Developing Web Applications Using ASP.NET
Test Your Understanding


                Which utility enables a user to deploy a compiled Web site
                without needing to copy the source files?




                Answer:
                   The Publish Web Site Utility




     Ver. 1.0                                                       Slide 11 of 17
Developing Web Applications Using ASP.NET
Test Your Understanding


                Which property of the HttpBrowserCapabilities object
                contains information about the browser that initiated the
                request?




                Answer:
                   Request.Browser




     Ver. 1.0                                                     Slide 12 of 17
Developing Web Applications Using ASP.NET
Test Your Understanding


                Resource files for Implicit localization are stored in the
                ____________ directory and those for explicit localization
                are stored in the ____________ directory.




                Answer:
                   App_LocalResources
                   App_GlobalResources




     Ver. 1.0                                                        Slide 13 of 17
Developing Web Applications Using ASP.NET
Test Your Understanding


                User controls are saved with an extension of __________
                and use the __________ directive instead of the <%@Page
                %> directive.




                Answer:
                   .ascx
                   <%@Control%>




     Ver. 1.0                                                   Slide 14 of 17
Developing Web Applications Using ASP.NET
Test Your Understanding


                How can you cache multiple versions of a page?




                Answer:
                • Multiple versions of a page can be cached by using the
                  varybyparam attribute in the <%@OutputCache%> directive.




     Ver. 1.0                                                      Slide 15 of 17
Developing Web Applications Using ASP.NET
Test Your Understanding


                Which event handler can be used to set the ASP.NET
                theme at run time?




                Answer:
                   Page_PreInit




     Ver. 1.0                                                    Slide 16 of 17
Developing Web Applications Using ASP.NET
Test Your Understanding


                List the five standard display modes in the Web parts
                control set.




                Answer:
                   Browse mode
                   Design mode
                   Edit mode
                   Catalog display mode
                   Connection display mode



     Ver. 1.0                                                       Slide 17 of 17

Weitere ähnliche Inhalte

Was ist angesagt?

Chapter6 web apps-tomcat
Chapter6 web apps-tomcatChapter6 web apps-tomcat
Chapter6 web apps-tomcatVenkat Gowda
 
15 asp.net session22
15 asp.net session2215 asp.net session22
15 asp.net session22Niit Care
 
05 asp.net session07
05 asp.net session0705 asp.net session07
05 asp.net session07Niit Care
 
Installing the oracle bi mobile app designer
Installing the oracle bi mobile app designerInstalling the oracle bi mobile app designer
Installing the oracle bi mobile app designerRavi Kumar Lanke
 
An overview of the architecture of electron.js
An overview of the architecture of electron.jsAn overview of the architecture of electron.js
An overview of the architecture of electron.jsMoon Technolabs Pvt. Ltd.
 
09 asp.net session13
09 asp.net session1309 asp.net session13
09 asp.net session13Vivek chan
 
SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...
SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...
SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...Ivan Sanders
 
03 asp.net session04
03 asp.net session0403 asp.net session04
03 asp.net session04Mani Chaubey
 
Web application development process
Web application development processWeb application development process
Web application development processJohn Smith
 
12 asp.net session17
12 asp.net session1712 asp.net session17
12 asp.net session17Niit Care
 
How to increase the ui performance of apps designed using react
How to increase the ui performance of apps designed using react How to increase the ui performance of apps designed using react
How to increase the ui performance of apps designed using react MoonTechnolabsPvtLtd
 
Rutgers - FrontPage 98 (Advanced)
Rutgers - FrontPage 98 (Advanced)Rutgers - FrontPage 98 (Advanced)
Rutgers - FrontPage 98 (Advanced)Michael Dobe, Ph.D.
 
Automate Web Apps With Selenium
Automate Web Apps With SeleniumAutomate Web Apps With Selenium
Automate Web Apps With SeleniumEdureka!
 
Why do developers prefer ionic to build progressive web apps
Why do developers prefer ionic to build progressive web apps  Why do developers prefer ionic to build progressive web apps
Why do developers prefer ionic to build progressive web apps Moon Technolabs Pvt. Ltd.
 
03 asp.net session04
03 asp.net session0403 asp.net session04
03 asp.net session04Vivek chan
 
Brudnick Net Ppt Portfolio
Brudnick Net Ppt PortfolioBrudnick Net Ppt Portfolio
Brudnick Net Ppt Portfoliobrudnick1212
 
What makes xamarin the best choice for multiplatform app development
What makes xamarin the best choice for multiplatform app development What makes xamarin the best choice for multiplatform app development
What makes xamarin the best choice for multiplatform app development MoonTechnolabsPvtLtd
 

Was ist angesagt? (20)

Chapter6 web apps-tomcat
Chapter6 web apps-tomcatChapter6 web apps-tomcat
Chapter6 web apps-tomcat
 
15 asp.net session22
15 asp.net session2215 asp.net session22
15 asp.net session22
 
05 asp.net session07
05 asp.net session0705 asp.net session07
05 asp.net session07
 
Installing the oracle bi mobile app designer
Installing the oracle bi mobile app designerInstalling the oracle bi mobile app designer
Installing the oracle bi mobile app designer
 
Intro to asp.net mvc 4 with visual studio
Intro to asp.net mvc 4 with visual studioIntro to asp.net mvc 4 with visual studio
Intro to asp.net mvc 4 with visual studio
 
An overview of the architecture of electron.js
An overview of the architecture of electron.jsAn overview of the architecture of electron.js
An overview of the architecture of electron.js
 
09 asp.net session13
09 asp.net session1309 asp.net session13
09 asp.net session13
 
SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...
SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...
SharePoint Connections Coast to Coast Migrating SharePoint 2007 Solutions to ...
 
Tutorial 1
Tutorial 1Tutorial 1
Tutorial 1
 
03 asp.net session04
03 asp.net session0403 asp.net session04
03 asp.net session04
 
Selenium
SeleniumSelenium
Selenium
 
Web application development process
Web application development processWeb application development process
Web application development process
 
12 asp.net session17
12 asp.net session1712 asp.net session17
12 asp.net session17
 
How to increase the ui performance of apps designed using react
How to increase the ui performance of apps designed using react How to increase the ui performance of apps designed using react
How to increase the ui performance of apps designed using react
 
Rutgers - FrontPage 98 (Advanced)
Rutgers - FrontPage 98 (Advanced)Rutgers - FrontPage 98 (Advanced)
Rutgers - FrontPage 98 (Advanced)
 
Automate Web Apps With Selenium
Automate Web Apps With SeleniumAutomate Web Apps With Selenium
Automate Web Apps With Selenium
 
Why do developers prefer ionic to build progressive web apps
Why do developers prefer ionic to build progressive web apps  Why do developers prefer ionic to build progressive web apps
Why do developers prefer ionic to build progressive web apps
 
03 asp.net session04
03 asp.net session0403 asp.net session04
03 asp.net session04
 
Brudnick Net Ppt Portfolio
Brudnick Net Ppt PortfolioBrudnick Net Ppt Portfolio
Brudnick Net Ppt Portfolio
 
What makes xamarin the best choice for multiplatform app development
What makes xamarin the best choice for multiplatform app development What makes xamarin the best choice for multiplatform app development
What makes xamarin the best choice for multiplatform app development
 

Andere mochten auch

Travel inside CH - RP - June 2014
Travel inside CH - RP - June 2014Travel inside CH - RP - June 2014
Travel inside CH - RP - June 2014Beachcomber Hotels
 
Presentación próxima edición _ Junio, julio, Agosto
Presentación próxima edición _ Junio, julio, AgostoPresentación próxima edición _ Junio, julio, Agosto
Presentación próxima edición _ Junio, julio, AgostoLa Guía Más Útil
 
Portafolio electrónico
Portafolio electrónicoPortafolio electrónico
Portafolio electrónicoKathiaNair
 
Mantenimiento de computadores
Mantenimiento de computadoresMantenimiento de computadores
Mantenimiento de computadoresleydi-m
 
Presentation - SelectedWorks
Presentation - SelectedWorksPresentation - SelectedWorks
Presentation - SelectedWorksSteve Ling
 
Ibm connections monitoring with nagios
Ibm connections monitoring with nagiosIbm connections monitoring with nagios
Ibm connections monitoring with nagiosLetsConnect
 
The Best Things in Life Are Free – Wie Sie Ihre IBM ConnecEons Umgebung koste...
The Best Things in Life Are Free – Wie Sie Ihre IBM ConnecEons Umgebung koste...The Best Things in Life Are Free – Wie Sie Ihre IBM ConnecEons Umgebung koste...
The Best Things in Life Are Free – Wie Sie Ihre IBM ConnecEons Umgebung koste...Klaus Bild
 
Der entspannte Administrator - How to make your life easier by using TDI to a...
Der entspannte Administrator - How to make your life easier by using TDI to a...Der entspannte Administrator - How to make your life easier by using TDI to a...
Der entspannte Administrator - How to make your life easier by using TDI to a...Klaus Bild
 
03 penyusunan program semester
03 penyusunan program semester03 penyusunan program semester
03 penyusunan program semesterheri baskoro
 
Bloc 1714
Bloc 1714Bloc 1714
Bloc 1714turetes
 
7 สามัญ คณิต
7 สามัญ คณิต7 สามัญ คณิต
7 สามัญ คณิต0901326521
 
7 สามัญ อังกฤษ
7 สามัญ อังกฤษ7 สามัญ อังกฤษ
7 สามัญ อังกฤษ0901326521
 
So fördert der Kanton Luzern das bessere Bauen und Erneuern
So fördert der Kanton Luzern das bessere Bauen und ErneuernSo fördert der Kanton Luzern das bessere Bauen und Erneuern
So fördert der Kanton Luzern das bessere Bauen und ErneuernVorname Nachname
 

Andere mochten auch (20)

Travel inside CH - RP - June 2014
Travel inside CH - RP - June 2014Travel inside CH - RP - June 2014
Travel inside CH - RP - June 2014
 
Ativ1 4 mariajose
Ativ1 4 mariajoseAtiv1 4 mariajose
Ativ1 4 mariajose
 
La familia
La familiaLa familia
La familia
 
Se vale todo
Se vale todoSe vale todo
Se vale todo
 
Presentación próxima edición _ Junio, julio, Agosto
Presentación próxima edición _ Junio, julio, AgostoPresentación próxima edición _ Junio, julio, Agosto
Presentación próxima edición _ Junio, julio, Agosto
 
CurriculumVitae
CurriculumVitaeCurriculumVitae
CurriculumVitae
 
Ativ1 5 mariajose
Ativ1 5 mariajoseAtiv1 5 mariajose
Ativ1 5 mariajose
 
Portafolio electrónico
Portafolio electrónicoPortafolio electrónico
Portafolio electrónico
 
01
0101
01
 
Mantenimiento de computadores
Mantenimiento de computadoresMantenimiento de computadores
Mantenimiento de computadores
 
Presentation - SelectedWorks
Presentation - SelectedWorksPresentation - SelectedWorks
Presentation - SelectedWorks
 
Ventas fidelización
Ventas fidelizaciónVentas fidelización
Ventas fidelización
 
Ibm connections monitoring with nagios
Ibm connections monitoring with nagiosIbm connections monitoring with nagios
Ibm connections monitoring with nagios
 
The Best Things in Life Are Free – Wie Sie Ihre IBM ConnecEons Umgebung koste...
The Best Things in Life Are Free – Wie Sie Ihre IBM ConnecEons Umgebung koste...The Best Things in Life Are Free – Wie Sie Ihre IBM ConnecEons Umgebung koste...
The Best Things in Life Are Free – Wie Sie Ihre IBM ConnecEons Umgebung koste...
 
Der entspannte Administrator - How to make your life easier by using TDI to a...
Der entspannte Administrator - How to make your life easier by using TDI to a...Der entspannte Administrator - How to make your life easier by using TDI to a...
Der entspannte Administrator - How to make your life easier by using TDI to a...
 
03 penyusunan program semester
03 penyusunan program semester03 penyusunan program semester
03 penyusunan program semester
 
Bloc 1714
Bloc 1714Bloc 1714
Bloc 1714
 
7 สามัญ คณิต
7 สามัญ คณิต7 สามัญ คณิต
7 สามัญ คณิต
 
7 สามัญ อังกฤษ
7 สามัญ อังกฤษ7 สามัญ อังกฤษ
7 สามัญ อังกฤษ
 
So fördert der Kanton Luzern das bessere Bauen und Erneuern
So fördert der Kanton Luzern das bessere Bauen und ErneuernSo fördert der Kanton Luzern das bessere Bauen und Erneuern
So fördert der Kanton Luzern das bessere Bauen und Erneuern
 

Ähnlich wie 16 asp.net session23

16 asp.net session23
16 asp.net session2316 asp.net session23
16 asp.net session23Vivek chan
 
02 asp.net session02
02 asp.net session0202 asp.net session02
02 asp.net session02Niit Care
 
02 asp.net session02
02 asp.net session0202 asp.net session02
02 asp.net session02Vivek chan
 
02 asp.net session02
02 asp.net session0202 asp.net session02
02 asp.net session02Mani Chaubey
 
01 asp.net session01
01 asp.net session0101 asp.net session01
01 asp.net session01Mani Chaubey
 
07 asp.net session10
07 asp.net session1007 asp.net session10
07 asp.net session10Niit Care
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET PresentationRasel Khan
 
04 asp.net session05
04 asp.net session0504 asp.net session05
04 asp.net session05Mani Chaubey
 
14 asp.net session20
14 asp.net session2014 asp.net session20
14 asp.net session20Niit Care
 
Lab 3) create a web application
Lab 3) create a web applicationLab 3) create a web application
Lab 3) create a web applicationtechbed
 
12 asp.net session17
12 asp.net session1712 asp.net session17
12 asp.net session17Vivek chan
 
Microsoft MCPD 70-492 it examen dumps
Microsoft MCPD 70-492 it examen dumpsMicrosoft MCPD 70-492 it examen dumps
Microsoft MCPD 70-492 it examen dumpslilylucy
 
01 asp.net session01
01 asp.net session0101 asp.net session01
01 asp.net session01Vivek chan
 
13 asp.net session19
13 asp.net session1913 asp.net session19
13 asp.net session19Niit Care
 

Ähnlich wie 16 asp.net session23 (20)

16 asp.net session23
16 asp.net session2316 asp.net session23
16 asp.net session23
 
02 asp.net session02
02 asp.net session0202 asp.net session02
02 asp.net session02
 
02 asp.net session02
02 asp.net session0202 asp.net session02
02 asp.net session02
 
02 asp.net session02
02 asp.net session0202 asp.net session02
02 asp.net session02
 
01 asp.net session01
01 asp.net session0101 asp.net session01
01 asp.net session01
 
07 asp.net session10
07 asp.net session1007 asp.net session10
07 asp.net session10
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentation
 
04 asp.net session05
04 asp.net session0504 asp.net session05
04 asp.net session05
 
Asp.net Web Development.pdf
Asp.net Web Development.pdfAsp.net Web Development.pdf
Asp.net Web Development.pdf
 
14 asp.net session20
14 asp.net session2014 asp.net session20
14 asp.net session20
 
Lab 3) create a web application
Lab 3) create a web applicationLab 3) create a web application
Lab 3) create a web application
 
12 asp.net session17
12 asp.net session1712 asp.net session17
12 asp.net session17
 
Microsoft MCPD 70-492 it examen dumps
Microsoft MCPD 70-492 it examen dumpsMicrosoft MCPD 70-492 it examen dumps
Microsoft MCPD 70-492 it examen dumps
 
NET_Training.pptx
NET_Training.pptxNET_Training.pptx
NET_Training.pptx
 
01 asp.net session01
01 asp.net session0101 asp.net session01
01 asp.net session01
 
ASP.NET OVERVIEW
ASP.NET OVERVIEWASP.NET OVERVIEW
ASP.NET OVERVIEW
 
13 asp.net session19
13 asp.net session1913 asp.net session19
13 asp.net session19
 
Asp
AspAsp
Asp
 
Building richwebapplicationsusingasp
Building richwebapplicationsusingaspBuilding richwebapplicationsusingasp
Building richwebapplicationsusingasp
 
32916
3291632916
32916
 

Mehr von Niit Care (20)

Ajs 1 b
Ajs 1 bAjs 1 b
Ajs 1 b
 
Ajs 4 b
Ajs 4 bAjs 4 b
Ajs 4 b
 
Ajs 4 a
Ajs 4 aAjs 4 a
Ajs 4 a
 
Ajs 4 c
Ajs 4 cAjs 4 c
Ajs 4 c
 
Ajs 3 b
Ajs 3 bAjs 3 b
Ajs 3 b
 
Ajs 3 a
Ajs 3 aAjs 3 a
Ajs 3 a
 
Ajs 3 c
Ajs 3 cAjs 3 c
Ajs 3 c
 
Ajs 2 b
Ajs 2 bAjs 2 b
Ajs 2 b
 
Ajs 2 a
Ajs 2 aAjs 2 a
Ajs 2 a
 
Ajs 2 c
Ajs 2 cAjs 2 c
Ajs 2 c
 
Ajs 1 a
Ajs 1 aAjs 1 a
Ajs 1 a
 
Ajs 1 c
Ajs 1 cAjs 1 c
Ajs 1 c
 
Dacj 4 2-c
Dacj 4 2-cDacj 4 2-c
Dacj 4 2-c
 
Dacj 4 2-b
Dacj 4 2-bDacj 4 2-b
Dacj 4 2-b
 
Dacj 4 2-a
Dacj 4 2-aDacj 4 2-a
Dacj 4 2-a
 
Dacj 4 1-c
Dacj 4 1-cDacj 4 1-c
Dacj 4 1-c
 
Dacj 4 1-b
Dacj 4 1-bDacj 4 1-b
Dacj 4 1-b
 
Dacj 4 1-a
Dacj 4 1-aDacj 4 1-a
Dacj 4 1-a
 
Dacj 1-2 b
Dacj 1-2 bDacj 1-2 b
Dacj 1-2 b
 
Dacj 1-3 c
Dacj 1-3 cDacj 1-3 c
Dacj 1-3 c
 

Kürzlich hochgeladen

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
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
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 

Kürzlich hochgeladen (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
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...
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

16 asp.net session23

  • 1. Developing Web Applications Using ASP.NET Objectives In this session, you will learn to: Create connected Web Parts Ver. 1.0 Slide 1 of 17
  • 2. Developing Web Applications Using ASP.NET Demo: Building Web Part Pages and Web Parts Problem Statement: You are a developer in the Adventure Works organization, a fictitious bicycle manufacturer. You have been asked to assist in creating a new Business-to-Consumer (B2C) Web application and a related Business-to-Employee (B2E) extranet portal. Decisions on the design of the application have already been made. You have been asked to carry out a number of specific tasks in order to implement various elements of this design. As part of the B2C development, you have been asked to prototype a Web Part Page for employees’ extranet portal. Ver. 1.0 Slide 2 of 17
  • 3. Developing Web Applications Using ASP.NET Demo: Building Web Part Pages and Web Parts (Contd.) Solution: • To solve this problem, you need to perform following tasks: 1. Create Connected Web Parts a. Add a new class library project to contain the custom Web Part controls. b. Add a provider Web Part. c. Develop the provider Web Part functionality. d. Define the connection provider method for the Member class. e. Add a consumer Web Part. f. Develop the consumer Web Part functionality. g. Define the connection consumer method for MemberDetails class. h. Build the control library. i. Add the controls from the Web Parts library to the Toolbox. j. Add a ZoneTemplated section to the MainZone area. k. Add connection information to the WebPartManager control. l. Run and test the connected Web Parts. Ver. 1.0 Slide 3 of 17
  • 4. Developing Web Applications Using ASP.NET Test Your Understanding List the types of Web sites that can be created using Visual Studio 2005. Answer: Local IIS Web site File System Web site FTP site Remote Web site Ver. 1.0 Slide 4 of 17
  • 5. Developing Web Applications Using ASP.NET Test Your Understanding What are the levels at which errors can be handled in a Microsoft ASP.NET Web Application? Answer: Errors in an ASP.NET Web application can be handled at three levels: • At the method level by using Try.. Catch blocks • At the page level by using Page.Error event • At the application level by using the web.config file and a generalized error handling page OR by using the Application_Error event in global.asax file. Ver. 1.0 Slide 5 of 17
  • 6. Developing Web Applications Using ASP.NET Test Your Understanding List the methods that can be used to add Web server controls to Web forms. Answer: Web server controls can be added to a Web form by: Dragging and dropping them from the Toolbox on to the Design view of the Web page. Dragging and dropping them from the Toolbox into the Source view of the Web page. Typing the markup text for the control directly into the Source view of the Web page. Ver. 1.0 Slide 6 of 17
  • 7. Developing Web Applications Using ASP.NET Test Your Understanding Which attribute needs to be included in the <%@Page%> directive in a content page that references a master page? Answer: MasterPageFile Ver. 1.0 Slide 7 of 17
  • 8. Developing Web Applications Using ASP.NET Test Your Understanding • List three important events exposed by the Application object. Answer: Appliaction.Start Appliation.End Application.Error Ver. 1.0 Slide 8 of 17
  • 9. Developing Web Applications Using ASP.NET Test Your Understanding What is the basic procedure for displaying data from a relational database on a Web pages? Answer: To display data from a relational database on a Web page, you need to: • Add a data source control to the Web page, and then configure it to connect to the required database. • Specify the SELECT statement in the SelectCommand property of the data source control to retrieve the data. • Bind data controls or data-aware controls to the data source control. Ver. 1.0 Slide 9 of 17
  • 10. Developing Web Applications Using ASP.NET Test Your Understanding What is the use of the two special values, “*” and “?” in authorization module to control access of a directory in the Web site hierarchy? Answer: “*” specifies that the entry applies to everyone who visits a page in the directory. “?” specifies that the entry applies to anonymous users who visit the pages in the directory. Ver. 1.0 Slide 10 of 17
  • 11. Developing Web Applications Using ASP.NET Test Your Understanding Which utility enables a user to deploy a compiled Web site without needing to copy the source files? Answer: The Publish Web Site Utility Ver. 1.0 Slide 11 of 17
  • 12. Developing Web Applications Using ASP.NET Test Your Understanding Which property of the HttpBrowserCapabilities object contains information about the browser that initiated the request? Answer: Request.Browser Ver. 1.0 Slide 12 of 17
  • 13. Developing Web Applications Using ASP.NET Test Your Understanding Resource files for Implicit localization are stored in the ____________ directory and those for explicit localization are stored in the ____________ directory. Answer: App_LocalResources App_GlobalResources Ver. 1.0 Slide 13 of 17
  • 14. Developing Web Applications Using ASP.NET Test Your Understanding User controls are saved with an extension of __________ and use the __________ directive instead of the <%@Page %> directive. Answer: .ascx <%@Control%> Ver. 1.0 Slide 14 of 17
  • 15. Developing Web Applications Using ASP.NET Test Your Understanding How can you cache multiple versions of a page? Answer: • Multiple versions of a page can be cached by using the varybyparam attribute in the <%@OutputCache%> directive. Ver. 1.0 Slide 15 of 17
  • 16. Developing Web Applications Using ASP.NET Test Your Understanding Which event handler can be used to set the ASP.NET theme at run time? Answer: Page_PreInit Ver. 1.0 Slide 16 of 17
  • 17. Developing Web Applications Using ASP.NET Test Your Understanding List the five standard display modes in the Web parts control set. Answer: Browse mode Design mode Edit mode Catalog display mode Connection display mode Ver. 1.0 Slide 17 of 17