Wrox Programmer Forums
|
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 July 27th, 2008, 01:00 AM
Registered User
 
Join Date: Jul 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP .Net 3.5 vs 2.0

I have just picked up the Beginning ASP.net 3.5 book not realizing that my host uses 2.0. Am I going to have a hard time using this book in a 2.0 environment or are the differences between the 2 versions subtle enough that I could use it without banging my head off a wall?

-east coast
 
Old July 27th, 2008, 02:36 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

It depends a lot on the features you are using. A lot of stuff is pretty much the same as in 2.0. In fact, since 2.0 and 3.5 share the same runtime, you can build a site in Visual Studio 2008 and then run it on a 2.0 web server.

Things that are compatible include most of the controls (GridView, DetailsView, SqlDataSource and so on), security, configuration and programming in general.

However, you won't be able to use the features that are specific to .NET 3.5, including LINQ, integrated AJAX (you can still use the external Ajax implementation) and the new ListView control. These features require the presence of the 3.5 Framework.

Fortunately, you can use Visual Studio's Framework Targeting feature; by setting it to 2.0 Visual Studio doesn't show you 3.5 features.

All in all I think you could get a pretty good understanding of .NET 2.0 and 3.5 with this book, and still run most of it on your host's server. But you won't be able to use some of the new stuff you learn in your web environment.

Hopefully it's just a matter of time before more hosts start supporting 3.5.

Cheers,

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 
Old July 27th, 2008, 11:28 AM
Registered User
 
Join Date: Jul 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the information, Imar. It is very helpful. :)

-east coast





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET 3.5 answers in Professional ASP.NET 3.5 jminatel ASP.NET 3.5 Professionals 1 August 22nd, 2011 07:34 AM
Turning a regular ASP.NET App into an AJAX ASP.Net donrafeal7 Ajax 2 August 31st, 2007 12:33 AM
Database diagram in .net using asp.net,c#.net scotttiger ADO.NET 2 February 16th, 2005 01:35 AM





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