This document provides an overview of creating website applications using Visual Studio and ASP.NET. It discusses key concepts like static and dynamic web pages, how requests are handled between client browsers and web servers, and templates for ASP.NET web form applications. The lesson covers creating a basic web application with Visual Studio that includes templates for consistent layouts across pages and sample pages for default, about, and contact information.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
44 views12 pages
Intro To Web App
This document provides an overview of creating website applications using Visual Studio and ASP.NET. It discusses key concepts like static and dynamic web pages, how requests are handled between client browsers and web servers, and templates for ASP.NET web form applications. The lesson covers creating a basic web application with Visual Studio that includes templates for consistent layouts across pages and sample pages for default, about, and contact information.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12
Website Applications
Learn how to create Web Site applications
using Visual Studio along with a technology called ASP.NET. The applications you create will contain both static and dynamic Web pages. The pages can be viewed using any browser, such as Microsoft Edge, Google Chrome, Mozilla Firefox, and Safari. Concepts covered in this lesson: F-1 Basic web terminology F-2 Creating a Web Site application F-3 Starting a Web application F-4 Modifying the Site.master page F-5 Personalizing the Default.aspx page F-6 Personalizing the About.aspx page F-7 Testing with different browsers F-8 Closing and opening a Web Site application One of the most popular features of the Internet— World Wide Web, often referred to simply as the Web. Web—documents called Web pages that are stored on Web servers. Web server—contains special software that “serves up” Web pages in response to requests from client computers. Client computer—requests information from a Web server. The information is viewed through browser. Examples—Microsoft Edge, Google Chrome, Mozilla Firefox, and Safari. • Many Web pages are static. • Static Web page—merely to display information to the viewer. The below figure is an example of a static Web page that displays a store’s name, address, and telephone number. Dynamic Web page—interactive in that it can accept information from the user and also retrieve information for the user. Examples—forms for purchasing merchandise online and for submitting online résumés. The below figure shows a dynamic Web page that calculates the number of gallons of water a rectangular aquarium holds. To use the Web page, you enter the length, width, and height of the aquarium, and then click the Submit button. • The button’s Click event procedure displays the corresponding number of gallons on the Web page. The Web applications created in this chapter use a technology called ASP.NET. ASP stands for “active server page.” Contain HTML (Hypertext Markup Language) tags that tell the client’s browser how to render the page on the computer screen. Many ASP pages also contain ASP tags that specify the controls to include on the page. In addition to the HTML and ASP tags, dynamic ASP pages contain code that tells the objects on the page how to respond to the user’s actions. When a client computer’s browser sends a request for an ASP page, the Web server locates the page and then sends the appropriate HTML instructions to the client. If the Web page is a dynamic one, user can interact with the page by entering data. The user then clicks a button on the Web page to submit the page and its data to the server for processing. Using Web terminology, the information is “posted back” to the server; this event is referred to as a postback. • When the server receives the information, it executes the Visual Basic code associated with the Web page. • The below figure illustrates the relationship between the client computer and the Web server. • Visual Basic also provides templates for creating Web applications. • The below figure lists the names and purposes of four of the files included in the ASP.NET Web Forms Site template. • The application will contain three Web pages: two static and one dynamic. Filename Purpose Site.master Creates a consistent layout for the pages in your application (for example, the same color, header, footer, and buttons) Default.aspx Serves as the home page About.aspx Contains information about the website, such as its history or purpose Contact.aspx Provides contact information, such as a phone number ore-mail address Zak, Diane ; Programming with Microsoft Visual Basic 2017, Eighth Edition, Thomson Course Technology, 2018