404 Error when uploading large files into Windows Azure
I tried to upload a 30MB file into Windows Azure today using my MVC 4 site. When the file got to 99% I got a 404 error saying that my upload Action was nowhere to be found. Fortunately, I successfully uploaded a file earlier in the day at about half
Entity Framework: There is already an open DataReader associated with this Command which must be closed first
> EntityCommandExecutionException {"There is already an open DataReader associated with this Command which must be closed first."} You get this error when your DataContext tries to retrieve a collection of objects from the database and then subsequently tries to write to an object in the same connection. For
Beware The Second System Effect
In The Mythical Man Month [http://www.amazon.com/The-Mythical-Man-Month-Engineering-Anniversary/dp/0201835959/ref=sr_1_1?ie=UTF8&qid=1342273346&sr=8-1&keywords=the+mythical+man+month] Fred Brooks discusses the idea of The Second System Effect. The Second System Effect is the tendency for a project
Why is inserting data into Azure Table Storage so slow?
I am working on a project where we are evaluating whether or not to move from SQL Azure (or whatever it's called this week) to Azure Table Storage. When I started evaluating the performance of inserting data into Table Storage I was astonished to see how slowly things
The AudienceRestrictionCondition was not valid because the specified Audience is not present in AudienceUris
> ID1038: The AudienceRestrictionCondition was not valid because the specified Audience is not present in AudienceUris. Audience: 'http://localhost:54012' You will get this error when your <audienceUris> section in your Web.config is invalid. You need to add the value that is attached to your
Unable to update database to match the current model because there are pending changes
Update-Database > Unable to update database to match the current model because there are pending changes and automatic migration is disabled. Either write the pending model changes to a code-based migration or enable automatic migration. Set DbMigrationsConfiguration.AutomaticMigrationsEnabled to true to enable automatic migration. You can use the Add-Migration command
Using Entity Framework Database Migrations to Update a Remote SQL Azure Database
I have been using .NET's Entity Framework Database Migrations [http://weblogs.asp.net/fredriknormen/archive/2012/02/15/using-entity-framework-4-3-database-migration-for-any-project.aspx] and SQL Azure on one of my current development projects which has been working out quite nicely for me. However, I eventually got to the point in my
Fixing the "One of the request inputs is out of range error" in Windows Azure
> One of the request inputs is out of range. (Microsoft.WindowsAzure.StorageClient.StorageClientException) I got this error today because I had illegal characters in my Windows Azure Table Storage account name. And, by illegal, I mean I used uppercase characters... This also applies to all Windows Azure Containers, Blobs,
Using Github as a Syntax Highlighter for Your Blog or Website
> Gist [http://gist.github.com] is a simple way to share snippets and pastes with others. All gists are git repositories, so they are automatically versioned, forkable and usable as a git repository. A Gist is a snippet of code hosted by Github that has all of the benefits
Intro to Ratcheting Presentation Slides
Here are a few Powerpoint slides we put together that attempts to introduce the concept of Ratcheting and incremental code improvement. We'd love some feedback if you have any to give. Enjoy. Code Quality and Tipster [//www.slideshare.net/robertgreiner/code-quality-and-tipster] from Robert Greiner [https://www.slideshare.net/