{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/pulls/comments/36474933","id":36474933,"diff_hunk":"@@ -0,0 +1,23 @@\n+Using TypeScript with ASP.NET v5 requires that you setup your project in a specific way, for more information about ASP.NET v5 see the [ASP.NET v5 documentation](http://docs.asp.net/en/latest/conceptual-overview/index.html).\n+\n+# Project setup\n+\n+We start by creating a new empty ASP.NET v5 project in Visual Studio 2015, of you're not familiar with ASP.NET v5 follow [this tutorial](http://docs.asp.net/en/latest/tutorials/your-first-aspnet-application.html) for more information.\n+\n+ ![Create new Empty ASP.NET Project](https://raw.githubusercontent.com/wiki/Microsoft/TypeScript/aspnet-screenshots/new-project.png)\n+ \n+ Next add a *scripts* folder to the root of the project, this is where we'll add the TypeScript files and the [tsconfig.json](tsconfig.json.md) file to set the compiler options.\n+ \n+![Project layout](https://raw.githubusercontent.com/wiki/Microsoft/TypeScript/aspnet-screenshots/project.png)\n+\n+Finally we have to add the following option to the *\"compilerOptions\"* node in the *tsconfig.json* file to redirect the compiler output to the *wwwroot* folder:\n+````json\n+    \"outDir\": \"../wwwroot/\"\n+````\n+Now if you build your project, you notice the *app.js*, and the *app.js.map* files are created in the root of the *wwwroot* folder.","path":"Using-TypeScript-With-ASP.NET-5.md","position":17,"original_position":17,"commit_id":"99b337a2b4eaf6274de2f2aefaebb1f8578ebdbd","original_commit_id":"99b337a2b4eaf6274de2f2aefaebb1f8578ebdbd","user":{"login":"DanielRosenwasser","id":972891,"avatar_url":"https://avatars.githubusercontent.com/u/972891?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielRosenwasser","html_url":"https://github.com/DanielRosenwasser","followers_url":"https://api.github.com/users/DanielRosenwasser/followers","following_url":"https://api.github.com/users/DanielRosenwasser/following{/other_user}","gists_url":"https://api.github.com/users/DanielRosenwasser/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRosenwasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRosenwasser/subscriptions","organizations_url":"https://api.github.com/users/DanielRosenwasser/orgs","repos_url":"https://api.github.com/users/DanielRosenwasser/repos","events_url":"https://api.github.com/users/DanielRosenwasser/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRosenwasser/received_events","type":"User","site_admin":false},"body":"\"you notice the *app.js*, and the *app.js.map* files are*\r\n\r\nrewrite to\r\n\r\n\"you'll notice the `app.js` and `app.js.map` files were\"","created_at":"2015-08-06T22:39:36Z","updated_at":"2015-08-06T22:39:36Z","html_url":"https://github.com/Microsoft/TypeScript-wiki/pull/19#discussion_r36474933","pull_request_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TypeScript-wiki/pulls/comments/36474933"},"html":{"href":"https://github.com/Microsoft/TypeScript-wiki/pull/19#discussion_r36474933"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/TypeScript-wiki/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/pulls/19","id":41842312,"html_url":"https://github.com/Microsoft/TypeScript-wiki/pull/19","diff_url":"https://github.com/Microsoft/TypeScript-wiki/pull/19.diff","patch_url":"https://github.com/Microsoft/TypeScript-wiki/pull/19.patch","issue_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues/19","number":19,"state":"open","locked":false,"title":"Asp net support in asp.net v5","user":{"login":"paulvanbrenk","id":5273975,"avatar_url":"https://avatars.githubusercontent.com/u/5273975?v=3","gravatar_id":"","url":"https://api.github.com/users/paulvanbrenk","html_url":"https://github.com/paulvanbrenk","followers_url":"https://api.github.com/users/paulvanbrenk/followers","following_url":"https://api.github.com/users/paulvanbrenk/following{/other_user}","gists_url":"https://api.github.com/users/paulvanbrenk/gists{/gist_id}","starred_url":"https://api.github.com/users/paulvanbrenk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulvanbrenk/subscriptions","organizations_url":"https://api.github.com/users/paulvanbrenk/orgs","repos_url":"https://api.github.com/users/paulvanbrenk/repos","events_url":"https://api.github.com/users/paulvanbrenk/events{/privacy}","received_events_url":"https://api.github.com/users/paulvanbrenk/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-08-06T22:28:30Z","updated_at":"2015-08-06T22:39:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f53b50770be539314e3b0b45449c32491178576","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/pulls/19/commits","review_comments_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/pulls/19/comments","review_comment_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues/19/comments","statuses_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/statuses/99b337a2b4eaf6274de2f2aefaebb1f8578ebdbd","head":{"label":"Microsoft:asp.net","ref":"asp.net","sha":"99b337a2b4eaf6274de2f2aefaebb1f8578ebdbd","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":29706710,"name":"TypeScript-wiki","full_name":"Microsoft/TypeScript-wiki","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/TypeScript-wiki","description":"A repository to make changes to the TypeScript Wiki on GitHub","fork":false,"url":"https://api.github.com/repos/Microsoft/TypeScript-wiki","forks_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/forks","keys_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/teams","hooks_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/events","assignees_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/tags","blobs_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/languages","stargazers_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/subscription","commits_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/merges","archive_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/downloads","issues_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/releases{/id}","created_at":"2015-01-22T23:52:38Z","updated_at":"2015-07-20T04:25:52Z","pushed_at":"2015-08-06T22:29:51Z","git_url":"git://github.com/Microsoft/TypeScript-wiki.git","ssh_url":"git@github.com:Microsoft/TypeScript-wiki.git","clone_url":"https://github.com/Microsoft/TypeScript-wiki.git","svn_url":"https://github.com/Microsoft/TypeScript-wiki","homepage":"https://github.com/Microsoft/TypeScript/wiki","size":871,"stargazers_count":26,"watchers_count":26,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":3,"forks":17,"open_issues":3,"watchers":26,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"7274cbf08a3e1025fd5fe290a91bf5dcc84a18f6","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":29706710,"name":"TypeScript-wiki","full_name":"Microsoft/TypeScript-wiki","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/TypeScript-wiki","description":"A repository to make changes to the TypeScript Wiki on GitHub","fork":false,"url":"https://api.github.com/repos/Microsoft/TypeScript-wiki","forks_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/forks","keys_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/teams","hooks_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/events","assignees_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/tags","blobs_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/languages","stargazers_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/subscription","commits_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/merges","archive_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/downloads","issues_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/TypeScript-wiki/releases{/id}","created_at":"2015-01-22T23:52:38Z","updated_at":"2015-07-20T04:25:52Z","pushed_at":"2015-08-06T22:29:51Z","git_url":"git://github.com/Microsoft/TypeScript-wiki.git","ssh_url":"git@github.com:Microsoft/TypeScript-wiki.git","clone_url":"https://github.com/Microsoft/TypeScript-wiki.git","svn_url":"https://github.com/Microsoft/TypeScript-wiki","homepage":"https://github.com/Microsoft/TypeScript/wiki","size":871,"stargazers_count":26,"watchers_count":26,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":3,"forks":17,"open_issues":3,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TypeScript-wiki/pulls/19"},"html":{"href":"https://github.com/Microsoft/TypeScript-wiki/pull/19"},"issue":{"href":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues/19"},"comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript-wiki/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript-wiki/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/TypeScript-wiki/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/TypeScript-wiki/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/TypeScript-wiki/statuses/99b337a2b4eaf6274de2f2aefaebb1f8578ebdbd"}}}}