Features

Looking for JsonFx?

Both the full framework and JSON Serializer are available:

JsonFx StarterKit

For code examples and detailed feature descriptions visit:

Power Development

  • JsonFx encourages you to write good pure JavaScript while performing the browser-specific heavy-lifting for you
  • All client library components are pure Object-Oriented JavaScript and all server components are C# / ASP.NET 2.0
  • Allows you to decide JavaScript integration points rather than forcing you to mold your code to it

Full Client-Server Ajax Support

  • Cross-Browser Ajax interface allows robust client-server communication
  • Browser compatibility includes A-Grade browsers from Yahoo! Grade Browser Support

Built-In JSON Serialization

  • Complete client/server serialization/deserialization of JSON
  • Supports deserialization into C# classes

Built-In JSON-RPC Service Generation

  • Generates JSON-RPC services as easy as XML WebServices in ASP.NET
  • Generates JavaScript service proxies so calling JSON-RPC is as easy as calling a function

Built-In JsonML & JBST Support

  • Support for generating JBST from ASP/JSP-style markup
  • Support for generating JsonML from standard ASP.NET web-pages
  • Allows naturally defining UI markup in JavaScript

Ajax History Support

  • Cross-Browser History interface allows programmatic access to storing history state, restored with the Back/Forward Buttons
  • Doesn't break the browser's forward/back buttons

Progressive-Enhancement Support

  • Support for binding JavaScript behaviors to otherwise static HTML
  • Allows fallback to non-Ajax experience

CssUserAgent Support

  • Built-in mechanism for supporting browser specific CSS without resorting to CSS hacks.
  • Reduces need for browser specific JavaScript when customizing presentation.
  • See the example!

Build-Time JavaScript syntax checking / compaction

  • JavaScript syntax errors show up in Visual Studio errors list
  • Whitespace/Comments removal at build time