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 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 Display Modes
  #11 (permalink)  
Old March 21st, 2008, 02:56 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 Jimi,
   Two things:

First: Jim is working on the code download and it should be available relatively soon.
Second: While this is something I would definately consider writing, I can't say that it would or will be published since I don't control that, Jim does, but I could say something to him about it! =]

-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
================================================== =========
  #12 (permalink)  
Old March 21st, 2008, 03:11 PM
Friend of Wrox
 
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 10 Times in 9 Posts
Default

doug - that all sounds very encouraging (and jim, if you're listening, it's a great idea!! :-)) and would definately make it a great resource. I've had a skim thro' the current version and like what i see (also i find it quite easy to follow which is a bonus). as i said, i'll have a proper read and get back with comments/suggestions (if there are any) in due course.

all the best..

jimi

http://www.originaltalent.com
  #13 (permalink)  
Old March 21st, 2008, 04:26 PM
jminatel's Avatar
Wrox Staff
Points: 17,437, Level: 57
Points: 17,437, Level: 57 Points: 17,437, Level: 57 Points: 17,437, Level: 57
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,933
Thanks: 57
Thanked 128 Times in 97 Posts
Default

I've updated the original post here with a temporary link to the code. Sorry about this. I must have jumped the gun and told everyone about this before the code was posted.
As for another Blox, Doug is working on one on another topic right now, and by the time he's done with that, we should have a better idea of the demand and if more users here need it. One of th many great things about Wrox Blox is, we can get them done quickly and treat them almost like a version of on demand publishing: show us the demand, we'll find a way to publish!

Jim Minatel
Acquisitions Director
Wiley Technology Publishing
WROX Press
Blog: http://wroxblog.typepad.com/
Wrox online library: http://wrox.books24x7.com
  #14 (permalink)  
Old March 21st, 2008, 06: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

So when will I have a Wrox Publishing On Demand option through my cable provider? ;]

================================================== =========
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
================================================== =========
  #15 (permalink)  
Old March 22nd, 2008, 01:55 PM
Friend of Wrox
 
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 10 Times in 9 Posts
Default

doug - i've both downloaded the code and looked thro the doc. i know that this example is just for articles but am i to assume that ALL code for all the linq stuff would go in the single TBH.dbml file?? from an organisational perspective (as well as the idea of doing discreet 'plug-ins'), this doesn't seem like a great idea. I'd imagined that there would be a folder under the DAL for each provider (i.e. Articles, Forums etc) that contained their own TBH.dbml file. maybe this is possible when extending the idea but for me, that was one of the things that struck me as being kinda 'un-organised' in the whole linq - sql example. please don't take this as a criticism of anything you've done as it could well be that the focus on just Articles is what is driving this decision, as well as the general way that linq operates (at the moment).

hope this makes sense and my point is valid without raising more questions than it answers :-).

jimi

http://www.originaltalent.com
  #16 (permalink)  
Old March 22nd, 2008, 08:04 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

Since the DBML file is simply an abstraction of the database itself you could theoretically have multiple DBML files for each section. Since any LINQ command you issue is ultimately converted into SQL and then executed against the datastore itself, this shouldn't be a problem.

The only thing you might have an issue with is in the case where, hypothetically, a poll post would have a relation to something in the Artiles table and you wanted to navigate that Relationship via LINQ.

However, since the DBML files are partial classes by nature, if all of your classes shared the same class name, this shouldn't be to much of a problem but I would like to stress that this theory only and I have not actually tried it so am unsure of an exact answer.

Does that make sense?



================================================== =========
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
================================================== =========
  #17 (permalink)  
Old March 23rd, 2008, 02:29 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 10 Times in 9 Posts
Default

Quote:
quote:Originally posted by dparsons
 So when will I have a Wrox Publishing On Demand option through my cable provider? ;]

================================================== =========
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
================================================== =========
doug, yes that does make sense and i had considered the partial class approach to the issue, so perhaps this would be the way around this.

well, heading off now so catch up at some point over the next 3 weeks connectivity permitting...

keep 'em coming

jimi

http://www.originaltalent.com
  #18 (permalink)  
Old March 24th, 2008, 02:06 PM
jminatel's Avatar
Wrox Staff
Points: 17,437, Level: 57
Points: 17,437, Level: 57 Points: 17,437, Level: 57 Points: 17,437, Level: 57
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,933
Thanks: 57
Thanked 128 Times in 97 Posts
Default

FYI, I've updated the original post but here as well, the code is available at the standard location now:
http://www.wrox.com/WileyCDA/WroxTit...-DOWNLOAD.html

Jim Minatel
Acquisitions Director
Wiley Technology Publishing
WROX Press
Blog: http://wroxblog.typepad.com/
Wrox online library: http://wrox.books24x7.com
  #19 (permalink)  
Old March 24th, 2008, 02: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

Thanks Jim.

================================================== =========
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
================================================== =========
  #20 (permalink)  
Old March 25th, 2008, 10:47 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: , , .
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to vantoko
Default

wow, this looks nice.
I definitly will dive into this

 


Thread Tools
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 09:30 AM.


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