Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 April 26th, 2007, 05:58 PM
Authorized User
 
Join Date: Apr 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Compile Confusion with Head Contusion

Hi,
I've just completed chap3. and for some reason I get several errors. There are others but these seem to be the ones coming up all the time:
1. I have no idea what this means. The file is there in the correct directory (root): The file '/template.master' cannot be processed because the code directory has not yet been built. I've seen this in the forum but can't figure out how to fix it. Is this the physical code directory on the disk or is it in the assembly?(or somewhere else?)
2.[b]The type or namespace name 'BasePage' could not be found (are you missing a using directive or an assembly reference?)[/b] I've seen this one a lot also but I think my brain's damaged now. I believe this has something to do with the namespaces. The default namespace is TheBeerHouse in the build. I've found that in a few files but also have found MB.TheBeerHouse<something>. I thought I understood the namespaces but what is the MB about?

When I look in the class view, the BasePage class is not there. The namespaces for the basepage.cs and the default.aspx.cs I'm using is MB.TheBeerHouse.UI like the book.

I've set up a the separate project for the CustomEvents and that seems to compile ok. I set up the CustomEvent.dll as a resource for TBH.

Any help would be appreciated.

thanxs
 
Old April 27th, 2007, 09:27 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You have a problem with your app_code folder. This will fix both issues. MB are the author's initials.

Eric

 
Old April 28th, 2007, 11:40 AM
Authorized User
 
Join Date: Apr 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your reply Eric. "This will fix....." and this being what exactly?? :)
So MB are his initials, why are there several namespaces like MB.TheBeer... and just TheBeerHouse? Not that it really matters, but just TheBeerHouse would not be in the same namespace as MB.The...? So in the build where it says "default namespace" under properities, which do you use? I've tried both with no change. Does the default namespace go for anything that doesn't have a namespace.
Thanks.....
 
Old April 29th, 2007, 08:25 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The files in your app_code directory are not correct. You need to get the code download and use that. I guess you're trying to re-create the site yourself, and that is not a good plan, as I just explained in another post. This is not a step-by-step book.

 
Old May 1st, 2007, 01:02 PM
Authorized User
 
Join Date: Apr 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Eric for your reply.
With all due respect, I disagree with your assessment that TBH is not a step by step guide. Step by step is implied starting from the back cover and continues throughout the book.
Back Cover: "...this example-driven book describes from start to finish
how to design and implement in C# a complete ASP.NET web site...."
Forward: "He explains how you can assemble all ASP.NET 2.0's features and
leverage its power to design, develop, and deploy a full-featured web
site."
Introduction: "...teaches how to create real-world web sites....."
"The project developed is more complete...."
What this book covers: "...that starts from the foundation and works its way through to completion with a series of designs and solutions for each incremental step along the way."
How this Book is structured: [u]The book is intended to be read from cover to cover, so that you start with nothing and finish with a
complete and deployed web site ready to be launched</u>. However, the book follows a modular structure so every chapter is quite self-contained and implements a module that, if necessary, can be taken out of the proposed sample project...."
Chapter 2: The first step in developing a new site is....

Being honest with you I would not have bought this book if it did not
attack a project step by step (or module by module) from the beginning. Why would I want to start a project with the 2nd to the last module and not know how I got there? I find this approach much more informing than the usual guides to illustrate each feature out of context.

My personal opinion of this book is it's terrific. A great guide to
learn how to get from start to finish using ASP.NET. I know you agree.

Again thanks for your response. As far as I'm concerned you're one of the good guys that really likes to help programmers.

Regards, nickLogan

PS: I did download the code and compared it to my work. I believe there is something else wrong and I've found a few articles that seem to support that. If I find something interesting, I'll get back to you

 
Old May 3rd, 2007, 10:09 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You misunderstood what I was saying. I mean that it's not a detailed set of steps where every mouse click and keystroke is covered. The design is covered, and the implemention is covered, but at a level targetted towards experienced ASP.NET developers (I'm sure you'll see that on the cover somewhere). The focus is on transitioning 1.x developers to 2.x. Anyone who is not already familiar with SOME version of ASP.NET will have a very hard time with this book.

There are some serious limits with what you can do in a given number of pages! I'm sure a 5000 page book could cover every mouse click and keystroke, but nobody would ever want to write that book. The book business is not known for paying well :-( And how many people would buy a book of that size, or perhaps a multi-volume set?

Eric

 
Old May 3rd, 2007, 10:28 PM
Authorized User
 
Join Date: Apr 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Your right. I did misunderstand. My apologizes.
 
Old May 4th, 2007, 12:36 AM
Friend of Wrox
 
Join Date: Aug 2006
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to vantoko
Default

I agree with Eric. this book is not for absolute beginners. If you are new to asp.net, try to follow the roadmap that is described on the back of the book :
Start with "beginning ASP.net 2.0"
next this book or instant results
next go to the "professional series"
next mvp hacks (great book BTW)

koen

 
Old May 4th, 2007, 12:48 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Agreed. I don't think that there is any book out there that is intended (or claims to be) a "Silver Bullet" for new-comers to .NET because, as Eric pointed out, who is going to buy a 5000 page book? 500 - 600 pages is about the max I am willing to go when I purchase a tech book because I can realistically read the entire thing.

I hope everything works out for you.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
I am finding the book a bit over my head pinball2k BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 2 November 30th, 2008 02:40 PM
For graphics gurus... your head in C++ programmed C++ Programming 1 November 2nd, 2006 08:21 AM
Exception handling hurts my head rodmcleay C# 3 September 21st, 2005 03:27 AM
I am so in over my head AnnMarie Dreamweaver (all versions) 1 May 19th, 2005 02:19 PM
Can't get my head around - help. Mantis MySQL 2 February 23rd, 2005 12:19 PM





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