//
archives

philstrong

philstrong has written 16 posts for A Phil Strong Blog

Entity Framework with no Primary Key: Shame on you!

if you run into the following error using Entity Framework: Unable to update the EntitySet because it has a DefiningQuery and no <UpdateFunction> element exists in the <ModificationFunctionMapping> element to support the current operation It’s likely because you haven’t set a primary key in your database and/or edmx Sometimes I feel tables (join tables) don’t … Continue reading

Asp.Net Mvc 3 RC2 No Intellisense for Razor

I recently updated from MVC 3 preview 1 to RC2 and was disappointed when I got no razor intellisense. In case you ran into this problem I had to remove the change I made to the editor for cshtml files (which I did to get some syntax highlighting) Tools -> Options -> Text Editor -> … Continue reading

Visual Studio 2010 Current Theme and Shortcuts

I’d like to start with “I love Visual Studio.” – notice the period!  Without a doubt it’s the best IDE on the planet when it comes to fit and finish.  I don’t really want to argue about how it can’t work with java and [your favorite lang / platform here].  I’m not putting this up … Continue reading

Cooper’s First Birthday

Cooper at 9 Months

Google Instant Sneaked up on us!

Note: Evidently Snuck isn’t a real word and we Americans should stop using it. Google Instant was released recently and certainly changes the way I perceive search.  Seemingly Google sees this as the path going forward and that in the not so distant future “we’ll look back and wonder how search was ever any other … Continue reading

itunes web site very lala-esque

Easter egg? Go to itunes.apple.com/us and see the itunes preview Stumbled onto this one! Long live the service that lala gave us. Those guys really knew what they were doing. As a social web developer I have some sense of how hard it is to build something that not only works but that draws such … Continue reading

Linq2Sql isn’t dead ….

I’ve been sluggin it out w/ Entity Framework 4.0 for the past month or so.  I’ve successfully used Linq2Sql in the past and really enjoyed it.  However when Mike Hans and I started this project (Folios.com) we decided to go with EF based on the fact that Linq2Sql seemed to be on it’s way out … Continue reading

Asp.net mvc, localhost, and the anti-forgery token

So I’m building a asp.net mvc application and have been doing testing w/ Cassini (visual studio built in web server; localhost:8080).  All is well. When I published my app to run it locally in IIS (localhost:80) I get: “Validation of ViewState MAC failed. If this application is hosted by a Web Farm or cluster, ensure … Continue reading

Goodbye IE6

Dear god would you all please upgrade! http://www.techcrunch.com/2009/07/14/youtube-will-be-next-to-kiss-ie6-support-goodbye/