4. project.json 파일의 소스 코드는 다음과 같다. ASP.NET Core 1.0 프로젝트의 주요 서버 측 컴포넌트들에 대한 설정 정보를 담고 있다. 지금은 그냥 살펴보면 된다.

    ▼  Project.json

    {
      “dependencies”: {
          “Microsoft.NETCore.App”: {
              “version”: “1.0.0”,
              “type”: “platform”
          },
          “Microsoft.AspNetCore.Diagnostics”: “1.0.0”,
          
          “Microsoft.AspNetCore.Server.IISIntegration”: “1.0.0”,
          “Microsoft.AspNetCore.Server.Kestrel”: “1.0.0”,
          “Microsoft.Extensions.Logging.Console”: “1.0.0”
      },
      
      “tools”: {
          “Microsoft.AspNetCore.Server.IISIntegration.Tools”: “1.0.0-preview2-final”
      },
      
      “frameworks”: {
          “netcoreapp1.0”: {
              “imports”: [
                  “dotnet5.6”,
                  “portable-net45+win8”
              ]
          }
      },
      
      “buildOptions”: {
          “emitEntryPoint”: true,
          “preserveCompilationContext”: true
      },
      
      “runtimeOptions”: {
          “configProperties”: {
              “System.GC.Server”: true
          }
      },
      
      “publishOptions”: {
          “include”: [
              “wwwroot”,
              “web.config”
          ]
      },
      
      “scripts”: {
          “postpublish”: [ “dotnet publish-iis –publish-folder %publish:OutputPath% –framework %publish:FullTargetFramework%” ]
      }
    }
    

    신간 소식 구독하기
    뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.