Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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
  #41 (permalink)  
Old May 5th, 2008, 03:33 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Hi Lee,
   I assumed by that point in Blox the reader should be familiar with needing to change the objects within the DBML file from Auto to a specific type for the code to work correctly. However, thanks for clarifing that for anyone that may be having a problem.

-Doug

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
  #42 (permalink)  
Old May 5th, 2008, 03:42 PM
Lee Dumond's Avatar
Wrox Author
Points: 4,942, Level: 29
Points: 4,942, Level: 29 Points: 4,942, Level: 29 Points: 4,942, Level: 29
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2008
Location: Decatur, IL, USA.
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Quote:
quote:Originally posted by dparsons
 Hi Lee,
   I assumed by that point in Blox the reader should be familiar with needing to change the objects within the DBML file from Auto to a specific type for the code to work correctly. However, thanks for clarifing that for anyone that may be having a problem.
That's what I figured, but it may not be that obvious to some folks.

By the way, I am currently working on an alternative approach to LINQ-ifying the BeerHouse, and will welcome your comments on it. :)

  #43 (permalink)  
Old May 5th, 2008, 03:46 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

No problem, I would love to see them! =]

-Doug

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
  #44 (permalink)  
Old May 6th, 2008, 11:29 AM
Authorized User
 
Join Date: Sep 2006
Location: , , .
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do you guys recommend going through some other, more basic LINQ tutorials, before sinking teeth into Doug's Blox for TBH?

Will there be a LINQ to Entities WroxBlox for the BeerHouse coming? What about TBH to NHibernate? :-)

Alex
  #45 (permalink)  
Old May 6th, 2008, 11:34 AM
Lee Dumond's Avatar
Wrox Author
Points: 4,942, Level: 29
Points: 4,942, Level: 29 Points: 4,942, Level: 29 Points: 4,942, Level: 29
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2008
Location: Decatur, IL, USA.
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Quote:
quote:Originally posted by rocco50
 Do you guys recommend going through some other, more basic LINQ tutorials, before sinking teeth into Doug's Blox for TBH?

Alex
Not really. It's pretty basic stuff, and the way Doug presents it makes it very easy to understand and follow.

  #46 (permalink)  
Old May 6th, 2008, 11:47 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

As Lee has already pointed out most, if not all, of the examples in the Blox are very basic and straightforward so, to that end, you should not have any problem following the examples. Of course, if you do, you can always post here and I can assist you with any problems you might be having.

In so far as a L2E or NHibernate version of this Blox, I can not say as Jim ultimately makes that decision. As I said throughout this thread: I would not be opposed to writing another article on some of the topics that have come up as a result of this Blox but I just wrapped on another Wrox project and am looking forward to a tiny amount of R&R!

-Doug

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
  #47 (permalink)  
Old May 9th, 2008, 12:25 PM
Lee Dumond's Avatar
Wrox Author
Points: 4,942, Level: 29
Points: 4,942, Level: 29 Points: 4,942, Level: 29 Points: 4,942, Level: 29
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2008
Location: Decatur, IL, USA.
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Quote:
quote:Originally posted by dparsons
 No problem, I would love to see them! =]

-Doug
Okay then. I just posted [u]LINQ-ifying TheBeerHouse - An Alternate Approach</u> here:

http://p2p.wrox.com/topic.asp?TOPIC_ID=71254

I made it a new topic, as it's fairly lengthy.

  #48 (permalink)  
Old January 7th, 2009, 10:06 AM
Friend of Wrox
Points: 505, Level: 8
Points: 505, Level: 8 Points: 505, Level: 8 Points: 505, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2008
Location: , , .
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
Default problem with page 6 of download

Hi :

I just downloaded the Migrating to LINQ to SQL in TheBeerHouse and ASP.NET 2.0 Website Programming Problem Design Solution
book, and the first thing I tried to do was to paste that code on page 6 where he states:

"...you must also add a new section for TheBeerHouse to run correctly with LINQ. Open up
web.config and add the following code after the closing </system.net> tag:"

I don't have a <system.net> in my web.config file. (I'm still in chapter two of the main book. Maybe a system.net tag is added later?) So where do I put that?

Rachel
  #49 (permalink)  
Old January 7th, 2009, 10:44 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

I don't have the exact web.config on me that I used for that blox but, if memory serves me, the <system.net> section in the TBH web.config was simply the last section within the <configuration> which is why I worded the blox as I did.

Nevertheless, as long as the section within the blox is added to the <configuration> section of the web.config you should be ok. Bare in mind that these changes need to live in their own part of the web.config and not inside of another section. So, for example, this would cause an error:

xml Code:
<system.web>
<!-- TBH Code -->

<!-- Code to be inserted from the Blox -->
</system.web>

this would be correct

xml Code:
<system.web>
<!-- TBH Code -->

</system.web>

<!-- Code to be inserted from the Blox -->

</configuration>

hth.
-Doug
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================
The Following User Says Thank You to dparsons For This Useful Post:
Rachel (January 7th, 2009)
  #50 (permalink)  
Old January 7th, 2009, 11:13 AM
Friend of Wrox
Points: 505, Level: 8
Points: 505, Level: 8 Points: 505, Level: 8 Points: 505, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2008
Location: , , .
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
Default

thanks

Rachel
 


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
LINQ to SQL in TheBeerHouse zhoux BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 October 1st, 2008 07:37 AM
Technical Editor: LINQ and TheBeerHouse Wrox Blox jminatel BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 5 August 30th, 2008 12:11 AM
LINQ to SQL example for TBH - Wrox Blox Errata dparsons BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 April 26th, 2008 09:25 AM
LINQ in ASP.NET 3.5 Project Wrox Blox available jminatel ASP.NET 2.0 Professional 0 October 8th, 2007 09:29 PM
LINQ in ASP.NET 3.5 Project Wrox Blox available jminatel ASP.NET 3.5 Professionals 0 October 8th, 2007 09:26 PM



All times are GMT -4. The time now is 07:44 PM.


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