Resharper 4.0 good news and a little WPF databinding

It’s been tough doing development in Visual Studio 2008 without ReSharper for the last several months, but as much as I enjoy ReSharper, C# 3.0 trumps it. I’ve occasionally installed the Nightly Builds of ReSharper 4.0, but the sea of red around my LINQ code always resulted in the install not lasting very long. Luckily, the most recent “works here” nightly build of ReSharper 4.0 (build 755) looks pretty usable. The only notable issue I’ve found is that it doesn’t like non-trivial LINQ queries inside of static methods, which is a pain but perhaps not a showstopper.

Speaking of LINQ, Brian Stoker has a nice introduction to WPF Databinding with LINQ to SQL over on The Code Project. I’ve been meaning to learn more about this for a while and Brian’s article did a great job of introducing enough information to get something up and running without being overwhelming.

6 Responses to “Resharper 4.0 good news and a little WPF databinding”

  1. Ilya Ryzhenkov says:

    Could you please give us some examples of “non-trivial LINQ queries inside of static methods”, which ReSharper doesn’t understand? Thanks.

  2. KenR says:

    Hi Ilya — I left more details in a ReSharper feedback submission yesterday, but I know the two main constructs that were flagged as errors were related to scoping on “let” and “join”. Later uses of the bindings introduced by each were flagged as errors. I don’t have access to code at the moment, but I’ll send along a few actual queries later.

  3. hans190271 says:

    I’m looking into buying resharper but don’t know a whole lot about the
    product. Is it worth spending the money.
    What are the weaknesses and strengths .. i.e. what type of code redundancies can resharper fix ? (their page is kind of fuzzy about that )
    Or .. if you know a link that has all this info . just send me an email .. and forget about this post

  4. KenR says:

    Do a Google blog search on Resharper and you’ll find all sorts of details about Resharper that people love. Is it worth the money? I’m not thrilled about their upgrade policies (no maintenance available and 4.0 will be the 3rd paid upgrade in less than 2 years), but yes, it’s absolutely worth the money. Try the trial version and see if you like it — IIRC it’s 30 days and I can vouch that the earlier versions at least uninstalled cleanly while I was evaluating them.

  5. Keep up the interesting posts. I love to see keen bloggers!

  6. Just added a link to your site from mine, great blog.

Leave a Reply