 |
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
 | This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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
|
|
|
|
|

July 31st, 2010, 01:48 PM
|
|
Authorized User
|
|
Join Date: Jul 2010
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
VWD 2010 Default.aspx
I have just begun using the book and downloaded the new VWD which is the 2010 version. This now supports web applications althought I have used web sites template as the book recommends.
VWD 2010 produces a detafault.aspx page significantly different from the 2008 version. It contains a complex looking header section with a functional log in and tabbed pages. This produces mark up slightly different to that in the book, although I have beed easily able to produce the web page. The problems seem to be with the Form tag not being visible. I would like to remove the auto generated headers so as to be consisten with the book.
Any ideas ?
Cheers
|
|

August 1st, 2010, 04:28 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Harry,
Sounds like you chose the "ASP.NET Web Site" template; not the "ASP.NET Empty Web Site" template.
The first one has a default page based on a Master Page which indeed looks very different from the one I am showing in the book. Chapter 6 deals with Master Pages and shows you how to add one yourself. For now, it's important you start the site with the Empty web site template.
Cheers,
Imar
|
|

August 1st, 2010, 01:01 PM
|
|
Authorized User
|
|
Join Date: Jul 2010
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks Imar..Problem sorted.
The reason I chose ASP.NET Web Site is that this is specified and highlighted on section 4 page 6 of chapter 1. No reference is made to the "Empty" Web on this page? The 2010 is proving to be excellent in all other ways.
Thanks again.
Harry (actually Gerry)
|
|

August 1st, 2010, 03:33 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Harry / Gerry,
You're correct. However, in Chapter 2, page 38, step 4 you find instructions to choose the Empty web site template. The site you create there is the basis for the entire Planet Wrox web site you work on throughout the book.
Page 36 describes the differences and similarities between the two site templates.
Cheers,
Imar
|
|

August 2nd, 2010, 06:03 AM
|
|
Authorized User
|
|
Join Date: Jul 2010
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks again Imar, things are becomming a little clearer, especially with the differences in 2008 to 2010. Mabe I havea different edition of the book because the stepts to create a new web in chapter 2 are on page 37 (not 38) and still make no reference to an empty web. Page 36 indeed explains the differences.
Also an added diffreence is that 2010 does not create the App data folder nor does it automatically create the Default.aspx page. I created these manually and transferred all the appropriate code sections and files to the new web. This worked fine and I am now in sync with the book.
Thanks again for your help, the book is excellent.
Regards
Gerry
|
|

August 2nd, 2010, 06:07 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Ah, I see now you're using the 3.5 book. The page references were to the 4.0 version.
Stuff like templates has changed between VS 2008 and VS 2010 so you'll see quite a bit of these type of changes. Microsoft cleaned up the standard templates and created some others that contain files to help you jump start your sites. Those were not available in VS 2008.
If you find you're having problems "converting" the instructions from the VS 2008 version of the book to VS 2010, you could install VWD 2008 Express side by side and use that instead. Once you get the hang of it, you could build your own sites in VS 2010.
Cheers,
Imar
|
|

August 2nd, 2010, 06:46 AM
|
|
Authorized User
|
|
Join Date: Jul 2010
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks once again Imar.
I hadnt realised there was a V4 book out but the differences are proving more beneficial than not because it forces attention to detail and builds experience of the environment, which is what I am seeking. I have lots of experience of IIS, VB and database programming but not in the .Net environment. For this reason I have chosen also to use C# in order to build skills in that area too.
look forward to continuing the excercises.
Gerry
|
|

August 2nd, 2010, 10:25 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Quote:
|
the differences are proving more beneficial than not because it forces attention to detail and builds experience of the environment, which is what I am seeking
|
I completely agree. Just be aware that there are differences, and you'll run into a few more of these problems. Please post them here if you run into them.
Cheers,
Imar
|
|
 |