Welcome to Sol 3 Sign in | Join | Help

ASPInsiders

Aggregation of ASPInsiders and Microsoft ASP.NET team member blogs.

Browse by Tags

All Tags » LINQ   (RSS)
The Weekly Source Code 56 - Visual Studio 2010 and .NET Framework 4 Training Kit - Code Contracts, Parallel Framework and COM Interop
Do you like a big pile of source code? Well, there is an imperial buttload of source in the Visual Studio 2010 and .NET Framework 4 Training Kit . It's actually a 178 meg download, which is insane. Perhaps start your download now and get it in the morning Read More...
Using EF “Code First” with an Existing Database
Last month I blogged about the new Entity Framework 4 “code first” development option.  EF “code-first” enables a pretty sweet code-centric development workflow for working with data.  It enables you to: Work with data without ever having to Read More...
A Cool / Unexpected Refactoring around .Net C# Locking Issue
I’m constantly amazed by the insightfulness of ReSharper’s suggested refactorings (ReSharper is a Visual Studio Addin from JetBrains I use with C#). Today, I’ve been working on a threading problem...

This site is a resource for asp.net web programming. It has examples by Peter Kellner of techniques for high performance programming
The Weekly Source Code 52 - You keep using that LINQ, I dunna think it means what you think it means.
Remember good developers don't just write source code, they also READ it. You don't just become a great poet by writing lots of poems. Read and absorb as well. Do check out the Source Code category of my blog here , there's (as of today) 15 pages of posts Read More...
ReSharper 5.0’s LINQ Refactoring Continues to be Amazing!
  In this post, we’ll take a straight forward procedure based set of code and convert it to LINQ using a ReSharper from JetBrains suggestion.   The initial code is as follows: int...

This site is a resource for asp.net web programming. It has examples by Peter Kellner of techniques for high performance programming
This Is My New Post
  This is an article line items 1111 2222 3333     my pdf This is the text This is the end.

This site is a resource for asp.net web programming. It has examples by Peter Kellner of techniques for high performance programming
Simplify Your Code with LINQ
I’m a big fan of LINQ and use it wherever I can to minimize code and make applications easier to maintain overall. I was going through a code file today refactoring it based on suggestions provided by Resharper and came across the following method: private Read More...
The Weekly Source Code 51 - Asynchronous Database Access and LINQ to SQL Fun
You can learn a lot by reading other people's source code. That's the idea behind this series, " The Weekly Source Code ." You can certainly become a better programmer by writing code but I think good writers become better by reading as much Read More...
Small LINQ Trick for Converting List<String> to String Text List
  Here is a shorthand way for converting a list of strings defined as follows: List<string> strings = new List<string> [...]

This site is a resource for asp.net web programming. It has examples by Peter Kellner of techniques for high performance programming
Linq2Sql: How to join tables on more than one column
You can join two tables in Linq2Sql by using an anonymous type to specify the join.  var r =     from o in db.Orders     join p in db.Products on o.ProductId equals p.ProductId     join pu in db.ProductUsers Read More...
How to get an indexed item of an IEnumerable object (Linq)
If you have an IEnumerable<T> collection of some objects T and you need to get a particular item out of that collection, you cannot use the standard indexing that you would normally use with brackets ([index]).  If you try you will get an error Read More...
Adding A Sessions Page That Includes a Query Parameter In Silverlight VS2010 Beta2 (Article 6 of 7)
  Title Of Each Article Video Included With Each Post Part 1 Introduction To RIA Services In Silverlight (This Article) 7 Minutes Part 2 Basic RIA Services And DataGrid With  VS 2010 Tooling 14...

This site is a resource for asp.net web programming. It has examples by Peter Kellner of techniques for high performance programming
Most Amazing ReFactor Using ReSharper EAP 5.0 I’ve Seen!
  This one is just to amazing to not blog about.  I’ve been a die heart ReSharper user for quite a while and recently have started using their early access versions.  Primarily...

This site is a resource for asp.net web programming. It has examples by Peter Kellner of techniques for high performance programming
Events This Week – November 9th, 2009
Here are the events listed in Community Megaphone for the next week (or so) for the Mid-Atlantic area, as well as webcasts of interest…this list includes events imported from the UGSS event calendar , and all events entered in Community Megaphone are Read More...
Converting From System.Data.Linq.Binary to String and Back
  Just a quick post in case anyone is wasting 10 minutes figuring out how to do this.  For me, this came up because in Sql Server 2008, NVARCHAR(MAX) is 4000 characters and I needed...

This site is a resource for asp.net web programming. It has examples by Peter Kellner of techniques for high performance programming
More Posts Next page »