HTML 5–The End of Browser Rendering Differences? Not Hardly.

I was kind of stoked to learn more about HTML 5 now that the IE9 beta is out.  I found a nice HTML 5 book on Safari Books Online (one of my favorite perks here at Microsoft) and started simple.  Things were going fine until I tried to view my simple code in IE9, FireFox…

3

Task Scheduler – A Specified Logon Session Does Not Exist

If you get this error when attempting to create a scheduled task: Then check to make sure that your “Local Security Policy”  (under Security Settings – Local Policies – Security Options), “Network access: Do not allow storage of credentials or .NET Passports for network authentication” is Disabled: I’ve now been bitten twice by this, and…

26

SPSite Constructor Yields FileNotFoundException

It seems that I get sucked back into SharePoint bi-annually or so.  This time around it’s 2010.  The most basic app I can think of is a not-quite Hello World app talking to SharePoint.  It’s so simple that it’s a even a one-line console app: Console.WriteLine((new SPSite("http://sps2010")).RootWeb.Title); It failed. From the title of this post,…

0

How to Delete All Objects From an Entity in the Entity Framework 4

In a previous blog entry, I described how happy I was with Code-First Development with Entity Framework 4.  It was a good first impression, and then I had to go beyond my initial spike and create a set of integration tests that would actually work over and over.  So I wanted to delete all of…

1

Code-First Development with Entity Framework 4–Falling Into the Pit of Success

I was excited to see StottGu’s blog regarding Code-First Development with Entity Framework 4.  Personally, I don’t learn best by going through a step by step tutorial, however.  It’s like learning a song in another language by rote memory.  It may sound the same when I parrot it back, but don’t ask me to improvise. …

0

2010 Microsoft Developer Technology Sampler

In my role as a consultant, I don’t get to code as often as I’d like to anymore, which means that I don’t get to sit down and code 8 hours a day anymore.  And when I do get to code, it’s not always the most exciting, but rather technology that’s been around since about,…

0

Adding an Existing MVC 2 project as a Web Role in Azure

This one has bitten me a couple of times (at least) now, so let’s get it down in writing.  Although the latest (as of July 20th, 2010) Visual Studio Tools for Azure support adding MVC 2 projects as web roles, you need to remember to set the “Copy Local” property to “true” for the System.Web.Mvc…

1

MVC MVP Comparison

I just read the best explanation that I’ve ever seen on comparing different Model, View, Controller, Presenter, and ViewModel pattern variations.  It was in Dino Espisito’s Book Programming Microsoft® ASP.NET MVC (published May 2010).  He even goes over some patterns that I wasn’t familiar with, such as Model2. Granted, it did take 25 pages to…

1

Windows Azure – RoleEnvironmentException was unhandled

I was going through a rather lengthy tutorial on Windows Azure and ran across an error that just happened to be a typo on my part, but yielded a less than illuminating error: I mis-typed “DiagnosticsConnectionString” as “DiagnosticConnectionString” without the “s” on the end of “Diagnostics”.  It caused the Azure Development fabric to hurl, and…

0