Practical TypeScript


Build Your DOM Additions with Angular and TypeScript

Here’s how, in Angular, you can use directives to dynamically modify HTML in Views without polluting your business logic.

Your First Angular App: Events and Updating

Peter completes his walk-through of creating a simple Angular app with TypeScript by responding to events, accepting data from the user and updating data back at the server with an AJAX call.

Your First TypeScript Angular 2 App

Here's how to use Angular2 and TypeScript to retrieve JSON objects from an ASP.NET MVC controller and populate your page with the results.

Set Up ASP.NET MVC with AngularJS in Visual Studio

Here’s how to add AngularJS to an ASP.NET MVC application in Visual Studio 2015.

The Focus Is on Architecting Modules in TypeScript 2.1

If you want to ensure that the right code is loaded at the right time (and only loaded when you need it), you can start organizing your TypeScript code into focused files right now.

Managing Modules in TypeScript 2.1

If you want to ensure that the right code is loaded at the right time (and only loaded when you need it), you can use TypeScript code to organize your code into modules. As a side benefit, managing your script tags will get considerably easier.

More Cool Stuff in TypeScript 2.0 and 2.1

A roundup of a few more features: deprecated any type, literal datatypes, read-only properties, more!

TypeScript 2.0: More Power for Defining Classes

The latest version of TypeScript provides developers with tools to create base classes and class hierarchies just like the other object-oriented languages.

TypeScript 2.0: Even Better Data Typing and Class Discriminants

If you care about data typing and want to avoid null/undefined errors, there's a lot you're going to like in TypeScript 2.0. And, if you like creating general purpose functions that can work with a variety of classes, there's something here for you, too.

Browsing Objects with IndexedDB

Peter shows how to browse a set of objects in an IndexedDB ObjectStore and, along the way, finishes up his TypeScript/IndexedDB utilities for storing and retrieving large amounts of data on the client.

Leveraging TypeScript When Working with IndexedDB

TypeScript might change the way you design an application that uses IndexedDB.

Storing Lots of Data on the Client in JavaScript and TypeScript

IndexedDB allows you to store data on the client to let the user work offline and to reduce demands on the server. Here's enough code to both get you started and to show you the difference between doing it in JavaScript and doing it in TypeScript.

Declarative Programming in TypeScript with Decorators

If you've used attributes in your C# or Visual Basic programs, then decorators in TypeScript are going to look very familiar to you. They're still in development, but here's a look both at how to use them and how to write them.

Processing Data with ASP.NET MVC, JSX+React and TypeScript

JSX+React provides a flexible way for you to structure your client-side code to two things you want: dynamically transform your page in response to your user's input, and to integrate with ASP.NET MVC action methods.

Integrating ASP.NET MVC, React and JSX with TypeScript

Creating a form with TypeScript, React and JSX lets you generate the HTML for your form dynamically, at runtime, and on the user's computer. Here's how to integrate a data- driven form into ASP.NET MVC.

Upcoming Events

.NET Insight

Sign up for our newsletter.

I agree to this site's Privacy Policy.