Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Difference between new version of asp.net 2.0 and asp.net

Status
Not open for further replies.

teferi2002

Technical User
Sep 24, 2005
81
US
I am very new to asp.net but i am very eager to learn more about it. you might see my few post on this forum.My question is recently microsoft has released a new version of asp.net 2.0. I have heard a lot of good thing about this new realeas..it cuts the amount of code you write by 70 percent and they did a lot of work with data control. My quesion is shall i go ahead and learn asp.net 2.0 or shall i start from asp.net...i do not really know what to do.I am getting a new vesion of visual studio 2005 in the next few days.Can someone tell me if there is a significant changes has been made between the older version and the recent version.I know that i am jumping around here...hope i am making sense.
 
The new version is very similar to 1.x, but they've made vast improvements to the web architecture, controls, functionality, security, productivity of the IDE, and performance of the classes.

If you're starting learning from scratch, there's very little reason not to learn the new stuff.

Highlights of the new features include (but are not limited to):

**Master Pages**
Have a modifiable template for the pages of your site to easily manage and cascade changes (or programmatically change it to provide a customized view for users).

**Skinned Controls/ Themes**
Like CSS for server control properties. Helps make a site's look-and-feel easily manageable and flexible.

**Provider Models For Membership, Viewstate, Etc.**
If you don't like Microsoft's implementation of a certain feature, you can just change it and swap out your component for theirs! This comes in really handy with membership especially.

**Security Controls**
You have a set of controls to login, logout, apply for membership, display the number of users online, edit your user account information, etc. The best part? With the functionality provided with the MembershipProvider, these UI components require literally NO CODING to make them work. You just drag them onto the form.

**Data Controls**
With the new data objects, you can also potentially have, say, a grid that requires absolutely no coding. Usually you'll end up doing a little coding for these controls, though.

**Performance Gains**
Reflection is faster, DataAdapters now do batch updates, DataSets can be serialized into binary format for fast transport (though I don't like DataSets), etc.

**Language Features**
Generics, anonymous methods, nullable types, woo hoo! I had a custom collection that was 500 lines of generated code, and with generics we trimmed it down to literally one line!

**API Improvements**
TryCast(), String.IsNullOrEmpty(), Page.ClientScript... Booya!

Anyway, the new stuff is definitely the way to go.
 
thank you for providing me this valuable information.one thing though, what book do you recommend for someone who would like to learn from basic to advance level.is there anybook out their that cover both basic and advance...
thanks
 
One other to add: No need for IIS (Internet Information Services)
 
Good one! I forgot about that. I about did a back flip when I figured out I didn't have to set up a virtual directory, etc. to XCopy one website to another machine.

teferi,

I absolutely love these authors (Deitel & Deitel) for intro books so if you want to start with language fundamentals, this is a good start:


I actually bought this one to get a quick overview of the new features:


...and originally I used a book like this to teach myself ASP.NET fundamentals:


As far as more advanced stuff, it depends on what you need to do at any given moment (in-depth research usually results out of necessity). I'm actually of the opinion that google and MSDN are some of the best ways to learn special topics.

That said, I find this book about server controls indispensable:


It teaches you an awful lot about the internals and intricacies of ASP.NET (more than you'll find online for many of the topics).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top