Visit site Craig Stuntz's Weblog
March 2010
0
votes
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 ...
February 2010
0
votes
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 ...
0
votes
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 ...
January 2010
1
vote
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 ...
0
votes
Crossword No. 2
Craig Stuntz's Weblog
– DotNetSlackers just published a crossword puzzle I created; you'll see the grid below. The puzzle is focused on .NET and programming themes, including a Delphi reference here and there. The site editors wanted an article to go with the puzzle, so I wrote an article explaining how I created the ...
December 2009
0
votes
Projecting Onto A Presentation Model with the Entity Framework and ASP.NET MVC
Craig Stuntz's Weblog
– In this post, I will demonstrate how to map entity models to views in an ASP.NET MVC application without worrying about implementation details like eager loading, lazy loading, or having to manually optimize SQL for the task at hand. I will argue that expressing the relationship between an entity ...
0
votes
Delphi Developers: Go Buy CodeHealer
Craig Stuntz's Weblog
– If you're doing commercial Delphi development and you're not already doing static analysis in your automated build, go buy CodeHealer now. Nick Hodges has arranged a 1/2 price special offer. There is no good reason not to use static analysis. If you are the sort of person who doesn't allow hints ...
October 2009
0
votes
Interview With Me At Delphi.org
Craig Stuntz's Weblog
– Jim McKeeth interviewed me for Episode 34 of The Podcast At Delphi.org.Share This | Email this page to a friend
0
votes
Updating to ASP.NET MVC 2 Preview 2
Craig Stuntz's Weblog
– Last week, I updated our main development branch to ASP.NET MVC 2 preview 2 (from preview 1). In this post, I'll list some of the features I've found, and also issues I encountered and how I resolved them. New Features Some of the new features of preview 2 have been discussed elsewhere, ...
4
votes
Comparing C#, C++, and Delphi (Win32) Generics
Craig Stuntz's Weblog
– C#, C++, and Delphi all have a generic type and method language feature. Although all three languages are statically typed, they implement generics in very different ways. I'm going to give a brief overview of the differences, both in terms of language features and implementation. I presume that ...
September 2009
0
votes
NDepend Review and Tips
Craig Stuntz's Weblog
– On and off for the past few months, I've been experimenting with the .NET static analysis tool NDepend. NDepend works somewhat differently than most other static analysis tools I've tried. Notably, Most tools tend to work on either compiled assemblies or source code. NDepend uses both. Most tools ...
3
votes
The Leadership Mistake I Keep Making
Craig Stuntz's Weblog
– Jim Holmes gave a very nice presentation on leadership at the last Columbus Architecture Group meeting. He has covered much of the same material in a series of posts which you can read on his blog. Maybe it's just the way that I think, but as I listened to him ...
4
votes
This Blog Is Now (Officially) Free
Craig Stuntz's Weblog
– I've been posting technical articles and source code on this blog for many years now, but I've never formerly specified a license for the material I've posted. Obviously, I wouldn't post it if I didn't want people to use what I've written, but I understand that my good intentions are ...
2
votes
Static Analysis and Generated Code
Craig Stuntz's Weblog
– In recent months, I've been thinking about the problem of static analysis in generated code. Static analysis means using tools like FxCop and NDepend (for .NET apps) lint (for C) and CodeHealer (for Delphi) to find potential problems in your source code. Generated code is code written not by a ...
0
votes
How to Think Like the Entity Framework Presentation Available for Free Download
Craig Stuntz's Weblog
– My CodeRage presentation, "How to Think Like the Entity Framework (and why you might want to bother learning that in the first place)," is now available for free download.Share This | Email this page to a friend




