Visit site Craig Stuntz's Weblog

August 2010

1
vote
Vote UpVote

Troubleshooting Entity Framework Connection Strings

Craig Stuntz's Weblog – In an application which uses the Entity Framework, you may see the following error at runtime: MetadataException: Unable to load the specified metadata resource The cause of this error is a missing or malformed Entity Framework connection string. In particular, the cause of this error is the ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-08-13 16:14
1
vote
Vote UpVote

New InterBase Partner DVD In Progress

Craig Stuntz's Weblog – The next version of InterBase is nearing completion, and, as always, will include a Partner DVD with demo versions of third-party tools supporting InterBase. If you are an InterBase Partner, you should have already been notified of how to submit your product. If you produce a tool or component ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-08-12 20:59

July 2010

0
votes
Vote UpVote

grid.history Demo Fixed

Craig Stuntz's Weblog – Apologies to those who tried my grid.history demo page Friday. In the course of updating the integration to support jqGrid 3.7.2 and simultaneously learning GitHub’s pages feature, I killed the demo. It’s fixed now, and I’ve added the ability to run the unit tests directly from ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-07-19 13:50
2
votes
Vote UpVote

grid.history: A New, Free Integration for jqGrid and jQuery BBQ

Craig Stuntz's Weblog – I recently finished an integration between the open source jqGrid and jQuery BBQ libraries. I have released my integration as open source, as well. As with both projects, it is dual-licensed under the MIT and GPL licenses. jqGrid is a JavaScript grid component with many useful features. I have ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-07-16 21:25

June 2010

0
votes
Vote UpVote

Replacing Controller.Session in ASP.NET MVC: Is This Wrong?

Craig Stuntz's Weblog – Here’s some code I wrote: public class MyBaseController : Controller { // ... public new ISession Session { get; private set; } // .... } ISession is an interface type I wrote which exposes everything I store in the session at runtime. Session, in ASP.NET, is a user-specific ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-06-17 21:44

May 2010

0
votes
Vote UpVote

Book Review: Rework

Craig Stuntz's Weblog – Rework, by Jason Fried and David Heinemeier Hansson, cannot accurately be described as the "sequel" to the first book to come out of 37 Signals, Getting Real. As a significant percentage of the book seems to be word for word identical to text in Getting Real, I think it’s more of a "remix." ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-05-25 14:03
0
votes
Vote UpVote

Stir Trek 2: Iron Man Edition Wrap Up

Craig Stuntz's Weblog – Last Friday, I attended the Stir Trek conference here in Columbus. The day got off to an inauspicious start when I turned on my car. There was a high screaming noise, and acrid black smoke poured out from the engine. I opened the hood, pulled out a burning air-conditioner drive belt, and threw it ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-05-10 21:46

April 2010

0
votes
Vote UpVote

In LINQ, Don’t Use Count() When You Mean Any()

Craig Stuntz's Weblog – If you have a list, array, or query in a C#/LINQ application and need to check and see if the list is empty, the correct way to do this is to use the Any() extension method: if (q.Any()) { Similarly, you can check to see if any elements in the list meet a certain condition: if (q.Any(i => ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-04-21 21:01
0
votes
Vote UpVote

A Math Primer for Gentry’s Fully Homomorphic Encryption

Craig Stuntz's Weblog – A couple of weeks ago, I wrote What Is Homomorphic Encryption, and Why Should I Care? In that post, I promised to share my C# implementation of the algorithm from Craig Gentry’s CACM article. Before I can do that, though, I need to explain some of the math involved. Perhaps surprisingly, ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-04-08 18:07

March 2010

0
votes
Vote UpVote

Want to Beta Test the Next Version of InterBase?

Craig Stuntz's Weblog – The InterBase roadmap says that the next version will probably include native 64 bit and Windows 7 support, cloud deployment, and enhance password security. Want to help beta test it? You can sign up now. Share This | Email this page to a friend
Details Favorite? Off-Topic? Craig Stuntz @ 2010-03-18 20:08
0
votes
Vote UpVote

What is Homomorphic Encryption, and Why Should I Care?

Craig Stuntz's Weblog – The March 2010 issue of the Communications of the ACM includes a technical paper with an introduction entitled "A First Glance of Cryptography’s Holy Grail" (ACM subscription required). That’s enough to catch my attention. The paper itself, Computing Arbitrary Functions of Encrypted ...
Details Favorite? Off-Topic? Craig Stuntz @ 2010-03-18 17:08
0
votes
Vote UpVote

Don’t Depend Upon the ASP.NET Membership Tables

Craig Stuntz's Weblog – One very popular option for implementing user security in ASP.NET is to use Forms Authentication with the SQL Server membership provider. This provider creates several database tables to store user-related information, as well as a number stored procedures. From time to time, a developer will ...
Details Favorite? Off-Topic? 2010-03-06 00:20

February 2010

0
votes
Vote UpVote

jqGrid and XSS Security

Craig Stuntz's Weblog – 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, I think that should be the default. But ...
Details Favorite? Off-Topic? 2010-02-09 01:00
0
votes
Vote UpVote

Entity Framework Models and Source Control

Craig Stuntz's Weblog – 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 depends." But I can give you some tips to ...
Details Favorite? Off-Topic? 2010-02-03 23:40

January 2010

1
vote
Vote UpVote

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

Craig Stuntz's Weblog – 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 ...
Details Favorite? Off-Topic? 2010-01-14 00:20
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Delphi Tage Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)