{"id":2184,"date":"2017-10-18T00:38:24","date_gmt":"2017-10-17T15:38:24","guid":{"rendered":"https:\/\/greentown.tokyo\/?p=2184"},"modified":"2017-10-18T22:22:53","modified_gmt":"2017-10-18T13:22:53","slug":"dotnet-angular4","status":"publish","type":"post","link":"https:\/\/greentown.tokyo\/?p=2184","title":{"rendered":"ASP.NET Core\uff0bAngular4\u3067Hello world!"},"content":{"rendered":"<p>\u4ed5\u4e8b\u3067 ASP.NET + Angular4 \u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u307e\u305a\u306f\u52c9\u5f37\u304c\u3066\u3089\u3001Hello world! \u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3061\u3087\u3063\u3068\u53c2\u8003\u306b\u3057\u305f\u30b5\u30a4\u30c8<\/p>\n<p><a href=\"https:\/\/medium.com\/@levifuller\/building-an-angular-application-with-asp-net-core-in-visual-studio-2017-visualized-f4b163830eaa\">Visual Studio 2017\u3067ASP.NET Core\u3092\u4f7f\u7528\u3057\u305fAngular4\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30d3\u30eb\u30c9\u3059\u308b<i class=\"fa fa-external-link\"><\/i><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>\u3044\u308b\u3082\u306e<\/h2>\n<ul>\n<li>Visual Studio 2017<\/li>\n<li>.NET Core<\/li>\n<li>Node.js<\/li>\n<\/ul>\n<p>Node.js \u306f\u4ee5\u4e0b\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/nodejs.org\/ja\/\">https:\/\/nodejs.org\/ja\/<i class=\"fa fa-external-link\"><\/i><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210<\/h3>\n<p>Visual Studio\u3092\u8d77\u52d5\u3057\u3001\u65b0\u3057\u304f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-2186 size-full\" src=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/749edbe414f3739a02e38427f35998ac.png\" alt=\"\" width=\"784\" height=\"203\" srcset=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/749edbe414f3739a02e38427f35998ac.png 784w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/749edbe414f3739a02e38427f35998ac-300x78.png 300w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/749edbe414f3739a02e38427f35998ac-768x199.png 768w\" sizes=\"(max-width: 784px) 100vw, 784px\" \/><\/p>\n<p>\u300c\u30d5\u30a1\u30a4\u30eb\u300d\u2192\u300c\u65b0\u898f\u4f5c\u6210\u300d\u2192\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-2190 size-full\" src=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/5e09646493c68fb6baefe594ff0852ec.png\" alt=\"\" width=\"1003\" height=\"489\" srcset=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/5e09646493c68fb6baefe594ff0852ec.png 1003w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/5e09646493c68fb6baefe594ff0852ec-300x146.png 300w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/5e09646493c68fb6baefe594ff0852ec-768x374.png 768w\" sizes=\"(max-width: 1003px) 100vw, 1003px\" \/><\/p>\n<p>\u300cVisual C#\u300d\u2192\u300c.NET Core\u300d\u2192\u300cASP.NET Core Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u300d\u3092\u9078\u629e\u3002<\/p>\n<p>\u540d\u524d\u306e\u3068\u3053\u308d\u306b\u9069\u5f53\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3092\u5165\u529b\u3057[OK]\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-2191 size-full\" src=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/cd2ae4e21602b79816a3b1c03702b006.png\" alt=\"\" width=\"837\" height=\"556\" srcset=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/cd2ae4e21602b79816a3b1c03702b006.png 837w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/cd2ae4e21602b79816a3b1c03702b006-300x199.png 300w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/cd2ae4e21602b79816a3b1c03702b006-768x510.png 768w\" sizes=\"(max-width: 837px) 100vw, 837px\" \/><\/p>\n<p>\u300cAngular\u300d\u3092\u9078\u629e\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>[IIS Express]\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u5b9f\u884c\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-2193 size-full\" src=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/5e055c342f88355879aae925a4877c78.png\" alt=\"\" width=\"1860\" height=\"1024\" srcset=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/5e055c342f88355879aae925a4877c78.png 1860w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/5e055c342f88355879aae925a4877c78-300x165.png 300w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/5e055c342f88355879aae925a4877c78-768x423.png 768w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/5e055c342f88355879aae925a4877c78-1024x564.png 1024w\" sizes=\"(max-width: 1860px) 100vw, 1860px\" \/><\/p>\n<p>\u30d3\u30eb\u30c9\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3002<\/p>\n<p>\u4f9d\u5b58\u95a2\u4fc2\u306e\u3068\u3053\u308d\u3067\uff01\u30de\u30fc\u30af\u304c\u3067\u3066\u307e\u3059\u3002Node.js\u95a2\u9023\u304c\u3044\u308d\u3044\u308d\u898b\u3064\u304b\u3089\u306a\u3044\u3068\u3044\u308f\u308c\u3066\u307e\u3059\u3002<\/p>\n<p>npm\u3092\u9593\u9055\u3063\u305f\u3068\u3053\u308d\u3067\u3084\u3063\u3066\u3057\u307e\u3063\u305f\u3089\u3057\u3044\u3002<\/p>\n<p>\u3084\u308a\u306a\u304a\u3057\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u3044\u3066\u3001\u65b0\u3057\u304f\u4f5c\u3063\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3002<\/p>\n<p>WebMyApp\u3067\u306f\u306a\u304f \uff08\u2190\u3053\u3053\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3057\u307e\u3063\u305f\uff09<\/p>\n<p>WebMyApp\\WebMyApp \u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3002<\/p>\n<div class=\"yellowbox\">C:\\let-try\\WebMyApp\\WbMyApp&gt;npm install npm@latest -g<br \/>\nC:\\let-try\\WebMyApp\\WbMyApp&gt;npm install<\/div>\n<blockquote><p>\u30d7\u30ed\u30ad\u30b7\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u5148\u306b\u4ee5\u4e0b\u3092\u5b9f\u884c\u3057\u3066\u304a\u304f<\/p>\n<p>npm config set proxy http:\/\/{\u30d7\u30ed\u30ad\u30b7\u306e\u30a2\u30c9\u30ec\u30b9}:{\u30dd\u30fc\u30c8\u756a\u53f7}<\/p><\/blockquote>\n<p><img decoding=\"async\" class=\"alignnone wp-image-2198 size-full\" src=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/d14a2b31b93967d58a5960cc3073cc96.png\" alt=\"\" width=\"714\" height=\"350\" srcset=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/d14a2b31b93967d58a5960cc3073cc96.png 714w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/d14a2b31b93967d58a5960cc3073cc96-300x147.png 300w\" sizes=\"(max-width: 714px) 100vw, 714px\" \/><\/p>\n<p>\u3053\u3093\u306a\u611f\u3058\u306b\u306a\u308c\u3070OK\u3063\u307d\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3082\u3046\u4e00\u5ea6[IIS Express]\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u5b9f\u884c\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-2199 size-full\" src=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/Hello-world.png\" alt=\"\" width=\"1086\" height=\"569\" srcset=\"https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/Hello-world.png 1086w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/Hello-world-300x157.png 300w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/Hello-world-768x402.png 768w, https:\/\/greentown.tokyo\/wp-content\/uploads\/2017\/10\/Hello-world-1024x537.png 1024w\" sizes=\"(max-width: 1086px) 100vw, 1086px\" \/><\/p>\n<p>\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066\u3000Hello world!\u3000\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u306a\u3093\u304b\u3001\u3042\u3063\u3051\u306a\u304b\u3063\u305f\u30fb\u30fb\u30fb\u4eca\u65e5\u306f\u3053\u3053\u307e\u3067\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ed5\u4e8b\u3067 ASP.NET + Angular4 \u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u307e\u305a\u306f\u52c9\u5f37\u304c\u3066\u3089\u3001Hello world! \u3057\u307e\u3057\u305f\u3002 \u3061\u3087\u3063\u3068\u53c2\u8003\u306b\u3057\u305f\u30b5\u30a4\u30c8 Visual Studio 2017\u3067ASP &#8230; <\/p>\n","protected":false},"author":1,"featured_media":2207,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[76],"tags":[],"class_list":["post-2184","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-asp-dotnet"],"_links":{"self":[{"href":"https:\/\/greentown.tokyo\/index.php?rest_route=\/wp\/v2\/posts\/2184"}],"collection":[{"href":"https:\/\/greentown.tokyo\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greentown.tokyo\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greentown.tokyo\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/greentown.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2184"}],"version-history":[{"count":9,"href":"https:\/\/greentown.tokyo\/index.php?rest_route=\/wp\/v2\/posts\/2184\/revisions"}],"predecessor-version":[{"id":2210,"href":"https:\/\/greentown.tokyo\/index.php?rest_route=\/wp\/v2\/posts\/2184\/revisions\/2210"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greentown.tokyo\/index.php?rest_route=\/wp\/v2\/media\/2207"}],"wp:attachment":[{"href":"https:\/\/greentown.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greentown.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greentown.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}