Wrox Programmer Forums
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 September 25th, 2006, 10:35 AM
Registered User
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Some help plzz


I am not so good at asp.net applications, and how to build these using VS.NET. I discovered "ASP.NET Website Programming" a couple of week ago and was impressed. Now I have the book and have started to read it and coding while reading.

I am using VS 2005 with the .NET 2.0 framework.

I have problems figuring out the overall structure of the ThePhile solution:

* When looking at the complete code for the site, that i have downloaded from the book website, I see that in the folder wrox\ThePhile\Modules\FileManager (and most other modules) there is a project named FileManager.csproj. My problem is that I cant create a project inside ThePhile web applicatoin project in VS 2005 for each module. There is no option to "Add a new project" when i right click ThePhile web application project in the solution explorer in VS! In chapter 4 (when building the File Manager module) the book says:
"The files for the presentation layer are part of the main ThePhile project, and sit in the Modules\FileManager folder.
Does this mean that I am right to create a folder under the ThePhile web application project in VS and put the module files in that folder (without having a project for each module)?

*I have typed all the code for the file manager (I don't have a project named FileManager. All files for the FileManager module reside in a folder WebModules\FileManager inside ThePhile web applicatoin project). When I try to build the solution i get the error message:
Error 1 'BrowseFiles': member names cannot be the same as their enclosing type ***\My Documents\Visual Studio 2005\WebSites\ThePhile\Modules\FileManager\BrowseF iles.aspx 60

Error 2 'EditFile': member names cannot be the same as their enclosing type ***\My Documents\Visual Studio 2005\WebSites\ThePhile\Modules\FileManager\EditFil e.aspx 15

Thanks in advance

Old September 30th, 2006, 10:34 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts

You need the Web Application Project download for VS 2005 to add the legacy project support for ASP.NET 2.0.

But it's going to be a big job to port this to 2.0, and you still won't learn the super new productivity boosters in 2.0 if you merely port this site.

If you pick up a copy of the second edition you'll be EXTREMELY glad you did. It's a whole new web site engineered to serve as a good example of how to leverage the new features in ASP.NET 2.0.

If you insist on porting ThePhile in 2.0, I advise that you use great care with the File Manager module. You should probably change it to use Forms Auth, and you need to fix the security bugs. It's far better if you don't use it at all and just use FTP to manage the files. The risk is great if you have any security weaknesses. You can search for some of my old postings here about the security holes in that module.


Similar Threads
Thread Thread Starter Forum Replies Last Post
plzz Help therisingsun ASP.NET 1.0 and 1.1 Basics 3 September 5th, 2005 01:50 AM
plzz help me shami J2EE 0 August 24th, 2003 11:02 AM
plzz help me shami Java Databases 0 August 24th, 2003 11:00 AM
plzz help me shami Pro JSP 0 August 24th, 2003 10:56 AM
plzz help me shami Classic ASP Databases 1 August 23rd, 2003 03:02 PM

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