Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 7th, 2005, 02:31 PM
Authorized User
 
Join Date: Mar 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem understanding how to arrange the project

Hi,
I'm having some trouble understanding how I should arrange the projects in the book.

At chapter 2 page 33 I created a new C# Class Library and named it Core. Then in chapter 3 the book wants me to create a Class Library project called PhilePageBase to the main solution.

What is the main solution? Do I have to create a project called ThePhile and then put the Core project inside it? Do I have to move the Core project into folder ThePhile/Modules?

Thanx for any help!

 
Old March 7th, 2005, 03:23 PM
Authorized User
 
Join Date: Mar 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi again,

In chapter 3 at page 61 it says {..} that is part of our main solution that already contains our Core project and our ThePhile web application project.

What is "ThePhile" web application project? Do I have to create that to continue with the book?


 
Old March 7th, 2005, 04:11 PM
Authorized User
 
Join Date: Mar 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi again :)

At page 63 it says: To build the code for this, we're going to GO BACK to our main web application project(ThePhile), and create a new directory(IF YOU HAVN'T ALREADY) called Controls.

When in the book does it say anything about creating a web application called ThePhile?!

This book sucks!!!

 
Old March 10th, 2005, 03:02 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I encourage you to get the code download. Create the database by restoring from the backup file in the code download (don't use the sql script), then you should upgrade the whole solution to VS 2003 (assuming you're using this).

The book is NOT a complete step-by-step reference. They only point out certain things that are interesting. The code download has a lot more than what is covered in the book.

Eric
 
Old January 25th, 2007, 02:59 PM
Registered User
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm going through the book and creating the solution piece by piece, using the download code as a guide. I've noticed some of the oddities you have pointed out. The Core thing was confusing to me. I have my main solution file, yet for some reason they want Core to have its own solution file as well. The Nav thing is weird. You don't really need the Nav control in its own project. - just add it to the web project and code it up.

And you are right - the book never expressly tells you to create a web project.
 
Old January 25th, 2007, 10:26 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Solution files in VS are only convenient ways to organize projects, at least prior to ASP.NET 2.0 (which changes the rules a bit). Projects are used to organize files that will be compiled into a separate assembly. You can create as many solutions as you want, and they will hold 0 or more projects.

I typically like one overall solution that has all the other projects inside it - so I can rebuild the entire group.

And I typically have one smaller solution file to match each project. These are used if I just want to work with one project at a time - less clutter that way.

Don't get me started on the goofy Nav box! That's the first thing I factored out in my version of ThePhile. I went with a more conventional menu along the left edge. You can download my whole project if you want - search in this forum for ThePhileII.

Eric

 
Old January 29th, 2007, 12:50 AM
Friend of Wrox
 
Join Date: Mar 2006
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Ktrz
...
And you are right - the book never expressly tells you to create a web project.
 
Quote:
quote:Who Is This Book For?
Quote:
...
You should be comfortable using Visual Studio .NET to create ASP.NET projects, and that you know VB.NET.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in understanding EnsureValidSortExp syntax dazy BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 January 25th, 2008 04:49 PM
problem in XMlserialization understanding. Theone84 ASP.NET 2.0 Professional 1 August 26th, 2007 01:20 PM
Understanding Project prasanna.nadgir Need help with your homework? 1 August 23rd, 2007 03:15 PM
Arrange dynamic cells... Roshu Javascript How-To 1 January 11th, 2005 06:55 AM
Problem understanding Object creation cdplayer Classic ASP Basics 4 March 18th, 2004 07:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.