Wrox Programmer Forums
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion 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
Old October 15th, 2015, 10:21 AM
Friend of Wrox
Join Date: Mar 2011
Posts: 126
Thanks: 39
Thanked 2 Times in 2 Posts
Default Using Linq to SQL classes via .Net


Hope that I'm posting this in the correct form.

My project at work is using Linq to SQL classes and I am unsure as to why things have been implemented using this.

I've been reading a lot about Lint to SQL classes - seems that they can create performance issues. We have been having performance issues and I'm guessing it may be because of this.

Some questions:
1) Is Linq to SQL even a recommended tool to be using?
2) What are some options to using Linq?

Thank you.
Old October 16th, 2015, 02:56 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

>> Is Linq to SQL even a recommended tool to be using?

It depends. It's a bit dated and a more modern choice would be Entity Framework. However, one of the busiest sites on the internet, the StackOverflow family of sites uses Linq to SQL so it's certainly a viable choice. If you have performance problems it's likely in the implementation (large joins for example) and not in the framework itself.

>> What are some options to using Linq?

That's too broad a question to answer. I recommend you get some books or tutorials dealing with Linq to SQL and familiarize yourself with the technology and then come back here with specific questions.


Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
Tulsi (October 16th, 2015)

Similar Threads
Thread Thread Starter Forum Replies Last Post
LINQ or T-SQL? DennisE ASP.NET 4 General Discussion 2 October 29th, 2011 11:36 AM
LINQ to EF and LINQ to SQL sophia BOOK: Beginning ASP.NET 4 : in C# and VB 1 October 19th, 2011 12:16 PM
LINQ to SQL or not? gvdamn BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5 2 August 20th, 2009 05:08 AM
LINQ to SQL bakm04 BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8 0 August 17th, 2009 04:07 PM
confusing in ADO.NET Entity Data Model,Linq to sql angelboy ADO.NET 5 November 21st, 2008 05:01 PM

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