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: http://www.microsoft.com/express/downloads/
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: http://www.microsoft.com/downloads/en/details.aspx?familyid=CB42F741-8FB1-4F43-A5FA-812096F8D1E8&displaylang=en

Files to install:
AspNetMVC3Setup.exe  (Preview 1)

Download the Beta from: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0abac7a3-b302-4644-bd43-febf300b2c51&displaylang=en

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.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=4e094902-aeff-4ee2-a12d-5881d4b0dd3e&displaylang=en

Microsoft SQL Server Compact 4.0 Community Technology Preview for Windows Desktop

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0D2357EA-324F-46FD-88FC-7364C80E4FDB&displaylang=en

Files to install:
SSCERuntime_x86-ENU.exe

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
http://weblogs.asp.net/scottgu/archive/2010/07/16/code-first-development-with-entity-framework-4.aspx

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.

http://visualstudiogallery.msdn.microsoft.com/en-us/8dc77b9c-7c83-4392-9c46-fd15f3927a2e?SRC=Home

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

Tags:

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:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s


%d bloggers like this: