The following are the tools required while working on this chapter:
- Visual Studio 2017 with the latest ASP.NET Core tools
- Visual Studio TypeScript SDK
- @types/jquery will be installed in the project with npm
All code examples in this chapter may be tested by doing the following:
- Create a new ASP.NET Core MVC project, called DOMManipulation, without authentication:

- Add a ts folder under wwwroot:

- Add the following tsconfig.json in the project root:
{
"compileOnSave": true,
"compilerOptions": {
"noImplicitAny": true,
"strictNullChecks": true,
"noEmitOnError": true,
"removeComments": false,
"sourceMap": true,
"target": "es5",
"outDir": "wwwroot/js"
},
"include": [
...