Updated: 28 November, 2021
Author: Craig Stuntz
What Is Homomorphic Encryption?
“Homomorphic” is an adjective which describes a property of an encryption scheme. That property, in simple terms, is the ability to perform computations on the ciphertext without decrypting it first. Because this tends to sound either baffling or miraculous the first time you hear it, let’s begin…
jqGrid and XSS Security
February 8, 2010
Author: Craig Stuntz
Version 3.5.2 of jqGrid included an important new feature:
Now when autoencode is set to true we encode the data coming from server and not only when we post it (secutity fix)
Prior to this, you were required to encode the data yourself.
Now personally…
Entity Framework Models and Source Control
February 3, 2010
Author: Craig Stuntz
As you’re probably aware, an Entity Framework model is stored in a single XML file, with the extension EDMX. Developers occasionally ask if this means that two people cannot work on the entity model concurrently. My answer to this is, “It…
join in LINQ to SQL and LINQ to Entities Considered Messy, Redundant
January 13, 2010
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…
JSON Types for Server Methods in DataSnap 2010
August 19, 2009
Author: Adrian Z1428
converter_1946
I am very happy I was granted permission to talk about the new features present in Delphi 2010 concerning database area.
DataSnap 2010 (DS2010) extended the list of server method parameter types with the full suite of JSON types.
It is now…
In LINQ, Beware of Skip(0)
June 10, 2009
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…
Using DayPilot with ASP.NET MVC
May 12, 2009
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 “plain” ASP.NET in MVC applications. I’m including a demo solution which you can download and run yourself.
Download the demo…
Using jqGrid with ASP.NET MVC: Deleting Records
April 29, 2009
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…
Using jqGrid with ASP.NET MVC: Search and Formatting
April 27, 2009
Author: Craig Stuntz
This is the fourth post in a series on using jqGrid with ASP.NET MVC. Today, we’re going to examine search and formatting results. I will implement a search feature and fix the problem with formatting date columns which I observed in the last post.
Using jqGrid with ASP.NET MVC: Finally, A Solution
April 17, 2009
Author: Craig Stuntz
Having introduced jqGrid and written LINQ extension methods to make supplying data to the grid easy, we’re now ready to put together a demo application. The solution I’m going to build demonstrates sorting and paging. In a future post, I will enhance it to demonstrate search, formatting, and editing data. I’ve made the demo application available for download…