Mike Ormond's Blog

Musings on mobile development and Windows Phone 7 in particular.

UK Launch - Building Web Applications with VS2008 Source Code

UK Launch - Building Web Applications with VS2008 Source Code

  • Comments 9

Following on from the live demo, here's the demo source I used for my launch session.

Download the slides and / or demos here.

A few things to note and a few "getting it up and running tips".

  • Download the zip file (you may need to "unblock" it after download) and extract all files.
  • There is a script in the zip file that will create a database and populate it for you. Make sure you understand what it does before you run it (it was auto generated so there's a lot of superfluous stuff in there) and make sure you run it against a suitable, test database server. Just in case...
  • It should work (with suitable modification) on SQL 2000 and 2005 (and SQL Express).
  • Open the website in Visual Studio 2008
  • Add into the solution the TrafficInfo project (in folder TrafficInfo) and the ServerControls project (in folder ServerControls)
  • Add a reference to each of those projects from the website
  • Either
    • Download and install the AJAX Control Toolkit and add the AjaxControlToolkit dll to the Bin folder of the website
    • Modify ImageView.aspx to remove the register directive for the Ajax Control Toolkit and the RoundedCornersExtender in the ItemTemplate of the ListView
  • You should now be able to build
  • You will probably need to change the connection string in web.config for your database
  • The site it built to be viewed at 1024x768 resolution as that's what we project at. That means it wont look great at other resolutions, particularly because the background image is 1024x768 in size. If you want to view it at higher resolutions then you could just delete the background image (or remove the reference to it in the stylesheet).
  • I removed the photos from the site as I didn't want to re-distribute them so there are 18 (I think) copies of one of my own photos in there. Feel free to replace with photos of your choice but make sure they're the same size, my server control doesn't cope very well with different sized images IIRC.

Have fun.

Technorati Tags: ,,
  • PingBack from http://www.blogbookmarker.com/tags/tips

  • Hi Mike,

    I'd just like to say how much I enjoyed your session, the simplicity in the way that you added BBC feed to VE was extraordinary. Great session, can't wait for the next one.

    Cheers

  • Thanks Mike, great talk by the way :)

  • Great talk Mike. Thanks a lot.

  • Following on from my post about my DevWeek session , I thought I'd try and do a bit of an intro to ASP.NET

  • Thanks Mike that was a great talk :-)

  • Links to the other posts in this series In Part 7 we looked at how to wrap our client components into

  • Thanks for the comments - pleased to hear you liked the session! Mike

  • On Wednesday we had the 1-day free multi-track event in the UK to celebrate the launch of Visual Studio

Page 1 of 1 (9 items)