This project is read-only.

Introduction and Scope

These standards are intended to be used for software written in JavaScript using the Ajax Control Toolkit.

They have been designed to maintain consistency with the published “Design Guidelines for Developing Class Libraries” and internal Microsoft coding standards for the .NET Framework where possible, whilst prioritizing JavaScript compatibility, performance, and maintainability.

The content is split into sections that can be consumed relatively independently, to enable you to get started quickly;
  • Naming Standards is simply a set of conventions for naming JavaScript language elements.
  • Style Guidelines are preferred ways to structure and format JavaScript code.
  • Design Guidelines define recommended practices to create maintainable code.
  • Programming Guidelines specifies practices that are beneficial to the JavaScript environment, from a performance, reliability, maintainability, and compatibility point of view.

Further guidance is available from the Microsoft ASP.NET and Ajax product group blogs, from Patterns and Practices, and on the ASP.NET Community Site.

The standards in this document do not cover all topics that must be considered when building applications with JavaScript, and therefore it is recommended that other information sources are consulted in partnership. In particular, consider seeking guidance on:
  • JavaScript Security, such as Cross Site Scripting and Request Forgery mitigations.
  • Accessibility and browsing device support
  • Usability and User Interface design

pdf.jpgDownload the Ajax Control Toolkit Coding Standards

Last edited Jul 31, 2014 at 8:07 AM by prasannaranib, version 6