Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Professional ASP.NET 4 : in C# and VB
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Professional ASP.NET 4 in C# and VB by Bill Evjen, Scott Hanselman, Devin Rader; ISBN: 9780470502204
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 4 : in C# and VB 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 Display Modes
  #1 (permalink)  
Old March 6th, 2012, 10:24 AM
Authorized User
Points: 168, Level: 3
Points: 168, Level: 3 Points: 168, Level: 3 Points: 168, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2009
Posts: 40
Thanks: 4
Thanked 0 Times in 0 Posts
Default Unsure how to work with the Code examples

Im having trouble opening the downloaded code examples whilst working throughout the book. I have downloaded the code and extracted all the files to a folder on my desktop.

I am currently on page 29. Figure 1-10 on page 29 has a screenshot showing the Solution 'Calculator'(1 project) and its location: c:\...\Calculator. For me to simply open up the calculator project so that the Solutions Explorer reflects figure 1-10 and indicates that i have 1 project open called 'Calculator' should i be going to:
File>Open>Project/Solution>and then navigating to the folder on my desktop to where I have extracted all the code?
I have done this and then would navigate to Chapter 1 CODE. When double clicking Chapter 1 CODE, there are then two folders: CS & VB. As im using C# i double click CS which then takes me to the folder 'General'. If i double click 'General' that then takes me to two empty App_Code and App_Data folders?

I have tried opening a File(rather than a Project/Solution) where i can navigate to Chapter 1 CODE>CS>GENERAL>Calculator but when i do it, it simply opens up the Calculator.aspx file but the Solution explorer does not reflect Figure 1-10 saying that i have one solution called Calculator open. It says: Solution 'General'(0 projects).

Im just wanting to work along through the book examples and dont know why the solution explorer cant say: Solution 'Calculator'(1 project) and let compile the calculator project?

Please can you help me where im going wrong. When im opening any of your examples should i be going to: Open> Project/solution
Open>website
or Open>file
??

Help would be appreciated here as i dont know what im doing wrong.

Lee
  #2 (permalink)  
Old March 6th, 2012, 10:44 AM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,948
Thanks: 79
Thanked 1,555 Times in 1,532 Posts
Default

Considerig the fact you mention an App_Code folder, my guess is that this example is a Web Site Project, rather than a Web Application Project. Web Site Projects are opened using File | Open Web Site (or File | Open | Web Site) instead of File | Open Project.

Then browse to the parent folder of the App_Code folder and click Open.

Hope this helps,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
  #3 (permalink)  
Old March 6th, 2012, 10:52 AM
Authorized User
Points: 168, Level: 3
Points: 168, Level: 3 Points: 168, Level: 3 Points: 168, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2009
Posts: 40
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Ok,i'll have an investigate thanks Imar.

One thing slightly off subject and i can ask you this in a separate post if you like but:
Do you think i would need to have read your Beginning ASP.NET 4 in C# and VB before this?
Bearing in mind i have read Beginning ASP.NET 3.5 in C# and VB a couple of years ago and understand basic programming such as variables, loops etc and object oriented concepts as well as HTML/CSS etc.

Does this book cover ASP.NET 4.0 thoroughly or skip a lot of the more basic stuff that perhaps the Beginning ASP.NET 4.0 book may cover?

Lee
  #4 (permalink)  
Old March 6th, 2012, 04:01 PM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,948
Thanks: 79
Thanked 1,555 Times in 1,532 Posts
Default

Although I would like to sell you a copy of Beginning ASP.NET 4 of course, I think that if you've read (and understood) the 3.5 version, you should be ready for the Professional version of the book.

I am not familiar with that book too much so I don't know how well they cover the basics.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 


Thread Tools
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
Appendix Code Examples do not work! ALW1763 BOOK: ASP.NET AJAX Programmer's Reference : with ASP.NET 2.0 or ASP.NET 3.5 ISBN: 978-0-470-10998-4 0 April 4th, 2009 05:34 PM
db2 doesn't work as a db for RoR examples rafmathijs BOOK: Beginning Ruby on Rails 0 August 30th, 2007 03:50 AM
Recommended setup to work thru the examples? kjullion BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 1 February 13th, 2006 11:44 AM
Ch 3 Examples Don't Work Gregorio BOOK: Professional Crystal Reports for VS.NET 3 February 15th, 2005 10:36 AM



All times are GMT -4. The time now is 09:56 AM.


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