Skip To Content

Athabasca University

Section 6.2 Web Application Development with ASP.NET in C#

Learning Objectives

After you have completed this section, you should be able to

  • use databases in your ASP.NET web applications.
  • implement access control to your ASP.NET web applications.
  • use master page to create a uniform look and feel for your web applications.
  • use ASP.NET Ajax to add Ajax functionality to your ASP.NET web applications.

Activities

  • Carefully read the learning objectives.
  • Download and install the necessary packages such as Microsoft SQL Server Express and ASP.NET Ajax Control Toolkit from http://www.microsoft.com/express and http://devexpress.com/act
  • Find and study some sample applications using ASP.NET Ajax on the Web.
  • Watch the presentation for the section;
  • Read Chapter 21, Web App Development with ASP.NET in C#: A Deeper Look.
  • Revisit sections 18.6 through 18.9 of Chapter 18, Database: SQL, MySQL, LINQ and Java DB.
  • Find answers to the study questions below.
  • Visit https://dotnet.microsoft.com/en-us/learn/aspnet, and find some useful articles and videos.
  • Do exercise 21.4 in Chapter 21.

Study Questions

  1. What is the master page for a website/application?
  2. How do you customize the CSS styles for a master page?
  3. What is a website template? How can you benefit from using a website template in developing new web applications?
  4. What can you do with the Web Site Administration Tool provided within the Visual Studio Express you installed?
  5. With Visual Studio Express, how do you create a password-protected ASP.NET website?
  6. In your ASP.NET web application, how do you connect to a database?
  7. How do you create a content page accessible only for authenticated users?
  8. How do you bind database data to a web control such as a DropDownList or GridView through LINQ to SQL classes?
  9. What is ASP.NET Ajax? What does Ajax stand for?
  10. What are the differences between traditional web applications and Ajax web applications?
  11. What are ASP.NET Ajax controls?
  12. Do you need any additional package for developing Ajax web applications? If you do, where do you download the necessary Ajax extensions package for this section?
  13. How do you add ASP.NET Ajax controls to the Toolbox of your Visual Studio Express?
  14. What capabilities does ASP.NET Ajax provide you?
  15. What is an asynchronous request?
  16. What is a callback function?
  17. What are partial-page updates?
  18. How do you implement a partial-page update using the UpdatePanel control?
  19. What does the ScriptManager control do?
  20. How do you use the UpdatePanel control?
  21. What can ValidatorCalloutExtender controls be used for?

Review

Do the self-review exercises for Chapter 21.

Summary

Read the Chapter 21 summary.

Updated May 06 2022 by FST Course Production Staff