Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! (Pro...  To LINQ or not to LINQ, that is the question
Previous Previous
 
Next Next
New Post 5/22/2008 12:08 PM
User is offline CT
50 posts
10th Ranked


Re: To LINQ or not to LINQ, that is the question 

LINQ is definitely worth the effort, and I am continuing with it now after couple weeks into it.

However, there are some gotchas, drawbacks, and bugs. Not all theoretical design recommendations for use of various controls and approaches are supported by working demos and examples.

So if you do not want to waste time running into gotchas and bugs, just make sure you follow the design patterns of published demos and examples already available on the web. Otherwise, feel free to experiment with new combinations of controls and approaches!

CT


CT
 
New Post 5/22/2008 12:27 PM
User is offline Charles Nurse
2769 posts
5th Ranked










Re: To LINQ or not to LINQ, that is the question 

Remember LINQ is actually nothing more than a Querying Language built into the .NET core languages.

Using LINQ to Objects (ie querying over any collection that implements IQueryable or IEnumerable) is trivial in the DNN environemnt - and will have no impact on any other dnn module.

I suspect from comments here that what people are really discussing is "LINQ to SQL" - which is a a combination of the LINQ language together with a data abstraction layer that exposes your Database elements as "IQueryable" objects.  Michael is very passionate about the use of LINQ to SQL and to a degree I support him in this feeling - you do have to be aware of its limitations though.

The major issue is that it is difficult to manage {objectQualifier}s so if you are expecting to distribute a module built with LINQ you will need to be aware of this.


Charles Nurse
DotNetNuke Trustee,
Senior Architect, DotNetNuke Coporation
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
See my Blog for Articles on .NET, DNN and Module Development

View my Blog
 
New Post 5/22/2008 12:57 PM
User is offline Michael Washington
2661 posts
ADefWebserver.com
5th Ranked










Re: To LINQ or not to LINQ, that is the question 

 Charles Nurse wrote

The major issue is that it is difficult to manage {objectQualifier}s so if you are expecting to distribute a module built with LINQ you will need to be aware of this.

Yes and as of now I do NOT have a solution for this.



Michael Washington
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
New Post 5/22/2008 1:48 PM
User is offline CT
50 posts
10th Ranked


Re: To LINQ or not to LINQ, that is the question 

Charles,

You are absolutely right. Definitely you discuss one of the gotchas I've been dealing with.

By the way, in terms of LINQ to SQL, are there any plans to support it in DNN Cambrian with a SQLExceptionHandler to catch any SQL exceptions gracefully and display either friendly messages and/or developer messages without shutting down the DNN page load?

Providing a useful and helpful SQL exception handler well integrated into the database provider for DNN might facilitate better future integration and development of LINQ to SQL based modules for DotNetNuke.

CT


CT
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! (Pro...  To LINQ or not to LINQ, that is the question
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com
DotNetNuke Marketplace - Modules & Skins
The DotNetNuke Marketplace is the official e-commerce gateway for the DNN ecosystem. It's the place to buy and sell DotNetNuke modules, DotNetNuke skins, and other DNN offerings.
DotNetNuke Marketplace
ExactTarget Email Marketing Software and Solutions
ExactTarget delivers on-demand email software solutions for permission-based email marketing. ExactTarget offers solutions that meet the needs of all industry verticals and all size organizations, including SMB, corporate divisions, not-for-profits, large retail/direct marketers, agencies and enterprises.
ExactTarget.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP