Thanks everyone who came to my Ajax talk tonight at the .NET Developers Association! The slides and demos from the talk can be downloaded by clicking the following link:
You need Visual Studio 2010 to view the code samples. The first project, named Demos, contains the following samples:
- ASPAjax4
- 1_CompositeScripts.aspx – Demonstrates how to use the ScriptManger to combine, compress, and cache JavaScript files automatically.
- 2_EnableCdn.aspx – Demonstrates how to retrieve ASP.NET Ajax framework scripts from the Microsoft Ajax CDN automatically.
- jQuery
- 1_Selectors.aspx – Demonstrates how to use jQuery selectors
- 2_WebForms.aspx – Demonstrates how to use the client tablesorter plugin with ASP.NET Web Forms.
- 3_MVC.aspx – Demonstrates how to use jQuery animation and the templating plugin with ASP.NET MVC.
- 4_OData.aspx – Demonstrates how to use jQuery with the Netflix API by using JSONP and odata.
- 5_Templating.aspx – Demonstrates how to use jQuery client templating.
- 6_TemplateConditionals.aspx – Demonstrates how to use logic within a jQuery template.
- 7_DataLinking.aspx – Demonstrates how to perform data-binding in jQuery.
- 8_Converters.aspx – Demonstrates how to defines converters that work with data-binding.
The second project, named ACT_Tools, illustrates how to use the Microsoft Ajax Minifier and the JSBuild JavaScript preprocessor. When you perform a build in Visual Studio, all JavaScript and CSS files are minified automatically. Furthermore, any *.pre.js file is processed using the JSBuild preprocessor and the output is saved to the ScriptOutput folder. Select Show All Files in Visual Studio to see the generated results of the minifier and the preprocessor.