Browse by Tags
All Tags »
LINQ (RSS)
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...
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...
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
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...
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 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
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...
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...
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
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...
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...
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
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
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...
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