What are the new features of .NET2 compared to .NET1
There are several new language features in framework2. Some this are very usefull.
- Partial Class: Partial class will allow you to split a C# class into two or more source code files. This is very usefull to hiding the messy details you don't need to see.
- Generics: Generic allow you to create classes that are flexible enough to work with different class types but still supports strong type checking.
- Anonymous methods: Anonymous methods allow you to define a block of code on the fly, inside another method. You can use this technique to quickly hook up an event handler.
- Iterators: Iterators give you an easy way to create classes that support enumeration, which means you can loop through the values they contain using the C# foreach ststement.
These are the main language specific features. Let us examine other features that are new ASP.NET2.
- Master Pages: Using Master Pages, you can define a template and reuse it effortlessly. Master pages ensure that every page in the web page have the same look and feel. Also maintenance become easy using master pages.
- Data Source Controls: New datasource controls
- Personalization:
- Security and Membership
- Rich Controls
- Webparts
- Administration
What are the new features of Framework 3 comapared to earlier framework?