Linq

There are 7 entries for the tag Linq
A quick collection of useful .NET related links

LightSpeed 3.1 released – Eeek, I missed mentioning the release of fellow New Zealanders Mindscape as they released version 3.1 of their LightSpeed O/RM product last month. Some great looking features in there – obviously Visual Studio 2010 support is a must, but saved quick views into the model is something which has my mouth watering, and splitting large models into multiple files is a a nice feature too. Simplify, Shorten and Speed Up Your LINQ Statements with "Let" – a useful LINQ tip. A little bit of refactoring ahoy for me in a few places now I think....

posted @ Monday, June 07, 2010 4:25 AM | Feedback (0)

Don't do as Johnny don't does.

Originally from dotnet-snippets this lovely piece of code shows the power and danger of LINQ in one go: var files = from file in new DirectoryInfo(@"C:\").GetFiles()             where file.Name.StartsWith("_")             select file; Sure, you could use that piece of code to search for files… but don't. (Although surely it can't be long before someone adds deferred execution support for a filesystem? Maybe it's coming in WinFS Forever?) Tags: LINQ

posted @ Thursday, October 02, 2008 8:37 PM | Feedback (2)

LINQ issue sorted

The answer to my LINQ query turned out to be pretty simple in the end – all I needed to do was run my query against a list. I.e.: args.Result = from userimage in db.UserImages becomes args.Result = from userimage in db.UserImages.ToList() (Thanks Blair!) Tags: LINQ

posted @ Thursday, June 12, 2008 10:14 PM | Feedback (0)

Quick LINQ question

I'm throwing this out there hoping there's a LINQ guru lurking among my readership somewhere. I'm trying to add a Row Number Column to a LINQ query. In fact, this looks to be exactly what I want to do, however his example won't compile for me - "An expression tree may not contain an assignment operator". I'm hoping there's something simple and obvious I've missed. My code looks something like: int i = 1; args.Result = from userimage in db.UserImages               where userimage.UserID == userGuid.Value ...

posted @ Monday, June 09, 2008 11:25 PM | Feedback (2)

If you're using a loop, you're doing it wrong

"If you're using a loop, you're doing it wrong" by Chuck Jazdzewski is a quick primer to LINQ. It's a reminder that a lot of developers are going to make a conscious effort to change the way they approach problem solving when they're using LINQ. Of course any ex Notes/Domino developers with @Function programming experience will be used to stringing operators together, so they should be right at home! Tags: LINQ

posted @ Wednesday, April 09, 2008 5:01 PM | Feedback (0) Filed Under [ C# ]

LINQPad

  LINQPad is a handy tool for anyone who works with LINQ: LINQPad is more than just a LINQ query tool: it's a code snippet IDE. Instantly execute any C# 3 or VB 9 expression or statement block! Best of all, LINQPad is free and needs no installation: just download and run.  The executable is under 2MB and is self-updating. Fun! Tags: ASP.NET , SQL , LINQ

posted @ Tuesday, March 11, 2008 4:46 PM | Feedback (0) Filed Under [ ASP.NET SQL ]

Developing Linq for LLBLGenPro

Fans Bouma is documenting the process of adding linq support to LLBLGenPro in a series of posts. One of the pingbacks named the series "A diary of LINQ pain" which sounds pretty appropriate! Tags: LLBLGenPro, Linq

posted @ Sunday, September 16, 2007 5:11 PM | Feedback (0) Filed Under [ ASP.NET Web Development C# ]

About me

My name is Ross Hawkins and I'm a developer, consultant, business owner and writer based in Auckland, New Zealand (pictured below!). My current work revolves around ASP.NET, C#, jQuery, Ajax, SQL Server, and a mix of other Microsoft development technologies.

I also have about 15 years of experience with IBM Lotus Notes/Domino and associated technologies. While Notes/Domino is no longer my primary focus I still like to dabble and keep my skills up to date.

I own and run 2 businesses - Hawkins Consulting Services, and Ignition Development.

Bethells Beach, located in sunny West Auckland, New Zealand




Subscribe

Subscribe to this feed


Search




Popular Content

Troubleshooting WebResource.axd

The .NET 2.0 framework changed the way clientside JavaScript is delivered to the browser. Previously, ASP.NET 1.1 used the aspnet_client directory whereas now 2.0 uses WebResource.axd.

Published on October 8, 2006

jQuery Wildcard Selectors - some simple examples

I wrote about jQuery wildcard selector syntax briefly back in 2009, and since then that post has received a lot of views – way more than a post that brief should ever have seen..

Published on October 14, 2011

Microsoft AJAX Extensions: Sys.Debug is null or not an object

One of the breaking changes which was made with the 1.0 release of the Microsoft Ajax Extensions was the renaming of the 'Debug' class to 'Sys.Debug' for reasons of compatiability with other frameworks. Breaking changes like this can often be a source of frustration..

Published on May 22, 2007

Simple ASP.NET Character Counter

A textbox character counter is a pretty simple piece of functionality, and there's a lot of different ways to apply one to your application. The following method is nice and simple, and can be done using only clientside JavaScript if required, or combined with server side code in order to create a more dynamic effect

Published on December 4, 2006

Simple ASP.NET Character Counter - with Master Page Support

A quick update to my previous character counter article adding some changes for those using it with Master Pages.

Published on February 7th, 2009

Adding Tooltips to Gridview Headers

As the title says, this is a very simple but dynamic way of achieving tooltip text on a header column. It's not overly flash, but it's lightweight and quick to implement.

Published on April 15, 2007

SQL Server Web Report Viewer Issues on Windows 2008 Server/IIS7

A fix for another AXD related issue, this time with the SQL Server Web Report Viewer Control which was being served up via IIS7 on a Windows 2008 server.

Published on June 2, 2007
Updated on April 10, 2008





Archives

June, 2013 (2)
May, 2013 (3)
April, 2013 (2)
March, 2013 (2)
February, 2013 (3)
January, 2013 (5)
December, 2012 (4)
November, 2012 (4)
October, 2012 (3)
September, 2012 (3)
August, 2012 (4)
July, 2012 (1)
June, 2012 (4)
May, 2012 (2)
April, 2012 (4)
March, 2012 (2)
February, 2012 (4)
January, 2012 (3)
December, 2011 (3)
November, 2011 (8)
October, 2011 (9)
September, 2011 (8)
August, 2011 (5)
July, 2011 (4)
June, 2011 (7)
May, 2011 (5)
April, 2011 (3)
March, 2011 (8)
February, 2011 (4)
January, 2011 (3)
December, 2010 (8)
November, 2010 (5)
October, 2010 (6)
September, 2010 (7)
August, 2010 (11)
July, 2010 (12)
June, 2010 (8)
May, 2010 (8)
April, 2010 (4)
March, 2010 (8)
February, 2010 (6)
January, 2010 (12)
December, 2009 (13)
November, 2009 (11)
October, 2009 (12)
September, 2009 (12)
August, 2009 (2)
July, 2009 (7)
June, 2009 (12)
May, 2009 (9)
April, 2009 (9)
March, 2009 (9)
February, 2009 (8)
January, 2009 (7)
December, 2008 (6)
November, 2008 (7)
October, 2008 (9)
September, 2008 (12)
August, 2008 (9)
July, 2008 (6)
June, 2008 (24)
May, 2008 (13)
April, 2008 (16)
March, 2008 (8)
February, 2008 (10)
January, 2008 (1)
December, 2007 (14)
November, 2007 (11)
October, 2007 (11)
September, 2007 (13)
August, 2007 (11)
July, 2007 (5)
June, 2007 (15)
May, 2007 (11)
April, 2007 (9)
March, 2007 (9)
February, 2007 (10)
January, 2007 (8)
December, 2006 (18)
November, 2006 (11)
October, 2006 (14)
September, 2006 (9)
August, 2006 (10)
July, 2006 (4)
June, 2006 (4)
May, 2006 (6)
April, 2006 (3)
February, 2006 (6)
January, 2006 (10)
September, 2005 (2)
August, 2005 (4)

Post Categories

ASP.NET
AJAX
Amusing
NZ
NZ Trains
Notes/Domino
Visual Studio
Web Development
Miscellaneous
Me
Rugby
C#
SQL