Wrox Programmer Forums
|
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
 
Old December 22nd, 2010, 05:19 AM
Authorized User
 
Join Date: Feb 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default chp 6 App_Code folder

Hi Imar,

There was no App_code folder, so i created folder simply by right clicking Planet in solution explorer while writing "creating Base Page" in page no: 206. is this the right way or how?

Thanks
 
Old December 22nd, 2010, 05:27 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Yes, you can simply create it if it isn't there, when using a Web Site Project.

However, it may not be there because you create a Web Application Project (using File | New Project) instead of a Web Site Project (using File | New Web Site). In that case, you have a problem and cannot simply create the folder.

Is this the case? WIth a WAP, each file has two code behind files (e.g. Default.aspx.vb and Default.aspx.designer.vb). Do you see those? If so, you have used the wrong site type and cannot use App_Code.

Refer to page 34 for a discussion of the differences between a WAP and a WSP and the TIO on page 37 for the correct steps on setting up the Planet Wrox web site.

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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
App_Code folder in "Web Application Project" member4953 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 March 24th, 2009 05:03 PM
Ch 28 A realistic example no app_code folder jgronquist BOOK: Professional Visual Basic 2008 ISBN: 978-0-470-19136-1 0 March 5th, 2009 05:46 PM
App_Code folder shared on only 1 folder? rpeters83 ASP.NET 2.0 Professional 1 September 1st, 2006 10:53 PM
Renaming App_Code jacob .NET Web Services 5 July 4th, 2006 12:20 AM
Making a folder virtual folder on button click in CsharpHelp C# 0 October 26th, 2005 05:57 AM





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