1

所以,我的故事是:

我使用 Debian8x64 OS 清洁 VM,按照以下说明安装 DNVM :http: //docs.asp.net/en/latest/getting-started/installing-on-linux.html ,按照以下说明安装单声道:http:// /www.mono-project.com/docs/getting-started/install/linux/

然后我从这里取样:https ://github.com/aspnet/home ,启动它,一切看起来都很好。

在此之后,我使用 ASP.NET 5 项目模板在 Visual Studio 2015 中创建了非常简单的 MVC 应用程序,并将此代码复制到 Debian VM 上。它也运行良好,但是当我尝试从浏览器调用它时,它卡住了,红隼没有响应。此外,Hello world MVC App 在那之后也卡住了。

我做错了什么?

UPD:使用 DNX_TRACE 输出

Information: [Bootstrapper] Runtime Framework: DNX,Version=v4.5.1
Information: [ApplicationHostContext] Using Lock File Target: DNX,Version=v4.5.1/debian.8-x64
Information: [DefaultHost]: Project path: /home/brewer/Documents/samples/home/samples/1.0.0-rc1-update1/HelloMvc
Information: [DefaultHost]: Project root: /home/brewer/Documents/samples/home/samples/1.0.0-rc1-update1/HelloMvc
Information: [DefaultHost]: Project configuration: Debug
Information: [DefaultHost]: Packages path: /root/.dnx/packages
Information: [Breadcrumbs] Breadcrumbs for servicing will not be written because the breadcrumbs folder () does not exist.
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Server.Kestrel
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Server.Kestrel in 4ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Hosting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Hosting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Hosting.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Hosting.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Hosting.Server.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Hosting.Server.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.Configuration, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.Configuration, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.Configuration.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.Configuration.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.Configuration.CommandLine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.Configuration.CommandLine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.Configuration.Json, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.Configuration.Json, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.Configuration.EnvironmentVariables, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.Configuration.EnvironmentVariables, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.Logging.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.Logging.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.DependencyInjection.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.DependencyInjection.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Http.Features, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Http.Features, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.Primitives, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.Primitives, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.Configuration.FileExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.Configuration.FileExtensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.FileProviders.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.FileProviders.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.Logging, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.Logging, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.DependencyInjection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.DependencyInjection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=System.Diagnostics.DiagnosticSource, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Information: [PackageAssemblyLoader]: Loaded name=System.Diagnostics.DiagnosticSource, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Http.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Http.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Http, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Http, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.FileProviders.Physical, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.FileProviders.Physical, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=HelloMvc
Warning: [ApplicationHostContext] Lock File Target is Runtime-agnostic! This is generally not good.
Information: [ApplicationHostContext] Using Lock File Target: DNX,Version=v4.5.1/
Information: [LibraryExporter]: ExportProject(HelloMvc, , DNX,Version=v4.5.1, Debug)
Warning: [ApplicationHostContext] Lock File Target is Runtime-agnostic! This is generally not good.
Information: [ApplicationHostContext] Using Lock File Target: DNX,Version=v4.5.1/
Information: [LibraryExporter]: GetProjectReference(Microsoft.Dnx.Compilation.CSharp.RoslynProjectCompiler, HelloMvc, DNX,Version=v4.5.1, )
Information: [LibraryExporter]: Resolving references for 'HelloMvc' 
Information: [LibraryExporter]: Resolved 87 references for 'HelloMvc' in 18ms
Information: [RoslynCompiler]: Compiling 'HelloMvc'
Information: [LoaderContainer]: Load name=System.Security.Cryptography.Algorithms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Information: [LoaderContainer]: Load name=System.Security.Cryptography.Primitives, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Information: [LoaderContainer]: Load name=System.IO.FileSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null
Information: [RoslynCompiler]: Compiled 'HelloMvc' in 596ms
Information: [CompilationContext]: Generating resources for HelloMvc
Information: [CompilationContext]: Generated resources for HelloMvc in 6ms
Information: [RoslynProjectReference]: Emitting assembly for HelloMvc
Information: [RoslynProjectReference]: Emitted HelloMvc in 1223ms
Information: [ProjectAssemblyLoader]: Loaded name=HelloMvc in 2115ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Mvc, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Mvc, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Mvc.Core, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Mvc.ApiExplorer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Mvc.ApiExplorer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Mvc.ViewFeatures, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Mvc.Razor, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Mvc.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Mvc.DataAnnotations, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Mvc.Formatters.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Mvc.Formatters.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Mvc.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Mvc.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.OptionsModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.OptionsModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Routing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Routing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Mvc.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.MemoryPool, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.MemoryPool, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Authorization, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Authorization, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.DataProtection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.DataProtection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Antiforgery, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Antiforgery, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.WebEncoders, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.WebEncoders, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.WebEncoders.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.WebEncoders.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Html.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Html.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Cryptography.Internal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Cryptography.Internal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.DataProtection.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.DataProtection.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Mvc.Razor.Host, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Mvc.Razor.Host, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Razor, Version=4.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Razor, Version=4.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.Caching.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.Caching.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.Caching.Memory, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.Caching.Memory, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Cors, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.Logging.Console, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.Logging.Console, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.IISPlatformHandler, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.IISPlatformHandler, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Hosting environment: Production
Now listening on: http://*:5004
Application started. Press Ctrl+C to shut down.
Information: [LoaderContainer]: Load name=System.Numerics.Vectors, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Information: [PackageAssemblyLoader]: Loaded name=System.Numerics.Vectors, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in 0ms
[32minfo[39m[37m: Microsoft.AspNet.Hosting.Internal.HostingEngine[1][39m
[97m      Request starting HTTP/1.1 GET http://localhost:5004/  [39m
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Http.Extensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Http.Extensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Net.Http.Headers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Net.Http.Headers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Microsoft.Extensions.Localization.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.Extensions.Localization.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
Information: [LoaderContainer]: Load name=Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
Information: [PackageAssemblyLoader]: Loaded name=Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed in 0ms
Information: [ApplicationHostContext] Using Lock File Target: DNX,Version=v4.5.1/debian.8-x64
Information: [LoaderContainer]: Load name=Microsoft.AspNet.WebUtilities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.WebUtilities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
[32minfo[39m[37m: Microsoft.AspNet.Mvc.Controllers.ControllerActionInvoker[1][39m
[97m      Executing action method MvcSample.Web.HomeController.Index with arguments () - ModelState is Valid'[39m
Information: [LoaderContainer]: Load name=Microsoft.AspNet.Razor.Runtime, `      Version=4.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`
Information: [PackageAssemblyLoader]: Loaded name=Microsoft.AspNet.Razor.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 in 0ms
4

2 回答 2

0

我尝试使用 CoreCLR 代替 Mono 并且一切正常。单声道是可疑的:)

于 2016-01-15T17:56:20.827 回答
0

我在 Centos 7 和 Ubuntu 16.04 中体验过这一点,下面让它工作。

在 shell(或您的 .bashrc 文件中)添加以下环境变量

export MONO_THREADS_PER_CPU=2000

然后运行

dnx web

于 2016-05-05T20:37:45.967 回答