A programmer's notebook
How to use an in-memory database for quick project setup for dev environments in .NET
To quickly start working on a project on a new computer, I have started using a database completely defined in code. This way, it's just a matter of checking out the code and hitting dotnet run to start the application, no external resources needed.
Published:
Use Contentful's image processing to give every user the best image for their screen size
With responsive websites, the same image can be displayed on screens ranging from several thousand pixels wide down to a few hundred.
Published:
Contentful migrations: Copy content from one entry to another
In Contentful, the easiest way to change your content model is through the web app on app.contentful.com. This is pretty straightforward if you are doing basic changes like adding a new text field. However, if you are planning more complex changes, migration scripts are probably the best way forward. By using migration scripts, you can add and delete fields like you can in the web app, and you can also create and insert content into existing entries.
Published: