Spent a few too many minutes today figuring out how to easily remove query string parameters from a
url.URL in Go.
Today’s short post shows how simple it is.
Migrations are built to use a table in the database,
__MigrationHistory, to keep track of migrations that have been applied to the database.
This table contains various useful metadata; in particular the column
Model holds a binary representation of the code model as generated by Entity Framework for the version of the code that corresponds to the migration.
When creating a migration it’s important to work in a consistent and repeatable process, and from well defined states, to avoid experiencing unexpected results or confusing changes.
This article shows a process for consistently creating, and managing, your Migrations.
When writing web applications, one often has to send email as a part of the notification or registration process.
Sending email through an SMTP server directly from your main web application thread can block for an unreasonable amount of time while serving a response page that is waiting for the email to be delivered.