|
Sponsored Links
Resources
.NET Research Library
Get .NET related white papers, case studies and webcasts
|
News
News
News
|
Messages: 3
Messages: 3
Messages: 3
Printer friendly
Printer friendly
Printer friendly
Post reply
Post reply
Post reply
XML
XML
XML
|
 |
From VSLIVE: ASP.NET AJAX extensions employ JSON serializer
By Jack Vaughan [October 26, 2006/Boston; Updated] - Behind the sudden industry interest in AJAX [Asynchronous JavaScript And XML], clearly, is a new interest in frameworks that handle some of the complexity of developing more responsive Web applications. Microsoft has focused its energies on ASP.NET AJAX Extensions, formerly known as Atlas. The software just went beta last week, and individuals from the company have said it should formally ship this year. [Yes, if you developed using the last CTP with Atlas nomenclature, it is time to go in and change those names.]
Among useful traits in ASP.NET AJAX Extensions and the associated tool kit are improved Web service proxy handling and JSON-based serialization, suggested Fritz Onion, technical staff member, PluralSight. Onion spoke this week at VSLive 2006 in Boston.
Chief among capabilities of the new software for .NET developers may be an abstraction level that ensures your AJAX apps work on a variety of popular browsers. This layered browser capability is significant, said Onion.
"You can write client-side JavaScript using the ASP.NET AJAX Library extensions in a browser-independent way, so that you don't have to worry about your application breaking when different browsers hit your pages," he said.
Among the elements Microsoft created for this AJAX framework were some core runtime JavaScript additions, these include declared ‘namespaces’ and certain classes with abstract functions. Also, some helper classes, such as StringBuilder, were brought in from .NET.
JSON serializer
With ASP.NET AJAX Extensions, Microsoft chose to use Java Script Object Notation [JSON] to move data between the server and the AJAX client. The company implemented serializer and deserializer types on both the client and the server to move data in the JSON format. It provides a means for the browser to call Web service methods on the server This provides a new asynchronous communication layer to connect a browser to connect to network end-points.
“I think this Web service [proxy capability] is one of the most compelling aspects. Of ASP.NET AJAX,” said Onion. It generates a JavaScript class that will pass the type across to ASMX endpoints.” This trait belies the fact that AJAX does not always mean XML.
“They have given your ASMX endpoints the ability to serialize as JSON rather than SOAP or XML. You have the choice,” Onion said, adding, “a lot of work went into this JSON serializer.
Also supported in the ASP.NET AJAX kit is an Update Panel Control that lets ASP.NET developers do a lot of “AJAX” style of work within basically familiar confines.
This control supports partial page rendering, an AJAX-style trait, without the need to write special client script. Of the Update Panel Control Onion says: “It’s sort of the ultimate implementation of AJAX within ASP.NET.” But he cautions that it should not be used everywhere.
Back to JS drawing board
Also behind the surge in AJAX interest is renewed interest in JavaScript itself. As always, the fact that a framework can shield developers from complexity does not excuse developers from the need to know what is going on under the covers. Frameworks reduce work but don’t take the developer’s place.
Like cohorts in Java world, ASP.NET developers, too, will be visiting or revisiting their JavaScript skills.
“Anyone who wants to write in AJAX will have to hone up on JavaScript skills,” said Fritz Onion. That is something Onion himself has done of late.
“JavaScript is interesting,” he mused. “It’s one of those languages where you think something and suddenly It’s there So you have to be careful in JavaScript. You have to be sure you have good thoughts.”
|
|
Message #221225
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
ultimate implementation of AJAX within ASP.NET?
Also supported in the ASP.NET AJAX kit is an Update Panel Control that lets ASP.NET developers do a lot of “AJAX” style of work within basically familiar confines. This control supports partial page rendering, an AJAX-style trait, without the need to write special client script. Of the Update Panel Control Onion says: “It’s sort of the ultimate implementation of AJAX within ASP.NET.” But he cautions that it should not be used everywhere That's just half of the truth. UpdatePanel does something, but it has a lot of limitations and still requires a lot of coding. After playing with it I found the much more powerful AJAX engine for the ASP.NET.
|
|
Message #221285
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: ultimate implementation of AJAX within ASP.NET?
Hmmm... $349 for a license, or FREE... Think I'll do the extra coding. Looks cool, but not everyone works for companies with deep pockets, especially with all the free AJAX frameworks out there...
|
|
Message #222518
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
FREE? My time is money...
Companies with deep pockets do think about ROI. As I've heard from managers this tool paid for itself in the first week (my dept. paid $1400 for 5 licenses). On that basis, I believe that the price is reasonable for such a good tool.
|
|
 |
| |
|
New content on TheServerSide.NETNew content on TheServerSide.NETNew content on TheServerSide.NET |
 |
 |
Language "mashups" will become more prominent, and developers will become polyglots, one programmer suggests.
SearchWinDevelopment.com offers an introduction to the language, performance, testing and data management improvements in VS 2008.
VBCode.com code snippets cover all aspects of application development, from data binding to security to the user interface.
Get up to date on XAML best practices with a variety of articles, tutorials and webcasts. [SearchWinDevelopment.com]
One team's experience with the VSTS DB edition suggests that it can improve workflow for dev teams. It also enhanced Agile efforts.
(June 24, Article)
Microsoft has begun to include DSL tools in the VSTS kit. A new book by Steve Cook and other VSTS team members helps set the stage.
(June 24, Article)
Cartoon: Be it ever so humble there is no place like your home after you get a Microsoft Home Server .
(June 18, Cartoon)
Microsoft's Thom Robbins says new technology to highlight in NET 3.5 includes AJAX, LINQ for both C# and VB, as well as tooling enhancements intended to ease the task of building WPF, WF and WCF apps.
(June 29, Podcast)
Venkat Subramaniam discusses AJAX bottlenecks, the tenets of Agile development and more. He spoke at the Ajax Experience.
(June 25, Tech Talk)
In the second of a two-part series, Michele Leroux Bustamente discusses design decisions related to the claims-based security model. Read the story and walk through the process for creating a set of claims-based utilities to encapsulate claims authorization at the service tier.
(May 24, Article)
Understanding why the Entity Framework exists and learning where it can fit into your projects can get you prepared for the eventual release early next year.
(May 10, Article)
Resource: This learning guide gives you quick access to useful links on Windows Communication Foundation security information.
(April 24, Article)
TSS.NET's Jack Vaughan spoke recently spoke with Microsoft's Brad Abrams to find out what he is seeing in the field and what the chefs in Redmond are cooking. Along the way he discusses patterns of AJAX frameworks.
(April 11, Article)
In a two-part series, Michele Leroux Bustamente explains how claims-based security is supported by WCF, and how you can implement a claims-based security model for your services.
(March 29, Article)
Windows Workflow Foundation is a new technology that many developers will need to get their heads around. In a brief excerpt adapted from Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C#, K.Scott Allen considers aspects of workflow definition.
(March 22, Chapter Excerpt)
|
|