ASP.NET
  Home arrow ASP.NET arrow Page 5 - An ASP.NET Web Application in Action
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

An ASP.NET Web Application in Action
By: Murach Publishing
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 2
    2009-06-24

    Table of Contents:
  • An ASP.NET Web Application in Action
  • The aspx code for the Order form
  • The Visual Basic code for the Order form
  • How an ASP.NET application is compiled and run
  • Perspective

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    An ASP.NET Web Application in Action - Perspective


    (Page 5 of 5 )

     

    Now that you’ve read this chapter, you should have a general understanding of how ASP.NET applications work and what software you need for developing these applications. With that as background, you’re ready to learn how to develop ASP.NET applications of your own. And that’s what you’ll learn to do in the next two chapters.

    Terms  

     

    web application web page web form

    session state session state object session ID

    client/server application client

    application state application state object

    server

    profile

    HTTP (Hypertext Transfer Protocol) web browser

    .NET Framework .NET Framework Class Library

    web server

    class

    IIS (Internet Information Services) DBMS (database management system) LAN (local area network) intranet

    namespace CLR (Common Language Runtime) IL (Intermediate Language) MSIL (Microsoft Intermediate

    static web page HTML document

    Language) Common Type System

    HTML (Hypertext Markup Language) URL (Uniform Resource Locator) HTTP request HTTP response domain name

    standalone environment development server SQL Server Express FPSE (FrontPage Server Extensions) FTP (File Transfer Protocol)

    dynamic web page server control

    FTP server business class

    application server application mapping round trip postback state

    aspx code code-behind file page directive attribute render

    stateless protocol

    assembly

    view state

     

     

    About the book’s applications

    You can download all of the applications that are presented in this book from our web site (www.murach.com). Then, you can run the applications, review all of their code, and experiment with them on your own system. For more information about downloading and running these applications, please read appendix A.

    About the exercises

    If you’re new to ASP.NET web programming, we recommend that you practice what you’ve learned after you finish each chapter in the first section of this book. To help you do that, we provide exercises for each of these chapters. Most of these exercises use directories and files that you can download from our web site. Before you start the exercises, then, you’ll need to install these directories and files. When you do, they’ll be placed in a directory named ASP.NET 3.5 VB on your C drive.

    By the time you complete section 1, you should be ready to start building applications of your own. Because of that, we don’t include exercises for the remaining chapters. Instead, as you go through each chapter, you can use the techniques that are illustrated on your own application. When you’re done, you can compare your application with the one you’ve downloaded.

    Exercise 1-1  Use your web browser to run Internet applications

    1. Open your web browser and type in this URL:

      http://www.microsoft.com
      Then, search for information about Visual Web Developer 2008 Express Edition. This of course is the site that you can use to download Visual Web Developer 2008 Express and SQL Server 2005 Express for free. As you move from page to page, note that some are static html pages and others are dynamic aspx pages. 
    2. Type this URL into your web browser:

      http://www.discountasp.net
      Then, click on some of the links on the home page, and note which pages are static and which are dynamic.

     

    Exercise 1-2  Use your web browser to run the Shopping Cart application on your PC

    In this exercise, you’ll use your web browser to run the Shopping Cart application that’s illustrated in this chapter. This assumes that you’ve already installed IIS, Visual Studio 2008, and the files for these exercises. When you get this application running, you’ll know that you’ve got IIS and the application set up correctly on your PC.

    Create a virtual directory for the Shopping Cart application

    1. Use the procedure in figure B-1 of appendix B (Windows XP) or figure C-1 of appendix C (Windows Vista) to create a virtual directory named Ch01Cart for the application in C:\ASP.NET 3.5 VB\Ch01Cart.

      Run the Shopping Cart application 
    2. Open your web browser, and type in the following URL, which uses the virtual directory as the path:

      http://localhost/Ch01Cart/Order.aspx This should start the Shopping Cart application that’s shown in figure 1-1. If it doesn’t, you need to make sure that IIS is installed, that the exercise files are installed, and that you did step 1 correctly.
    3. Select a product from the drop-down list on the Order page that’s displayed. Note that this starts a postback that returns the Order page with the data and image for the product that was selected.
    4. Enter a quantity and click the Add to Cart button to display the Cart page. Then, click the Continue Shopping button to return to the Order page. 
    5. Continue to experiment with this application until you understand how it works. Then, click the Close button in the upper right corner of the browser window to end the application. 

     

     


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

     

    Buy this book now. This article is an excerpt from chapter one of Murach's ASP.NET 3.5 Web Programming with VB 2008, written by Anne Boehm (Murach, 2008; ISBN: 1890774472). Check it out today at your favorite bookstore. Buy this book now.

    ASP.NET ARTICLES

    - Adding Content to a Static ASP.NET Website
    - Building a Static ASP.NET Website in a Basic...
    - Develop Your First ASP.NET Website with Visu...
    - Run ASP.NET in Windows XP Home with Cassini ...
    - How to Test a Web Application
    - How to Add Code and Validation Controls to a...
    - Working in Source and Split Views to Build a...
    - How to Build a Web Form for a One-Page Web A...
    - How to Develop a One-Page Web Application
    - An ASP.NET Web Application in Action
    - Developing ASP.NET Web Applications
    - An Introduction to ASP.NET Web Programming
    - Introduction to the ADO.NET Entity Framework...
    - Completing an In-Text Advertising System und...
    - Programming an In-Text Advertising System un...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek