New things in ASP.NET 4.0

06/10/2009

AJAX Functionality in ASP.NET 4.0

The AJAX functionality in ASP.NET 4.0 enables new client data scenarios for page and component developers that allow JSON data from the server to be rendered as HTML in a highly manageable and efficient way. To enable these scenarios, ASP.NET 4.0 includes the following major features:

  • Client-side template rendering.
  • Declarative instantiation of client-side behaviors and controls.
  • Live data binding.
  • Use of the observer pattern with JavaScript types.
  • An AdoNetServiceProxy class for client-side interaction with ADO.NET Data Services.
  • A client-side DataView control for data-bound UI in the browser.
  • DataContext and AdoNetDataContext classes for interaction with Web services.
  • Refactored ASP.NET AJAX framework libraries.

Client Template Rendering

In client-based development, templates are the most manageable way of creating UI from data. ASP.NET 4.0 includes a new template engine for client development that meets the following requirements:

  • Performance — The engine must be able to render a typical number of items using a reasonably complex template before users perceive an interruption in their interaction with the application.
  • Simplicity — The template syntax must be very readable and must be optimized for the most common scenario, namely one-way/one-time binding.
  • Expression language — Templates must support an expression language to go beyond the simplest cases. The expression language should use familiar syntax, ideally JavaScript syntax.
  • Interspersed code and markup — It must be possible to perform conditional rendering or to loop over markup by using code that surrounds HTML.
  • XHTML compliance — The template should be able to render XHTML-compliant markup.
  • Components — When using the template syntax, the developer must be able to instantiate client-side controls and behaviors that attach to HTML elements in the page or within templates.

 

Application Server (Dublin)

Provide standard host for WF and WCF applications

- First CTP will be provided on PDC. The community feedback will influence the RTM.

- Application Server “Dublin” will first become available after the release of the .NET Framework 4.0 and Visual Studio “10”.

- Application Server “Dublin” will initially be made available for download and use by Windows Server customers; later, “Dublin” will be included in future releases of Windows Server.

- Application Server “Dublin” will extend Internet Information Services (IIS) to provide a standard host for applications that use workflow or communications.

- It will provide support for Oslo modeling platform.

- It will support existing .NET apps.

- It will support integration with BizTalk Server (in this context called "Integration Server").

Pre-built developer services

· Message-based correlation

· Message forwarding service

· Content-based message routing

· Compensation service for long-running transactions

Greater scalability and easier manageability

· Enable scale-out of stateful workflow applications

· Persisting and rehydrating state for high scalability

· Enhanced management and monitoring functions

· Tracking store for workflow events

Supports “Oslo” modeling platform

- More about this at PDC :)

Posted in: C# and .NET| Tags: NET .NET 4.0 Syntax asp.net ajax client rendering interaction asp html expression template

What is new in asp.net 4.0

06/04/2009

The following sections describe new features in ASP.NET core services, Web Forms, Dynamic Data, and Visual Web Developer.
ASP.NET Core Services

ASP.NET introduces several features that improve core ASP.NET services, Web Forms, Dynamic Data, and Visual Web Developer. For more information, see What’s New in ASP.NET and Web Development.
ASP.NET Web Forms

Web Forms has been a core feature in ASP.NET since the release of ASP.NET 1.0. Many enhancements have been made in this area for ASP.NET 4, including the following:

    *       The ability to set meta tags.
    *       More control over view state.
    *       Easier ways to work with browser capabilities.
    *       Support for using ASP.NET routing with Web Forms.
    *       More control over generated IDs.
    *       The ability to persist selected rows in data controls.
    *       More control over rendered HTML in the FormView and ListView controls.
    *       Filtering support for data source controls.

Dynamic Data

For ASP.NET 4, Dynamic Data has been enhanced to give developers even more power for quickly building data-driven Web sites. This includes the following:

    *       Automatic validation that is based on constraints defined in the data model.
    *       The ability to easily change the markup that is generated for fields in the GridView and DetailsView controls by using field templates that are part of your Dynamic Data project.

Visual Web Developer Enhancements

The Web page designer in Visual Studio 2010 has been enhanced for better CSS compatibility, includes additional support for HTML and ASP.NET markup code examples, and features a redesigned version of IntelliSense for JScript. In addition, two new deployment features called Web packaging and One-Click Publish make deploying Web applications easier.

Posted in: C# and .NET| Tags: .NET 4.0 New asp.net Dynamic Data MVC Visual Web Developer

Hot Posts

Latest posts

Tags

Others

Sponsors

asp.net interview questions