Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 19th, 2008, 12:14 PM
Authorized User
Join Date: Dec 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to rdove84
Default Upgrade advice for Visual Studio 2008


I'm currently seeking some advice on some of the best ways to handle a website upgrade. I currently manage a website that was built using ASP.NET 1.1 and has its own programmed content management system. It is a data base driven website with about 50 pages built into the core .dll of the site and all other pages (apprx. 1500) are called in to content placeholders but are not included in the project build. The site has been functioning but since ASP.NET 2.0 was applied to our web server the site has begun to experience various code issues. I feel the time to upgrade has come and have already begun to build some smaller applications using the new ASP.NET 3.5.

I imported the project into Visual Studio 2008 to see what sort of challenges I might face. The first challenge is that the new studio environment seems to expect all elements (pages, images, etc) to be included in the project, is this true? If so, is this the best way to manage a .NET 3.5 website? Also, the new studio environment seems to be much more aggressive about debugging the currently existing javascript we have on our site. Currently, I can't effectively debug the content of the pages because of it's intense focus on the javascript. Should we minimize the amount of javascript we have on our site or should we make sure that it's included in the build?

Thanks in advance for any helpful suggestions you can offer.
Old December 19th, 2008, 02:43 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

If you use the web site project model of 2005/2008, then everything in a directory will be part of the "project" (I quote it because a web site project is really just a directory of files not a true project, with a file that manages it). However, if you use the web application project model you can fine control over the included files within the project.

When you talk about the javascript being included in the build, it's a little confusing. No javascript is compiled with an application build, but a js file can be a member of the project and thus visual studio will treat it in some way. Perhaps what you are experiencing can be dealt with using a VS setting. I'm not that familiar with VS2008 so I don't know what you might change, but I expect there's something that allows for turning off javascript checking or whatever VS is doing that's getting in the way.
Old December 19th, 2008, 03:57 PM
Authorized User
Join Date: Dec 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to rdove84

Thanks planoie.

It will definitely have to be a web application project then. I'll have to keep looking further into the Javascript matter. I haven't found a setting yet but I may just not have found it either. I don't know if this will clear things up, but basically there is a javascript menu, and visual studio starts debugging it first and keeps coming back with messages that it cannot find different elements of the scripting. There are so many of these errors that trying to debug the actual page is only possible if I take it all out. Incidentally though the menu doesn't report errors in a browers when run.
Old December 20th, 2008, 06:13 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

You may also want to read Peter's own article on the matter:


Here he compares WSP and WAP....

Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Visual Studio 2008 IDE dotnetDeveloper Visual Studio 2005 1 December 6th, 2008 12:55 PM
Visual Studio 2008 .NET3.5 TashaAT BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 September 7th, 2008 12:13 PM
very new to Visual Studio 2008 Joel Saren Visual Basic 2008 Essentials 2 June 6th, 2008 03:27 PM
Does Visual Studio 2008 contains .NET3.5? sikanderwaheed C# 1 March 30th, 2008 04:41 AM
Visual Studio 2008 looks juzjess Intro Programming 0 October 26th, 2007 03:35 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.