Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 19th, 2008, 12:14 PM
Authorized User
 
Join Date: Dec 2005
Location: , Colorado, USA.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to rdove84
Default Upgrade advice for Visual Studio 2008

Hello,

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.
  #2 (permalink)  
Old December 19th, 2008, 02:43 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

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.
__________________
-Peter
compiledthoughts.com
twitter/peterlanoie
  #3 (permalink)  
Old December 19th, 2008, 03:57 PM
Authorized User
 
Join Date: Dec 2005
Location: , Colorado, USA.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to rdove84
Default

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.
  #4 (permalink)  
Old December 20th, 2008, 06:13 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

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

http://www.compiledthoughts.com/2008...n-project.html

Here he compares WSP and WAP....

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
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!
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:33 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.