This is an example application which shows how to use Simple.Data to connect to a PostgreSQL server, how to migrate the database with MigratorDotNet, all packaged in a small CRUD application using Asp.Net MVC.
ConnStr is a small helper class to parse the ElephantSQL URL and generate a .NET compatible connection string from it.
Migrations are run at application_start.
The database connection is opened in TodoController.