Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio
This is the forum to discuss the Wrox book ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution by Vincent Varallo; ISBN: 9780470396865
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 22nd, 2009, 04:48 AM
Authorized User
Points: 216, Level: 4
Points: 216, Level: 4 Points: 216, Level: 4 Points: 216, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2005
Location: Honoulu, HI, USA.
Posts: 47
Thanks: 2
Thanked 0 Times in 0 Posts
Default Problem with Chap04 StringHelpers

Hi all,

I am having a problem with Chapter 4. I typed in the code exactly as the book says but in my BasePage class I get an error that StringHelpers does not exist in the current context. I added the StringHelpers class and saved but still no joy. Am I missing a reference and if so how do I reference that class properly? I get a feeling that is the problem but I don't know how to fix it.

Thanks
Chris
  #2 (permalink)  
Old October 19th, 2009, 01:45 PM
Registered User
 
Join Date: Oct 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Me too!

Join the club! Nobody's even looking at this? I found problems with the books code early on in chapter 2 and its was an on-going thing. It was a shame, I think this could have been a winnder if it were'nt for what seem like obvious oversights. If you resolved it, send back the solution to it bro!
  #3 (permalink)  
Old October 26th, 2009, 10:27 PM
Wrox Author
 
Join Date: Jan 2009
Posts: 73
Thanks: 0
Thanked 7 Times in 7 Posts
Default

Hi Chris. are both classes in the App_Code folder in your project? What version of VS are you using? Are you getting any compile errors in the StringHelpers class?
  #4 (permalink)  
Old October 28th, 2009, 09:00 AM
Authorized User
Points: 216, Level: 4
Points: 216, Level: 4 Points: 216, Level: 4 Points: 216, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2005
Location: Honoulu, HI, USA.
Posts: 47
Thanks: 2
Thanked 0 Times in 0 Posts
Default Issue with StringHelpers

I am using VS 2008 Pro. Both files are in the App_Code folder. Any assistance would be greatly appreciated.
  #5 (permalink)  
Old October 29th, 2009, 11:05 AM
Authorized User
 
Join Date: Mar 2009
Posts: 79
Thanks: 4
Thanked 4 Times in 4 Posts
Default

This is really a good book and framework. Remember this is the first iteration of the book and if Vince decides to expand it I know the second book and any others that follow will be even better.

To overcome the oversights I took the approach of reverse engineering as a method of learning the framework. Basically I downloaded all of the files built it, got it running and started reading the book to understand how the framework was built. From there the book has become an excellent reference source and I have built 2 working applications from the framework that Vince provided. That is just me and how I learn though.

The reason I went this path is because the end result is going to be the code that you are manually putting in now, and the framework is quite a monster, I honestly dont think you will get much from the manual entry of the code. I do think you will get more from the use of the framework and understanding how it works once you start applying it to your real world solutions. Give it a try and I can assist you where I can.

DJ
  #6 (permalink)  
Old November 10th, 2009, 08:48 PM
Wrox Author
 
Join Date: Jan 2009
Posts: 73
Thanks: 0
Thanked 7 Times in 7 Posts
Default

Can you post the project so I can take a look.
  #7 (permalink)  
Old November 30th, 2009, 05:12 AM
Registered User
 
Join Date: Nov 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by kuznickic View Post
Hi all,

I am having a problem with Chapter 4. I typed in the code exactly as the book says but in my BasePage class I get an error that StringHelpers does not exist in the current context. I added the StringHelpers class and saved but still no joy. Am I missing a reference and if so how do I reference that class properly? I get a feeling that is the problem but I don't know how to fix it.

Thanks
Chris
I think it has something to do with the way the Web Application project type handles the App_Code folder.

1. Create a folder to store your code in the web project (I just called mine "code") and move the stuff from your app_code folder into this new folder.

2. Right click the classes, select Properties, and change the Build Action to "Compile".
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Begin.Php5,,Chap04, page no.158,,ex. dynamic.php sandeepgreaternoida BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 1 November 5th, 2013 12:13 PM
StringHelpers in Chapter 8 gives a build error tdewey BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 2 May 2nd, 2009 07:54 PM



All times are GMT -4. The time now is 11:04 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.