【发布时间】:2015-05-20 12:32:50
【问题描述】:
self host mvc 6 application *dnx . web* command throw exception in windows 8 machine
i have followed the [link][1] to self host the mvc 6 application.
It has worked in visual studio 2015RC installed machine. but when we try to host other machine i got the below exception.
C:\Users\Bigdata\Desktop\web4.5\src\web4._5>dnx 。网络 System.MissingMethodException:找不到方法:'Int32 System.Runtime.InteropServices.Marshal.SizeOf(!!0)'。在 Microsoft.Net.Http.Server.WebListener.SetRequestQueueLimit() 在 Microsoft.Net.Http.Server.WebListener.Start() 在 Microsoft.AspNet.Server.WebListener.MessagePump.Start(Func
2 app) at Microsoft.AspNet.Server.WebListener.ServerFactory.Start(IServerInformation server, Func2 应用程序) 在 Microsoft.AspNet.Hosting.HostingEngine.Start(HostingContext 上下文) 在 Microsoft.AspNet.Hosting.Program.Main(字符串 [] 参数)
[1]: https://stackoverflow.com/questions/30298458/is-it-possible-to-self-host-a-mvc-6-application-without-iis-not-web-api
【问题讨论】:
标签: model-view-controller asp.net-core visual-studio-2015