// For Syntax Highlighter
Welcome to MSDN Blogs Sign in | Join | Help

Mike Ormond's Blog

In my world, things would be simpler than this...

News

  • Add to Technorati Favorites

    These postings are provided "AS IS" with no warranties, and confer no rights. The use of any script / code samples is subject to the terms specified here.

UK Launch - Building Web Applications with VS2008 Source Code

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: ,,
Posted: Thursday, March 20, 2008 6:24 PM by MikeOrmond

Comments

Pages tagged "tips" said:

# March 20, 2008 1:47 PM

Pete said:

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

# March 20, 2008 3:28 PM

Russellc said:

Thanks Mike, great talk by the way :)

# March 21, 2008 2:01 AM

Aj said:

Great talk Mike. Thanks a lot.

# March 21, 2008 7:35 PM

Mike Ormond's Blog said:

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

# March 25, 2008 2:31 PM

Greg Thomas said:

Thanks Mike that was a great talk :-)

# March 30, 2008 7:36 PM

Mike Ormond's Blog said:

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

# April 8, 2008 5:07 AM

MikeOrmond said:

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

# April 11, 2008 12:04 PM

.Net World said:

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

# April 24, 2008 10:06 PM
New Comments to this post are disabled
Page view tracker