ASP.NET AJAX 1.0 Source Code Released

As I mentioned last week when ASP.NET AJAX 1.0 shipped, we are publishing the full source code to the ASP.NET AJAX product. This includes the source to the server-side ASP.NET integration (including the UpdatePanel, UpdateProgress, and ScriptManager controls, as well as the source to the Network Serialization code).

The client-side ASP.NET AJAX JavaScript library (which we also call the "Microsoft AJAX Library") is being released under the Microsoft Permissive License (Ms-PL). This grants developers the right to freely customize/modify the library, as well as to redistribute the derivative versions of the JavaScript library for both commercial and non-commercial purposes.

The code for the server-side ASP.NET AJAX 1.0 implementation was released this morning. You can download it here. It is being released under the Microsoft Reference License (Ms-RL). Included with the source code are debugger symbols for the shipped binary, which will allow you to step from your own code into the ASP. NET AJAX library while debugging, with line number and symbol data preserved. Note that the setup installs the source code locally on your machine within the "\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\Source" directory.

You can also obviously download (and modify) the source code for the ASP.NET AJAX Control Toolkit. It is built as a collaborative CodePlex Project that both Microsoft and non-Microsoft developers contribute code and work on together.

Ajax Trace Console

Ajax Trace Console is a web control to render (only in debug mode) this html code :

<textarea id="TraceConsole">

to AJAX debugging.

Download ASP.NET AJAX PDF Cheat Sheets

Milan Negovan from the http://aspnetresources.com/ site has been working on putting together some really nice PDF "cheat sheets" for the client-JavaScript libraries in ASP.NET AJAX:


These are super handy pages to print out and keep around to quickly find information and code-snippets to use.Milan is making these available completely for free - so definitelydownload them and send him feedback (he is going through and adding them for all the core classes in the client-side AJAX library).

JavaScript, C#, and ExtSharp

Colin Ramsay thinks that JavaScript and C# can be scarily similar as he shows an ExtJS example:


JAVASCRIPT:
  1. var win = new Ext.Window({
  2. title: 'Order Viewer', layout: 'border',
  3. width: 500, height: 500,
  4. modal: true, resizable: false, closable: false, draggable: false,
  5. items: [ frm, lst ]
  6. });
  7. win.on('render', function() {
  8. load(5);
  9. });
  10. win.show();


C#:

  1. var win = new Ext.Window{
  2. Title = "OrderViewer", Layout = Layout.Border,
  3. Width = 100, Height = 200,
  4. Modal = true, Resizable = false, Closable = false, Draggable = false,
  5. Items = new [] { frm, lst }
  6. };
  7. win.Render += delegate {
  8. load(5);
  9. };
  10. win.show();

This works well for ExtJS since it is written in a style that leads itself to this similarity. Colin also points out ExtSharp, a project that lets you write your Ext application in C#:

If you have better solution, just tell me !