Getting started using Linq, what do I need?

后端 未结 12 1710
清酒与你
清酒与你 2021-02-14 07:59

Basically what the title says. (Forgive me because I am a .NET newb)

In my department, we have a server running .net 3.5 and ever since I got into this section I have be

相关标签:
12条回答
  • 2021-02-14 08:10

    probably should read Scott Guthries series of articles on LINQ:

    Here are links to the various 8 parts. you will need framework 3.5 if I am not mistaken to make this work.

    The series with detailed step by step instructions starts here: Part 1

    0 讨论(0)
  • 2021-02-14 08:14

    You actually only need .net 3.5 on the development machine. If you have 2.0 SP1 on the server, and you set all the .net references in your project of version 3.5.0.0 to "copy local", you can run a 3.5 executable on a 2.0 machine.
    makeitlooklikethis http://img90.imageshack.us/img90/4217/35haxxx2.png

    As a side note, you may have to delete the yourexecutable.exe.config in order for it to run. For some reason 2.0 sp1 has issues with .configs created by 3.5

    I have two live apps running with this setup currently, it works very well.

    0 讨论(0)
  • 2021-02-14 08:20

    I would encourage you to check out LinqPad as a learning tool. It's a standalone application that lets you play with Linq queries without worrying about getting it to run on a server.

    0 讨论(0)
  • 2021-02-14 08:24

    I'm assuming you're talking about LINQ to SQL specifically.

    You would only need v3.5 of the framework installed on your development machine and the server.

    The server doesn't run linq; linq will in the end send SQL statements to your server.

    The language doesn't matter.

    0 讨论(0)
  • 2021-02-14 08:25

    Keep learning LINQ in simple by following Hooked on LINQ

    0 讨论(0)
  • 2021-02-14 08:27

    LINQ requires .NET v3.5

    An excellent tool for getting to know and practice LINQ is Joseph Albahari's LINQPad

    0 讨论(0)
提交回复
热议问题