Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 Search this Thread Display Modes
  #11 (permalink)  
Old August 23rd, 2003, 09:49 PM
Registered User
 
Join Date: Aug 2003
Location: Taipei, , Taiwan.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear Jennifer Bergman,

I have read the book ASP.NET Website Programming: Problem-Design-Solution, VB.NET Edition.It's really a nice book which is useful for the person who wants to study ASP.NET. However, I met some problems while running the sample code on the Visual Studio Dot Net 2003. Does the sample code only can be running on the Visual Studio Dot Net. If so, do you have any project to upgrade ASP.NET Website Programming sample code available for the Visual Studio Dot Net 2003? Where the code can be downloaded? I installed it as per readme instruction, however, there¡¦s an error message occurred. Something like this:
Can¡¦t be loaded 'Wrox.ThePhile.Web.Global'¡C

Error message:
Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="Wrox.ThePhile.Web.Global" %>

Source Code: C:\wrox\ThePhileVB\global.asax Line: 1
Version information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

Please kindly advise me how to install the phile solution running correctly.

Besides, do they have setup wizard for me to deploy the phile solution automatically? I mean that I can easily to install the project without difficulty.

Your early reply on this message would be highly appreciated.

With best regards,

David





  #12 (permalink)  
Old August 26th, 2003, 01:11 PM
Authorized User
 
Join Date: Jun 2003
Location: Carmel, IN, USA.
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have forwarded your message to the editor and our tech support dept. I do not know the answer, but they will post something too.

Regards,
Jennifer
  #13 (permalink)  
Old November 15th, 2003, 04:27 PM
Registered User
 
Join Date: Nov 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hsalamat
Default

I followed the instruction and successfully installed and build thePhile solution as well as database on my machine.
However, when I tried to visit the
page http://localhost/thePhile..I received the following error message.

thanks,
Hooman
hooman_salamat@msn.com

Error Message:
Access to the path "C:\wrox\ThePhileVB\Config\Polls.Config" is denied.

Error Stack:
System.UnauthorizedAccessException: Access to the path "C:\wrox\ThePhileVB\Config\Polls.Config" is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at Wrox.WebModules.Polls.Configuration.ModuleConfig.G etSettings() in C:\wrox\ThePhileVB\WebModules\Polls\Polls.Configur ation\ModuleConfig.vb:line 35
   at Wrox.WebModules.Polls.Business.Question.GetCurrent Id() in C:\wrox\ThePhileVB\WebModules\Polls\Polls.Business \Question.vb:line 224
   at Wrox.WebModules.Polls.Web.Controls.User.Poll.DataB ind() in C:\wrox\ThePhileVB\WebModules\Polls\Poll.ascx.vb:l ine 260
   at Wrox.WebModules.Polls.Web.Controls.User.Poll.Page_ Load(Object sender, EventArgs e) in C:\wrox\ThePhileVB\WebModules\Polls\Poll.ascx.vb:l ine 62
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain()


  #14 (permalink)  
Old November 16th, 2003, 09:28 PM
Registered User
 
Join Date: Nov 2003
Location: sheffield, derbyshire, United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by hsalamat
 I followed the instruction and successfully installed and build thePhile solution as well as database on my machine.
However, when I tried to visit the
page http://localhost/thePhile..I received the following error message.

Error Message:
Access to the path "C:\wrox\ThePhileVB\Config\Polls.Config" is denied.
This problem and solution to this particular problem is in the readme accompanying the solution code that I downloaded last week, so I suggest you try there for an answer first. Which does rather beg the question of why didn't someone fix the code instead of updating the readme.

This isn't the first or last error I've encountered with this solution (in fact solution is not a word I'd use to describe this :( ) right at the moment I'm fighting with three separate issues to do wth signing out and account management:
httpException file not found,
a link which takes me to a complaint that listing virtual directory is not allowed and this:

The error occurred in:
http://localhost/ThePhileVB/WebModul...MyAccount.aspx

Error Message:
Specified cast is not valid.

Error Stack:
System.InvalidCastException: Specified cast is not valid.
   at Wrox.WebModules.Accounts.Web.MyAccount.Page_Load(O bject sender, EventArgs e) in C:\wrox\ThePhileVB\WebModules\Accounts\MyAccount.a spx.vb:line 115
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain()

I'm not impressed with this book or the code with it, but I've now got considerable time and effort invested in figuring it out. I am a professional programmer with two years oo experience using WSBCC with java, jsp and xml, as well as having programmed in ASP previously, so I hadn't anticipated this being difficult to pick up - is it really this difficult, or is this book just a particularly bad example?

Jax

www.codeplacidly.com
  #15 (permalink)  
Old November 17th, 2003, 03:46 PM
Registered User
 
Join Date: Oct 2003
Location: Calgary, Alberta, Canada.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I bought this book because I felt that it was a "complete" solution for developing web applications. After reading it, I also felt that is was a bit complex and did not always make things clear.

Here are some of the things I would like to see in a future version of this book:

- change the target audience for the book. I think this is a great book that beginners should be able to use as well as advanced developers.
- break the solution up like a company with several applications might. For example, most companies will have business logic that is common throughout all applications as well as business logic that is specific to one application. Also, most companies will take the time to build a library of components and possible an ASP framework for all applications. One like the MVC (Model View Controller) framework comes to mind.
- use of MS patterns such as the "Data Access Application Blocks".
- creation of unit testing code (ie. NUnit)
- Implementation of Log4Net for logging.
- better separation of source. I like the DAL, BLL concepts that MS has used in the PetShop application.
- use of command line build tools such as NAnt and Want
- a complete Win32 application that uses the same business and data tiers. Possibly tie this application or portions of it into the framework using .NET Remoting.
- implement some of the other users suggestions such as:
- supply code by chapter
- Forgot My Password
- Pop-up delete confirmation
- better explanation of namespace hierarchy

As you can see, What I am looking for is a book that offers a more complete development cycle approach. I am tired of having to purchase 3-5 books everytime a new language is born and then trying to piece the bit of information from each book into one application. This is very a very daunting task to take on while learning a new language. I can completely understand to need to purchase complementary books to delve into more complex topics such as remoting, COM or the C# language.


Kevin
  #16 (permalink)  
Old June 10th, 2004, 11:05 PM
thy thy is offline
Registered User
 
Join Date: Jun 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well I have to say the same, on the start few chapter, it's still good to follow, and I really learn something there. But when going further, when more & more related with coding, it's really hard to follow. And somehow I feel if you can't understand either one of the chapter, most likely you won't be go thru all the chapter at back ...

Overall I still love this book, gotta read it again when I think I am ready ... :)

  #17 (permalink)  
Old June 11th, 2004, 10:15 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Kevin/meierk,

I don't understand how you think a book could cover all the points you mentioned, and still be appropriate for beginners. I've never seen a beginner who was ready to tackle DAAB, NUnit, NAnt, complete win32 apps, remoting, etc. Most beginners would struggle hard to understand any single one of these subjects!

To be a useful size, a book has to target a specific audience. I see this book as targetting the mid-level developer. Anyone who doesn't know anything about SQL Server, C#, or VB.NET wouldn't be ready for this book. Also, anyone who has never built a useful application in .NET is probably not ready for this book.

Many advanced people wouldn't like this book for a number of reasons. I don't want to get into these reasons right now, because these people aren't the target audience, anyway.

Once you've learned the basics, and have built a couple small apps, then you're probably ready for this book. This will pick you up from that level and it will move you to the low side of the advanced level. If you stick with it, and do a lot of debugging and modifications along the way, this will be instrumental in turning you into a seasoned .NET programmer.

This book fills a definite niche. There aren't many books that can fill this role.

Having said this, however, I really think it would be great if Wrox could publish a new edition of this book, or a more advanced book that picks up where this book leaves off.

Eric
  #18 (permalink)  
Old June 14th, 2004, 11:45 AM
Registered User
 
Join Date: Oct 2003
Location: Calgary, Alberta, Canada.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

englere, after reading my original post, I agree that a book that a covered all of the proposed topics would not be suitable for beginners, however, some of the more basic topics such as Log4Net, DAL and BLL may.

I would like to propose a new concept in writing books that may be suitable. How about a follow-up book(s) for advanced users that basically performs major refactoring on the existing project to incorporate my suggestions. I don't know of any set of books that takes a developer through an entire project across multiple books from beginner to advanced topics. I belive this book is a great candidate.

I agree that this book was an excellent book and I learned a lot from it. I fact, I have suggested it to friends as well. However, having worked with Java (MVC, Log4J, JUnit, Servlets, JSP, etc) for over 4 years, I found the book didn't quite cover what I needed.

A possible topic for a follow-up book might be "ASP.NET Programming, Refactoring an existing project using XP, Microsoft Application Blocks and Open Source".

What do you think?

Kevin
  #19 (permalink)  
Old June 18th, 2004, 09:51 AM
Registered User
 
Join Date: Jun 2004
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found the book very hard to follow, especially when building the solution from scratch. At least the first 4 chapters. But I stuck with it, and checked the readme file and then it was OK, it was like the pieces of a puzzle somehow all fell into their place. I think the architecture is very sound, but I am still getting the SideIdentity casting error, even though I did as was recommended in the readme... very annoying.

  #20 (permalink)  
Old July 3rd, 2004, 06:37 AM
Registered User
 
Join Date: Jul 2004
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

engler, your statement is rather simple and could be misinterpreted as insulting for many professionals:

-First of all, the backcover page says "This book is inttended for developers who use ASP.NET and Visual Basic.NET; Devs who uses Visual Studio .NET Professional or earlier". Let's say, no rating is made. In addition, no mention to SQL Server is made; however I think that's not the point: I'm not even an advanced SQL Server user and I'm able to manage tables, data, queries from ASP.NET with no problem. So I don't think a particular skill level is needed. The authors' approach is simply obscure.

In addition:
-Obsolescence: The edition I bought is (c)2003, but actully acquired in june 2004. In this time .NetFramework 1.1 and VS 2003 were released, so the Transform() method became obsolete, A fourth parameter Nothing must be added. I'm a newbbie in asp.net but I found out how to tackle that issue myself and I think any other programmers have found out too thenselves at this stage. No mention in Errata section of the download site, nor in the latest edition of the book.

-Secondly, the download kit is quite unprofessional: why there is no script to replace server name references from DOMAIN\Author to Localhost, which by the way, is not consistently placed, sometimes in the code you find DOMAIN\Author, sometimes Localhost, sometimes 127.0.0.1, etc

-Third, the fact that C:\wrox\thephile pathname is hardcoded in many of the .config files is just disappointing. Why don't using XML parameters since in this book is introduced other XML techniques, like XSLT?

-Fourth: no rating for developers is made, which would be a suggestion for future editions.

I thinkg such technical books need maintenaince, there are not novels, they need a ninimum care, but that's the Editor's choice.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Chapter 2 Unable to follow instructions GarethHowell BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 4 July 9th, 2008 03:49 AM
deployment chapter hard to follow robert BOOK: ASP.NET Website Programming Problem-Design-Solution 3 June 20th, 2003 12:22 PM



All times are GMT -4. The time now is 05:50 PM.


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