 |
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 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
|
|
|
|

May 5th, 2008, 03:33 PM
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
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
================================================== =========
|

May 5th, 2008, 03:42 PM
|
 |
Wrox Author
|
|
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
|
|
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. :)
|

May 5th, 2008, 03:46 PM
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
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
================================================== =========
|

May 6th, 2008, 11:29 AM
|
Authorized User
|
|
Join Date: Sep 2006
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

May 6th, 2008, 11:34 AM
|
 |
Wrox Author
|
|
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
|
|
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.
|

May 6th, 2008, 11:47 AM
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
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
================================================== =========
|

May 9th, 2008, 12:25 PM
|
 |
Wrox Author
|
|
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
|
|
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.
|

January 7th, 2009, 10:06 AM
|
Friend of Wrox
|
|
Join Date: Dec 2008
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
|
|
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
|

January 7th, 2009, 10:44 AM
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
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:
|
|

January 7th, 2009, 11:13 AM
|
Friend of Wrox
|
|
Join Date: Dec 2008
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
|
|
thanks
Rachel
|
|
 |