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.
没有合适的资源?快使用搜索试试~ 我知道了~
WebGIS从基础到开发实践附源码
共1242个文件
png:344个
png_170x128:147个
png_320x320:147个
1星 需积分: 9 15 下载量 57 浏览量
2017-12-14
15:22:37
上传
评论
收藏 25.1MB RAR 举报
温馨提示
基于arcgis for JavaScript开发丛书,附带原书配套示例源码。
资源推荐
资源详情
资源评论
收起资源包目录
WebGIS从基础到开发实践附源码 (1242个子文件)
proxy.ashx 6KB
proxy.ashx 6KB
proxy.ashx 1KB
blank.bmp 486B
close.bmp 450B
expand.bmp 450B
Sample11-2.csprojResolveAssemblyReference.cache 43KB
DesignTimeResolveAssemblyReferencesInput.cache 12KB
DesignTimeResolveAssemblyReferencesInput.cache 10KB
DesignTimeResolveAssemblyReferencesInput.cache 8KB
Sample1-1.csprojResolveAssemblyReference.cache 4KB
Web.Release.config 1KB
Web.Release.config 1KB
Web.Release.config 1KB
Web.Debug.config 1KB
Web.Debug.config 1KB
Web.Debug.config 1KB
proxy.config 1KB
proxy.config 1KB
Web.config 953B
Web.config 943B
packages.config 879B
Web.config 463B
Web.config 384B
Web.config 147B
repositories.config 118B
RealTimePoints.cs 4KB
RESTService.svc.cs 2KB
IRESTService.cs 1KB
AssemblyInfo.cs 1KB
AssemblyInfo.cs 1KB
AssemblyInfo.cs 1KB
Startup.cs 263B
TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs 0B
TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs 0B
TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs 0B
TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs 0B
TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs 0B
TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs 0B
TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs 0B
TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs 0B
TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs 0B
Sample11-2.csproj 6KB
Sample7-4.csproj 6KB
Sample1-1.csproj 5KB
bootstrap.css 130KB
bootstrap.css 130KB
Main.css 25KB
Main.css 21KB
darkangel.css 7KB
darkangel.css 7KB
darkangel.css 7KB
darkangel.css 7KB
darkangel.css 7KB
gdp.css 2KB
gdp.css 2KB
override.css 2KB
override.css 2KB
override.css 2KB
override.css 2KB
override.css 2KB
Main.css 2KB
Main.css 2KB
sample.css 2KB
Main.css 1KB
Main.css 1KB
Main.css 1KB
Main.css 1KB
Main.css 1KB
Main.css 1KB
Main.css 1KB
Main.css 866B
Main.css 854B
Main.css 834B
Layout.css 790B
Layout.css 790B
Main.css 733B
Main.css 575B
ChartInfoWindow.css 443B
Main.css 358B
Main.css 354B
Main.css 256B
Thumbs.db 28KB
Thumbs.db 28KB
Thumbs.db 28KB
Thumbs.db 28KB
Thumbs.db 28KB
Thumbs.db 26KB
Thumbs.db 24KB
Thumbs.db 24KB
Thumbs.db 24KB
Thumbs.db 13KB
Thumbs.db 11KB
Thumbs.db 11KB
Thumbs.db 11KB
Thumbs.db 11KB
Thumbs.db 7KB
Thumbs.db 7KB
Thumbs.db 7KB
Thumbs.db 7KB
共 1242 条
- 1
- 2
- 3
- 4
- 5
- 6
- 13
资源评论
- github_372712292019-11-15书籍没有完整版,居然还想加qq收费是不是想多了
lz311
- 粉丝: 38
- 资源: 35
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功