SignalR/EPiServer "/signalr/hubs?"尝试使用 Live Monitor 时 IIS 上出现 404
SignalR/EPiServer "/signalr/hubs?" 404 on IIS when trying to use Live Monitor
我正在尝试让 Live Monitor 与 EPiServer 一起工作。
但是,当页面加载时,returns /signalr/hubs?
上的 302 只是重定向到我们的 404 页面。
看这个截图:
这是我的创业公司class:
using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(MyWebApp.Web.Plumbing.OwinStartup))]
namespace MyWebApp.Web.Plumbing
{
public class OwinStartup
{
public void Configuration(IAppBuilder app)
{
app.MapSignalR();
}
}
}
我已经安装了这些 NuGet 包:
- Microsoft.Owin
- Microsoft.Owin.安全
- Microsoft.AspNet.SignalR.Core
- Microsoft.AspNet.SignalR.SystemWeb
- EPiServer.LiveMonitor
我没有这方面的经验;有人可以帮忙吗?
我重新安装了 EPiServer.LiveMonitor
软件包,它提取了所有依赖项,包括 signalr
。之后我再次设置实时监视器,然后尝试加载页面。我仍然得到相同的结果,但这次 totally emptying the asp.net cache 成功了,与上次相反。
我正在尝试让 Live Monitor 与 EPiServer 一起工作。
但是,当页面加载时,returns /signalr/hubs?
上的 302 只是重定向到我们的 404 页面。
看这个截图:
这是我的创业公司class:
using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(MyWebApp.Web.Plumbing.OwinStartup))]
namespace MyWebApp.Web.Plumbing
{
public class OwinStartup
{
public void Configuration(IAppBuilder app)
{
app.MapSignalR();
}
}
}
我已经安装了这些 NuGet 包:
- Microsoft.Owin
- Microsoft.Owin.安全
- Microsoft.AspNet.SignalR.Core
- Microsoft.AspNet.SignalR.SystemWeb
- EPiServer.LiveMonitor
我没有这方面的经验;有人可以帮忙吗?
我重新安装了 EPiServer.LiveMonitor
软件包,它提取了所有依赖项,包括 signalr
。之后我再次设置实时监视器,然后尝试加载页面。我仍然得到相同的结果,但这次 totally emptying the asp.net cache 成功了,与上次相反。