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: demo,asp.net,visual studio
Comments
Anonymous
March 20, 2008
PingBack from http://www.blogbookmarker.com/tags/tipsAnonymous
March 20, 2008
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. CheersAnonymous
March 20, 2008
Thanks Mike, great talk by the way :)Anonymous
March 21, 2008
Great talk Mike. Thanks a lot.Anonymous
March 25, 2008
Following on from my post about my DevWeek session , I thought I'd try and do a bit of an intro to ASP.NETAnonymous
March 30, 2008
Thanks Mike that was a great talk :-)Anonymous
April 07, 2008
The comment has been removedAnonymous
April 11, 2008
Thanks for the comments - pleased to hear you liked the session! MikeAnonymous
April 24, 2008
The comment has been removed