News

join in LINQ to SQL and LINQ to Entities Considered Messy, Redundant

Author: Alf Christophersen In this post I will demonstrate that use of the join keyword in LINQ to SQL and LINQ to Entities is nearly always wrong. LINQ queries which you write with the join keyword are harder to read and write than queries you write using associations, and they require knowledge of database metadata which is not required otherwise. This introduces the potential for errors and…
Read more
News

In LINQ, Beware of Skip(0)

Author: Marc Geldon Calling IQueryable<T>.Skip(0) seems like it should be “free.” In other words, since it will have no effect on the resulting data, there should be little to no performance cost for calling it. But this is demonstrably not true in LINQ to…
News

Using DayPilot with ASP.NET MVC

Author: Craig Stuntz I’m going to demonstrate how to use the open-source DayPilot Lite calendar control in an ASP.NET MVC application. I will discuss the capabilities of the control and consider the general problem of how to use controls designed for…
News

Using jqGrid with ASP.NET MVC: Deleting Records

Author: Craig Stuntz This is the fifth post in a series on using jqGrid with ASP.NET MVC. Today, we’re going to begin examining the grid’s editing features by implementing deletes. If you’re new to the series, you might want to start at the beginning. The delete feature of jqGrid is, oddly, almost entirely undocumented, even though there quite a few examples of different methods of…
Read more
News

Using jqGrid with ASP.NET MVC: LINQ Extensions

Author: Craig Stuntz Mere hours after I posted the first in a planned series of posts on using jqGrid in ASP.NET MVC applications, Phil Haack, a rather-more-widely-read-ASP.NET-MVC-blogger, wrote a long post on, er, exactly the same thing. Who, me, bitter? Naahhh… 🙂 But…
News

Using jqGrid with ASP.NET MVC: Introduction

Author: Herwig H10162 This is the first post in a short series on using the jqGrid jQuery plug-in with ASP.NET MVC. In this short introduction I will describe the plug-in, list some of its strengths and weaknesses, and explain why we selected it for our MVC applications. In the next few days, I will give detailed information about how to use the grid in your own applications. jqGrid provides a…
Read more
News

ASP.NET MVC TempData Is Really RedirectData

Author: Craig Stuntz Update: This post was written for MVC 1. TempData behaves completely differently in MVC 2 Beta and higher. In these versions, TempData is cleared only when it is read (or when the session expires). Many people seem to be confused about the TempData…
Delphi

Writing games with Delphi. Ideas?

Author: Aaron Rosenberg How would you approach creating a game with Delphi? I keep playing with Delphi Prism and recently downloaded XNA Game Studio 3.0. It installs very nicely into Delphi Prism. I wonder what is the most commonly used software for creating games that will…