Skip to content

Date archive for: March 2016

Setting Up SQLite and Entity Framework Core in ASP.Net Core

For small applications such as prototypes and small side projects SQLite is a great choice for a relational database. It is really easy to setup because: Its self contained Its just one database file in your project. No server Because its just one database file in your project which holds all your data there is no extra server setup. No configuration All you need is to create your schema and your ready to store data. Letting Entity Framework Core Manage Your Database Schema For all its ease to setup you still need a schema to define your tables and the relationships between them. Unless your…

Continue reading Setting Up SQLite and Entity Framework Core in ASP.Net Core

Creating a Visual Studio Code Task for Building a .NET Core Project

Visual Studio Code is a great new multi platform code editor from Microsoft currently in beta. It is a lot more lightweight than Visual Studio. But when writing code I in VS Code I missed the Ctrl-Shift-B shortcut. It makes sense that VS Code doesn’t have it – after all it doesn’t know what is being written and the build targets, and you can always build without it in .NET Core using  dnu build but it can be added back in. Visual Studio Code Tasks Turns out you can integrate your own tasks into VS Code – when combined with Gulp it becomes…

Continue reading Creating a Visual Studio Code Task for Building a .NET Core Project