Xamarin / Mono中的SignalR Self Host

时间:2014-03-24 00:24:43

标签: asp.net mono xamarin signalr xamarin.mac

我对Self Host SignalR(http://www.asp.net/signalr/overview/signalr-20/getting-started-with-signalr-20/tutorial-signalr-20-self-host)的示例有疑问。

我在VS 2013的Windows平台上取得了成功,我在Xamarin(Mac OS)上创建了所有必需品,包括金块包和启动。运行后打开浏览器并显示错误消息:

System.Web.HttpException 无法找到资源。

描述:HTTP 404.您要查找的资源(或其中一个依赖项)可能已被删除,名称已更改或暂时不可用。请查看以下网址,确保拼写正确。 详细信息:请求的网址:/ 异常堆栈跟踪: at System.Web.StaticFileHandler.ProcessRequest (System.Web.HttpContext context) [0x001a4] in /private/tmp/source/bockbuild-mono-3.2.6/profiles/mono-mac-xamarin/build-root/mono-3.2.6/mcs/class/System.Web/System.Web/StaticFileHandler.cs:121 at System.Web.DefaultHttpHandler.BeginProcessRequest (System.Web.HttpContext context, System.AsyncCallback callback, System.Object state) [0x00098] in /private/tmp/source/bockbuild-mono-3.2.6/profiles/mono-mac-xamarin/build-root/mono-3.2.6/mcs/class/System.Web/System.Web/DefaultHttpHandler.cs:101 at System.Web.HttpApplication+<Pipeline>c__Iterator6.MoveNext () [0x00d9c] in /private/tmp/source/bockbuild-mono-3.2.6/profiles/mono-mac-xamarin/build-root/mono-3.2.6/mcs/class/System.Web/System.Web/HttpApplication.cs:1365 at System.Web.HttpApplication.Tick () [0x00000] in /private/tmp/source/bockbuild-mono-3.2.6/profiles/mono-mac-xamarin/build-root/mono-3.2.6/mcs/class/System.Web/System.Web/HttpApplication.cs:932

我希望这是明显的。我可以根据要求分享代码,谢谢

0 个答案:

没有答案