I’ll admit it right away. I do like scrum. I think it is a natural that I do, because I am a developer. Scrum is a lean methodology that focuses on making the developers as productive as possible. Working as a developer in a scrum project means spending most of the time writing code, with… Continue reading Scrum for Developers
Author: Anders Abel
Prevent EF Migrations from Creating or Changing the Database
One of the features of Entity Framework Code First is to automatically create the database on first access. It is a convenient approach in many cases. Unfortunately the applications I work with does not fall into one of those cases. The applications I develop typically run on a dedicated web server, with the database hosted… Continue reading Prevent EF Migrations from Creating or Changing the Database
Using Source Control? Really?
Do you really use Source Control? I’m not talking merely about having some code in a version control system. I’m talking about using source control as an efficient tool in your daily work. As a huge fan of the Joel Test I’ve put together my own 6 point test of source control usage: The Anders… Continue reading Using Source Control? Really?
EF Migrations and a Merge Conflict
To put a bit more stress on EF Migrations I’ll simulate a scenario that should be quite common in a multi developer environment. Developer A and B gets the latest code from the repository. Developer A adds a column and checks in a migration. Developer B adds another column and makes everything ready for checkin.… Continue reading EF Migrations and a Merge Conflict
Indexes in Code-Based EF Migrations
In the Adding Indexes with EF Migrations post I showed how to add indexes to a database created by EF Code First with a separate migration step. When using code-based migrations to add a table, there is another, better way to add indexes, if it is done together with the table. If you’ve read my Type Safe… Continue reading Indexes in Code-Based EF Migrations