ASP.NET enhancements in VS2008 and .NET FX3.5


Today, let me talk about enhancements to ASP.NET that you will see with Visual Studio 2008 and .NET FX 3.5.


 


Earlier this year, we introduced the ASP.NET AJAX Extensions which is available as an add-on for Visual Studio 2005 and .NET Framework 2.0. 


 


With the release of Visual Studio 2008, these AJAX extensions have become an integral part of the product.  While we have kept the runtime extremely compatible, we have also added customer requested features such as enabling many of the new controls to work inside an UpdatePanel (TreeView, Menu and WebParts) and enhanced support for client side Javascript localization.  On the tooling side, we have made some major investments in JavaScript Intellisense, type inferencing, and new control extenders design time that you can read here.


 


One of the most exciting new technologies in VS2008 is LINQ.  To complement this, ASP.NET ships a new control, LinqDataSource to support LINQ scenarios in web applications. Essentially, this LinqDataSource control allows a declarative way to use LINQ by using the data source control design pattern that was introduced in VS2005.   With the added designer support, it is very easy for developers to databind against LINQ expressions. 


 


Another interesting control is the ListView control.  This new data bound control is designed to provide great formatting flexibility with CSS to website designers. With improved support for CSS in VS2008, the control allows developers to write cleaner HTML by separating markup from styling.  This flexibility also allows displaying data in interesting ways. For example, ListView supports a ‘tiled’ layout where each cell of the grid contains a row from the table.  Support for such scenarios is valuable in a variety of scenarios, such as the online product catalogs.  From a data binding and events perspective, ListView should seem very familiar to ASP.NET developers.  A separate server control, the DataPager control, is the ideal companion to ListView and allows navigation through pagination.  Thus the ListView and DataPager go hand in hand in providing complete customization of the layout.


 


ASP.NET builds on the investments made in the Application Services – Membership, Roles and Profiles – in.NET Framework 2.0.  In VS 2008, we expose these APIs as web services with both JSON and SOAP endpoints.  The JSON endpoint caters to the AJAX scenarios, where as the SOAP endpoint caters to any SOAP 1.1 compliant clients such as WPF or WinForms applications, as well as applications written with any other framework.   The feature allows clients to leverage the ASP.NET Application services and share a common membership, utilize role management features, and manage user profiles across a number of presentation tiers.  It also enables developers to conveniently maintain roaming user states.


 


In summary, ASP.NET is shipping new features with VS 2008 and .NET FX 3.5 that will enable building rich web applications faster. 


 


Namaste!

Comments (15)

  1. A quick roundup of some of the interesting ASP.NET blog posts/tutorials that popped into my mailbox this week.

    Integrate Windows Live ID Authentication with ASP.NET Membership, Profiles and Roles

    A nice tutorial by Peter Bromberg on how to integrate W..

  2. Sam says:

    Hello Soma,

    What about a Web .NET Framework similar to GWT (Google Web Toolkit) ? Microsoft seems to have a similar thing with an In-House solution thru Script# made by Nikhil. Will you try to compete with Google in this area ?

    Cheers,

    Sam

  3. Richard says:

    Have you fixed any of the bugs in the AJAX extensions? For example:

    http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=277646

    http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=280744

    Both reports are for the same bug, which is easy to see and reproduce, and yet both have been closed as "Not Reproducible".

    The code which causes the bug is three lines long. It’s quite easy to spot that the method initializes the _upperAbbrMonths array, and then incorrectly refers to the _upperMonths array. If the _upperMonths array has already been initialized, the function will return the wrong result. If it hasn’t been initialized, the function will throw an Sys.ArgumentUndefinedException.

    I appreciate that the Connect feedback system is subject to abuse, but dismissing genuine bug reports without even trying to reproduce the problem is unacceptable. If you don’t want our feedback, why bother providing the facility in the first place?

  4. Somasegar says:

    Hi Sam,

    Script# is available for download from http://www.nikhilk.net.  Currently, we don’t have any plans to productize this.

    -somasegar

  5. Shanku Niyogi says:

    Richard,

    Thanks for the bug report. The bug you describe has actually been fixed in .NET Framework 3.5. Unfortunately, it looks like the Connect feedback response was filled out incorrectly (possibly because the issue was verified against 3.5), but we’ll update the bug with details.

  6. [原文地址] ASP.NET enhancements in VS2008 and .NET FX3.5 [原文发表时间] Saturday, September 08, 2007 12:24 AM 今天

  7. Anonymous says:

    It’s so great that asp.net ajax exposes these api’s to the browser. Finally we can have our business logic in javascript code. 🙂

  8. uma says:

    This is very interesting matter about the VS2008.

    Installing VS2008 in windows vista basic is possible?

  9. pradeep says:

    Hi,

    I was wondering when VS 2008 final release will be available. Also will there be any events or promotions where VS 2008 will be given away just like VS 2005? If so can I receive notifications about such give aways?

    Thanks,

    Pradeep

  10. Somasegar says:

    Hi,

    Visual Studio 2008 will work on Vista Home Basic edition.

    -somasegar

  11. Somasegar says:

    Hi,

    We are currently targeting to ship VS 2008 by the end of this year.

    We are planning on launching VS 2008, Windows Server 2008 and SQL Server 2008 around the end of February.

    There will be launch events around the world.  Stay tuned for more details from your local Microsoft folks.

    -somasegar

  12. Here’s a roundup of some links to great blogs and articles about the new stuff coming soon in "Orcas".

  13. Here's a roundup of some links to great blogs and articles about the new stuff coming soon in "Orcas"