The technical requirements for this chapter are minimal:
- Visual Studio 2017, with the latest ASP.NET Core tools
- Visual Studio TypeScript SDK
Let's create an ASP.NET Core MVC project called AdvancedFeatures without authentication, and add a .ts folder. Also, add the following standard tsconfig.json configuration file to the project root:
{
"compileOnSave": true,
"compilerOptions": {
"noImplicitAny": true,
"strictNullChecks": true,
"noEmitOnError": true,
"removeComments": false,
"sourceMap": true,
"target": "es5",
"lib": ["dom", "es5"],
"outDir": "wwwroot/js"
},
"include": [
"wwwroot/ts/**/*.ts"
]
}
The AdvancedFeatures...