Showing posts with label sql express mdf database attach create C# compiler tool. Show all posts
Showing posts with label sql express mdf database attach create C# compiler tool. Show all posts

Friday, August 14, 2009

Starting MVC project - initialization

As the easiest way to start a new MVC project is to attach a SQL Express database file. But if you don't want to get through the whole process with Visual Studio, inspired by this awesome article: Creating a SQLEXPRESS database file from code from "Where's Lou" blog, you can download the compiled db creation utility from here. Usage is pretty simple:

sqlexpressdbcreator C:\mypath\mydb.mdf

Full path is required.

The utility is generated with the dynamic C# compiler tool, I am using for years. It is very useful for fast tests of code parts: