Wrox Programmer Forums
|
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 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 6th, 2012, 11:24 AM
Authorized User
 
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
 
Old March 6th, 2012, 11:44 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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!
 
Old March 6th, 2012, 11:52 AM
Authorized User
 
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
 
Old March 6th, 2012, 05:01 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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!





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 12:44 PM
Ch 3 Examples Don't Work Gregorio BOOK: Professional Crystal Reports for VS.NET 3 February 15th, 2005 11:36 AM





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