Please see http://go.microsoft.com/fwlink/?LinkId=272764 for more information on using SignalR.
Upgrading from 1.x to 2.0
-------------------------
Please see http://go.microsoft.com/fwlink/?LinkId=320578 for more information on how to
upgrade your SignalR 1.x application to 2.0.
Mapping the Hubs connection
----------------------------
To enable SignalR in your application, create a class called Startup with the following:
using Microsoft.Owin;
using Owin;
using MyWebApplication;
namespace MyWebApplication
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
app.MapSignalR();
}
}
}
Getting Started
---------------
See http://www.asp.net/signalr/overview/getting-started for more information on how to get started.
Why does ~/signalr/hubs return 404 or Why do I get a JavaScript error: 'myhub is undefined'?
--------------------------------------------------------------------------------------------
This issue is generally due to a missing or invalid script reference to the auto-generated Hub JavaScript proxy at '~/signalr/hubs'.
Please make sure that the Hub route is registered before any other routes in your application.
In ASP.NET MVC 4 you can do the following:
<script src="~/signalr/hubs"></script>
If you're writing an ASP.NET MVC 3 application, make sure that you are using Url.Content for your script references:
<script src="@Url.Content("~/signalr/hubs")"></script>
If you're writing a regular ASP.NET application use ResolveClientUrl for your script references or register them via the ScriptManager
using a app root relative path (starting with a '~/'):
<script src='<%: ResolveClientUrl("~/signalr/hubs") %>'></script>
If the above still doesn't work, you may have an issue with routing and extensionless URLs. To fix this, ensure you have the latest
patches installed for IIS and ASP.NET.
没有合适的资源?快使用搜索试试~ 我知道了~
SignalR+Chart.js+TypeScript整合开发CPU使用率实时图表
共132个文件
dll:31个
xml:27个
js:13个
5星 · 超过95%的资源 需积分: 48 833 下载量 109 浏览量
2014-05-21
16:58:19
上传
评论 16
收藏 5.84MB RAR 举报
温馨提示
SignalR+Chart.js+TypeScript整合开发CPU使用率实时图表
资源推荐
资源详情
资源评论
收起资源包目录
SignalR+Chart.js+TypeScript整合开发CPU使用率实时图表 (132个子文件)
SignalRServer.csprojResolveAssemblyReference.cache 77KB
DesignTimeResolveAssemblyReferencesInput.cache 10KB
DesignTimeResolveAssemblyReferencesInput.cache 7KB
Web.Release.config 1KB
Web.Debug.config 1KB
packages.config 1KB
SignalRServer.dll.config 353B
Web.config 353B
packages.config 234B
repositories.config 198B
RefreshCPUUtilization.exe.config 187B
App.config 187B
AssemblyInfo.cs 1KB
AssemblyInfo.cs 1KB
Program.cs 1KB
AppHub.cs 324B
Startup.cs 321B
TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs 0B
TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs 0B
TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs 0B
TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs 0B
TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs 0B
TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs 0B
SignalRServer.csproj 7KB
RefreshCPUUtilization.csproj 3KB
Newtonsoft.Json.dll 413KB
Newtonsoft.Json.dll 404KB
Newtonsoft.Json.dll 404KB
Newtonsoft.Json.dll 404KB
Newtonsoft.Json.dll 403KB
Newtonsoft.Json.dll 378KB
Newtonsoft.Json.dll 375KB
Newtonsoft.Json.dll 369KB
Newtonsoft.Json.dll 361KB
Newtonsoft.Json.dll 325KB
Microsoft.AspNet.SignalR.Core.dll 314KB
Microsoft.AspNet.SignalR.Core.dll 314KB
Microsoft.Owin.Host.SystemWeb.dll 145KB
Microsoft.Owin.Host.SystemWeb.dll 145KB
Microsoft.Owin.Host.SystemWeb.dll 139KB
Microsoft.AspNet.SignalR.Client.dll 131KB
Microsoft.AspNet.SignalR.Client.dll 131KB
Microsoft.AspNet.SignalR.Client.dll 131KB
Microsoft.AspNet.SignalR.Client.dll 121KB
Microsoft.AspNet.SignalR.Client.dll 111KB
Microsoft.Owin.dll 91KB
Microsoft.Owin.dll 91KB
Microsoft.Owin.dll 78KB
Microsoft.Owin.Security.dll 49KB
Microsoft.Owin.Security.dll 49KB
Microsoft.AspNet.SignalR.SystemWeb.dll 14KB
Microsoft.AspNet.SignalR.SystemWeb.dll 14KB
SignalRServer.dll 6KB
SignalRServer.dll 6KB
Owin.dll 5KB
Owin.dll 5KB
RefreshCPUUtilization.exe 6KB
RefreshCPUUtilization.exe 6KB
CPUUsage.html 2KB
jquery-1.6.4.js 233KB
jquery-1.6.4.js 233KB
jquery-1.6.4-vsdoc-para.js 211KB
jquery-1.6.4-vsdoc.js 209KB
jquery-1.6.4-vsdoc.js 209KB
jquery.signalR-2.0.3.js 114KB
jquery.signalR-2.0.3.js 114KB
jquery-1.6.4.min.js 90KB
jquery-1.6.4.min.js 90KB
Chart.js 44KB
jquery.signalR-2.0.3.min.js 33KB
jquery.signalR-2.0.3.min.js 33KB
CPUUsage.js 625B
CPUUsage.js.map 813B
Newtonsoft.Json.5.0.1.nupkg 1.45MB
jQuery.1.6.4.nupkg 226KB
Microsoft.AspNet.SignalR.Client.2.0.3.nupkg 181KB
Microsoft.AspNet.SignalR.Core.2.0.3.nupkg 155KB
Microsoft.Owin.Host.SystemWeb.2.0.1.nupkg 128KB
Microsoft.Owin.2.0.1.nupkg 106KB
Microsoft.AspNet.SignalR.JS.2.0.3.nupkg 35KB
Microsoft.Owin.Security.2.0.1.nupkg 31KB
jquery.TypeScript.DefinitelyTyped.0.8.6.nupkg 25KB
Microsoft.AspNet.SignalR.SystemWeb.2.0.3.nupkg 12KB
Owin.1.0.nupkg 4KB
Microsoft.AspNet.SignalR.2.0.3.nupkg 4KB
SignalRServer.pdb 16KB
SignalRServer.pdb 16KB
RefreshCPUUtilization.pdb 12KB
RefreshCPUUtilization.pdb 12KB
1.png 142KB
uninstall.ps1 1KB
install.ps1 914B
SignalRServer.sln 1KB
SignalRServer.v12.suo 45KB
jquery.d.ts 189KB
jquery.d.ts 189KB
signalr.d.ts 3KB
CPUUsage.ts 668B
SignalRServer.csproj.FileListAbsolute.txt 3KB
readme.txt 2KB
共 132 条
- 1
- 2
threenewbee
- 粉丝: 3w+
- 资源: 1754
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页