Pages

Apr 21, 2010

How to upgrade ASP NET MVC 1 apps to ASP NET MVC 2

Using Wizard for ASP.NET MVC 1.0 on Visual Studio 2008 SP1
Follow this post: "Migrating ASP.NET MVC 1.0 applications to ASP.NET MVC 2 RTM"

Manually Upgrading an ASP.NET MVC 1.0 Project:

  • Change the project type to an ASP.NET MVC 2 project (Changeset 2)
  • Update the root [~/web.config]: (Changeset 3)
    • Update references to ASP.NET MVC 2
    • Update to have a binding redirect from ASP.NET MVC 1.0 to ASP.NET MVC 2
  • Update the [~/Views/web.config]: (Changeset 4)
    • Update references to ASP.NET MVC 2
  • Update project references to ASP.NET MVC 2 (Changeset 5)
  • Add or update the CSS & JavaScript files based on [Breaking Changes] section: (Changeset 6, Changeset 7)
    • New CSS classes were added in the Site.css file
    • Helpers now return an MvcHtmlString object
Note: you can get the original source code from here. Or you can visit AspNetMvc2Samples public workspace in Assembla.

    Apr 19, 2010

    How to Install Windows 7 on HP DV2500

    Yesterday, I upgraded my HP DV2500 laptop from Windows Vista SP2 to Windows 7. After installing successful (clean install, not upgrade), my laptop still had problems with Windows 7 compatible driver. There were 3 problems with Base system devices, and 1 problem with Unknown device. Besides, my ALPS TouchPad scroll was not function properly.
    Fortunately, after "googling", I have found this helpful guide: General Windows 7 Upgrade Guide for HP Laptops. It helped me too much to solve the problems.
    These are my step-by-step guide for busy one:

    1. Fix problem with Base system devices: install Ricoh Card Reader Driver (sp37614)
    2. Fix problem with Unknown device: install HP Quick Launch Button software (sp46731).
      NOTE: QuickPlay software (QuickPlay 3.7 v.6112) must be installed before Quick Launch Software
    3. Update Nvidia GeForce 8400M GS driver: go to Nvidia site to get the latest driver
    4. Update ALPS TouchPad driver: install this driver (sp45035)
    5. Additional:
      Install HP Integrated Module with Bluetooth Wireless driver (sp46063);
      Install HP Wireless Assistant (sp45222) to activate Bluetooth.