Preparing for Startup Weekend with latest .NET coolness.

I’m heading to startup weekend Chicago on Friday and have setup my machine with the latest coolness from Microsoft.  They say the Ruby is King but I’m planning to show off .NET and gain some respect for us .NET developers.

My setup

  • .NET 4.0
  • ASP.NET MVC 3 Beta
  • Entity Framework 4 Code First CTP
  • SQL Server 2008 Express
  • SQL Server Compact 4.0 CTP

I started writing a small app earlier this week and all of the CTP’s and Betas seem to work well.  I am most excited about the EF 4.0 Code First CTP.  This basically takes database work out of the picture making it great for fast prototyping.  I will probably stick with SQL Server 2008 Express over the compact version just because I know that it is stable.  I also will likely use jQuery UI themes to make the site look decent without much work.  Although it would be great to get paired up with a designer.

Developer Environment Setup Instructions

Install Visual Web Developer 2010 Express

Download from:
I assume that .NET 4.0 will get installed at the same time.  If not, you may need to download it separately.  I am personally running the Premium version but I wanted to include this incase someone wanted to get started for free.

Install ASP.NET MVC 3 Beta

Unfortunately you will need to install the ASP.NET MVC 3 Preview 1 first.  It can be downloaded from:

Files to install:
AspNetMVC3Setup.exe  (Preview 1)

Download the Beta from:

Files to install:
AspNetWebPages.msi (Beta)
AspNetMVC3Setup.exe (Beta)

Microsoft ADO.NET Entity Framework Feature Community Technology Preview 4

This is used for code first development and will be the most valuable feature in rapid prototyping.  With this we won’t need to mess with configuration files or setting up a database first.

Microsoft SQL Server Compact 4.0 Community Technology Preview for Windows Desktop

Files to install:

What follows is still a work in progress but I wanted to get the post out before the weekend.  I’ll update as time permits.

Create Project

  1. Open Visual Studio
  2. Create New Project
  3. Select Web
  4. Select ASP.NET MVC 3 Web Application
  5. Add Reference to System.Data.Entity.CTP located at “\Program Files\Microsoft ADO.NET Entity Framework Feature CTP4\Binaries”

Code First Walk through by Scott Gu

NOTE: Razor Syntax Highlighting and Intellisense is missing from the Beta.  Sucks.

Even though the new syntax looks great, I’m probably going to stick with the what I’m use to for this weekend.  No Intellisense is a performance killer especially when you are learning the syntax.

Add Razor Highlighting

Option 1:   You can set the cshtml extension to use the Html Editor so that you at least get html highlighting.

  1. Go to Tools | Options | Text Editor | File Extension
  2. Enter cshtml
  3. Select Html Editor
  4. Click Add

    (You may need to close and reopen your cshtml for highlighting to start)

Option 2: Install the Razor Syntax Highlighter.  I didn’t try this yet because it is dependant on Web Matrix.

Explore posts in the same categories: .NET, ASP.NET MVC, Software Development


You can comment below, or link to this permanent URL from your own site.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: