[Home]Guest Book Application For .NET Using Visual Studio

Contents | (Visit Preferences to set your user name.) | Related To Guest Book Application For .NET Using Visual Studio | RecentChanges | Preferences | Index | Login | Logout

Featured: Featured Stories | Picture Gallery

PhpWiki | AvatarArticles
Google
Chat11.com Web Bible11.com MyBibleCenter.com
Search For Books About:
/BottomAd1, Computers, Garnet, IntelliSense, Programming, Software, StreamReader, StreamWriter, Web Matrix
Search The Net:
Garnet
Computers
Software
Programming
Web Matrix
IntelliSense
StreamReader
StreamWriter
/BottomAd1
Cover of ISBN 0672323079

Cover of ISBN 0761535225

Java Programming For The Absolute Beginner

Cover of ISBN 0596003471

Programming .NET Components

Guest Book Application in .NET

ASP.NET Web Development with Visual Studio 2003

Subjects > Computers > Software > Programming > Web Application Programming For .NET
See also Web Matrix Guestbook Application

Here is a quick tutorial on how to create a Guest Book Application using Visual Studio 2003. This tutorial is very similar to our Web Matrix Guestbook Application tutorial, but instead focuses on the specific steps for developing a Guest Book Application using Visual Studio 2003. If you do not have Visual Studio 2003, or one of the C# learning editions of it, you might want to go over to the Web Matrix Based Tutorial On Building A Guest Book .

This tutorial is a little different than the usual highly polished tutorial. We will show you not only how to create the Guest Book Application with .NET for your website, we will also show you some typical errors that can happen along the way. If we have a simple error in our code, we will let you know about it, and give you advice on how you can figure out how to fix this kind of error. Of course we will show you where the error is and how to fix it. This will help you learn how to solve some of these common mistakes in your own applications.

Visual Studio 2003 or Web Matrix for Developing Web Applications?

Web Matrix has a big advantage: It is free! For an introduction to .NET programming, it is a great choice. There are several good books out that teach how to use it, and talk about some of the extensions it has made to the .NET Framework.

When you get into serious web application development, you will probably want to switch to the Visual Studio. We like the Visual Studio 2003 environment because of the extra help that is available when developing, and various other ease of use features such as IntelliSense?Create when typing. So this tutorial is a little different in it's specifics, but otherwise covers building exactly the same app as in the Web Matrix Guestbook Application . We actually built the version for Visual Studio first, and then went to Web Matrix to see how to do the same program there. This let us study some of the differences and similarities of the two development environments.

Prerequisites

You must have a PC running any version of Microsoft Windows since Windows 98. For this tutorial you must have already installed the .NET Framework, and the Visual Studio 2003. We will be using C# (C Sharp) in our example code for this tutorial.

About this Tutorial

Code samples will be show in text boxes. You will be able to easily right click the text box, click on "Select All", and then right click and select "Copy".

Here is an example of source code:

Description of the Guest Book Application

We will start with a very simple guest book application. It will allow users to enter their name, a URL, and a single line comment. The comments will be appended to a simple text file. Our guest book application will have two web pages: a page to display the guest book comments, and a page to enter new comments.

Skills Taught In This Guest Book Application Tutorial

This application shows how to use an event handler to handle the submission of a form, how to use StreamReader?Create and StreamWriter?Create to read and write text files, and some very simple string processing using the Split function. We also discuss some very simple object oriented issues in deciding how to structure the code in our program.

Building The Guest Book Application

Running The Guest Book Application

Possible Enhancements To The Guest Book Application

What are some things we could do to improve the guest book application?

Here is a short list of ideas we have for improving the guest book application:


Could not find Programming/BottomAd1?Create


Search for books about:

/BottomAd1, Computers, Garnet, IntelliSense, Programming, Software, StreamReader, StreamWriter, Web Matrix

Search The Net:
Garnet
Computers
Software
Programming
Web Matrix
IntelliSense
StreamReader
StreamWriter
/BottomAd1

Contents | (Visit Preferences to set your user name.) | Related To Guest Book Application For .NET Using Visual Studio | RecentChanges | Preferences | Index | Login | Logout
Edit this www.chat11.com page | View other versions
Last edited April 8, 2007 2:54 am (diff)
Search:
Sign up for PayPal and start accepting credit card payments
instantly.
Bobsgear - Get A Free Enterrpise Wiki Space!
Review: The Bobsgear Project was started to develop a variety of Confluence plugins. This installation of the Confluence Enterprise wiki includes flexible attachments, many Confluence plugins, personal blogs, interesting articles, and more. Bobsgear already has spaces related to politics, art and photography wiki, technical issues wiki, ediscovery wiki, health, Christian theology and Sabbath School wiki, the bible, book reviews, and quotations. Bobsgear allows free signup, and invites anyone to create a free hosted Confluence wiki space.


NEW USERS CLICK HERE! for a quick introduction to Wiki.

 

 Interested in Ellen G. White Topical Index On Colporteur Work?
1589 total hits since 3/2007
Recently accessed pages: Categories Cicada Bug Picture Cicada Lesson Plan HomePages/GisWookie How To Get To Paypal Telephone Number And Get A Real Human Lavatory Riser Ottoman Empire Short History Of Computer Compression Sony TR2A Laptop Stretching FAQ 3 - Types Of Stretching SwitchWiki USAStates Why Digital Rights Management Protected Music Players Suck

Elapsed:1