Blog - Microsoft .NET, ASP.NET, AJAX and more

How To: Adding MVC items to an ASP.NET Web Application

by Damien White 5/20/2009 9:30:10 AM

HTML Code I’ve been experimenting with using ASP.NET MVC inside a standard ASP.NET Web Application (Web Forms).  I really like what’s been released with MVC 1.0 and can see places where existing apps would benefit from the features.  Plus, having just finished Professional ASP.NET MVC 1.0 from Wrox (see my book review), I couldn’t wait to start using it. 

The last chapter of the book, Chapter 12, entitled “Best of Both Worlds: Web Forms and MVC Together,” discusses configuring an ASP.NET Web Application to support the new ASP.NET MVC features.  Note that adding Web Forms to an ASP.NET MVC project template is much easier (meaning no configuration/reference changes), since ASP.NET MVC is built on top of the ASP.NET Framework.  Anyway, after referencing the required libraries, creating the necessary directories, and updating the web.config, you’ll find that templates for the MVC items (e.g. Controllers, Views), are missing as options.  More...

Shout it kick it on DotNetKicks.com Bookmark and Share

SQL Express 2008 x64 Integration with Visual Studio 2008 SP1

by Damien White 2/6/2009 8:18:14 PM

Yesterday I was trying to add a database to the App_Data folder of a simple web application I was creating.  During one of my computer re-installs, I didn't install SQL Express since I normally use a full blown SQL instance, so I really had no need for it.  Now that I did need it, I wanted to run SQL Express 2008.  I am running Windows Vista x64, so I proceeded to download SQL Express 2008 x64.  I installed it and loaded up SQL Server Management Studio to make sure the instance was working (I just used the default of SQLEXPRESS for the instance name).  Everything was fine.  I then fired up Visual Studio, right-clicked on the App_Data folder of the web app, and... error (Figure 1).

Visual Studio Requires SQL 2005
Figure 1 - Connections to SQL require SQL Express

More...


Shout it kick it on DotNetKicks.com Bookmark and Share

How To: Install Windows 7 on VirtualBox 2.1 – Fix Sound, Video and Network adapter

by Cedric Boudoya 1/20/2009 1:44:07 PM

On my previous blog posts, I covered the installation of VirtualBox 2.1 and I went over the step-by-steps to create a virtual machine to host Windows 7.

I will now go over the details of fixing the sound, video and network adapter. 

If you go to Start > Right-click on My Computer > Manage (or run mmc), then you will get the content management window. You should notice that two devices are not properly installed (Base System Device, Ethernet Controller).

 image

More...

Shout it kick it on DotNetKicks.com Bookmark and Share

How To: Install Windows 7 on VirtualBox 2.1 – Installation details

by Cedric Boudoya 1/20/2009 1:42:59 PM

On my previous blog posts, I cover the installation of VirtualBox 2.1 and I go over the step-by-steps to create a virtual machine to host Windows 7.

I will now go over the details to install Windows 7.

  1. You should have the VirtualBox setup and started the virtual machine by clicking on the start button.
    image
    Click OK.
    More...


Shout it kick it on DotNetKicks.com Bookmark and Share

How To: Install Windows 7 on VirtualBox 2.1 - Create a virtual machine

by Cedric Boudoya 1/20/2009 1:41:40 PM

Today, I will go through the step by step instructions to setup VirtualBox for Windows 7.
First of all, You will need to install VirtualBox. Follow my VirtualBox installation guide from a previous blog post if you need the step-by-steps.

image More...


Shout it kick it on DotNetKicks.com Bookmark and Share