Guestbook ver3 using ASP.NET and XML (as Database) - By Saurabh Nandu ============================================================= A free and fully customisable Guestbook coded in ASP.NET using C# . It uses xml as its Database so people who do not have acess to any database on their servers can use this guestbook. Also the files are fully commented to explain the working of the guestbook. Installation Instructions ------------------------- 1) Unzip the zip file in to any directory (Remember to keep 'Use folder names' checked ON in your unziping program.) 2) Customise the look and color of every file by opening them in any text editor. 3) Find out in which directory does your server allow write access to files (eg. on the www.brinkster.com server it is the '/db' directory ). If you are using Brinkster then go to step 4. If you server has some other directory then i) open 'guestpost.aspx' file in a texteditor and change the path of the variable "string datafile = "db/guest.xml" ;" on line 39 to whatever path your server allows (remember put the guests.xml file in the path too.) and Save the file. ii) open 'viewguestbook.aspx' file in a texteditor and change the path of the variable "string datafile = "db/guest.xml" ;" on line 36 to whatever path your server allows (remember put the guests.xml file in the path too.) and Save the file. (Note: both the variables in the above 2 file should be the Same.) iii) While uploading the files upload all the files as usual, only upload the file "guest.xml" present in the "db" directory on your computer to the directory you have specified above . iv) Proced to step 5 4) Upload the all files to your server (even the files in the directory as they are.) 5) Thats great you have Setp up the guestbook !!!! 6) Then call the file 'http://urserver.com/guestpost.aspx' in your borwser to post in you guestbook and call the file 'http://urserver.com/viewguestbook.aspx' in your borwser to view you guest book. 7) Congrats !!! you have setup ur guestbook now call all ur friends to sign-in ur guestbook... 8) Wait .... Dont forget to sign-in my Guestbook :) List Of Files -------------- ReadMe.txt -- This File. footer.inc -- The footer files included in every page guestpost.aspx -- The main file which has the Form to post in the guestbook. Call this file to post in ur guestbook. header.inc -- The Header file include in every page mystyle.css -- The CSS file which defines the style used by the pages viewguestbook.aspx -- The File used to view the entries in the Guestbook. Never [DB Directory] db>guest.xml -- The file which will contain all the entries and will act as our database(do not modify this file.) [Img Directory] ostripes.gif -- The image file used in the header.inc page Requirements ------------ Any Pc with the .NET FrameWork SDK Beta2 Installed on it.[This example might not work on the future versions of the SDK.] Any server which supports ASP.NET . Contact Me ---------- Feel free to contact me for any questions , comments or suggestions ... at saurabh@MasterCSharp.com Yahoo Messanger : sanddy19 Website: http://www.MasterCSharp.com Saurabh Nandu (15/July/2001) (Thanks to all my pals for helping me out in this project of mine.)