TypeScript for Dynamics 365.
A practical approach to building web resources that are easier to maintain, test and support.
This series grew out of projects where JavaScript web resources had become difficult to maintain. TypeScript, testing and telemetry help bring structure to that work.
These articles reflect the tools and APIs available when they were written. The code and downloadable samples are preserved with their original context.
Basics
Set up a TypeScript project and create your first Dynamics 365 web resource.
Type Declarations
Add type declarations for the Dynamics 365 client API and make your code easier to understand.
Webpack & Babel
Bundle TypeScript web resources with a practical Webpack and Babel configuration.
Modules & Debugging
Organise your code with ES modules and debug locally using source maps and Fiddler.
Unit Testing
Get started with Jest, mocks and unit tests for Dynamics 365 TypeScript web resources.
Application Insights
Add Application Insights to your web resources for logging, telemetry and troubleshooting.