SignalR v2.2.0 發布,一個ASP.NET實時 Web庫
ASP.NET SignalR 是為 ASP.NET 開發人員提供的一個庫,可以簡化開發人員將實時 Web 功能添加到應用程序的過程。實時 Web 功能是指這樣一種功能:當所連接的客戶端變得可用時服務器代碼可以立即向其推送內容,而不是讓服務器等待客戶端請求新的數據。SignalR 可以用于將任何種類的“實時”Web 功能添加到您的 ASP.NET 應用程序。雖然我們經常把聊天應用作為最常用的一個例子,但實際上你可以利用它做很多事情。如果用戶是通過刷新 web 頁面,來查看新的數據,或者是通過頁面實現長輪詢來檢索新的數據,那么就該考慮使用 SignalR 了。
更新日志
Bugs修復
- An unhandled exception in ProcessWebSocketRequestAsync method for request (#3342)
- Canceled Tasks returned from Groups.Add and Groups.Remove (#3337)
- TypeLoadException when use strongly typed Hub with an inherited interface (#3311)
- With Redis scale-out, calling the method Groups.Add(connectionId, groupName).Wait() never completes (#3240)
- Stack Overflow Exception version 2.1.1 (#3228)
- In .Net client race condition when connection stopped and heartbeat running (#3212)
- In .Net client race condition causes ArgumentNullException (#3211)
- Remove async/await from code that can run with the sync context (#3176)
- Detect blocks/deadlocks in .NET client receive queue and log an error when it occurs (#3167)
- Small trace issue in SqlReceiver (#3147)
- Nightly Microsoft.AspNet.SignalR.Redis package from dev branch still has old dependency BookSleeve (#3137)
- Add a workaround to make sure Redis connection is reconnected in ConnectionRestored event after Redis restart (#3095)
- With Redis scale-out, SignalR existing connections will miss some messages after Redis restart (#3091)
- Issues with large message sizes again (#163) (#3040)
- Task for Groups.Add never completes (#3037)
- In perfmon instances of SignalR perf counters for full IIS only show like default web site, doesn't show web application instances (#3002)
- Memory leaks in IE/Chrome when use SignalR longPolling (#2953)
- .Net client webSockets fallback wait transportConnectTimeout then start next transport (#2903)
- JS client fallback wait transportConnectTimeout then start next transport (#2902)
- Fix references in portable library for Xamarin projects (#2833)
- Object Expected Error Line : 1285 onInitialized(); When trying to use signalr(forevrframe) with jQuery UI Dialog (#2795)
- signalr.exe ghp doesn't dispay error message about generating hubproxy javascript for server Hub classes (#2769)
- MessageBus.Dispose spins on Interlocked.Exchange(ref _gcRunning, 1) == 1 (#1088)
- consider updating the log info "....a connection lost timeout of " for keepAliveData.timeout (#1084)
- update log message for foreverFrame when it is not supported (#1057)
新特性
- Change .Catch() to trace to passed in TraceSource (#3107)
- Support WebSockets on Windows Phone 8.1/Windows Store 8.1 (#3027)
- Update Redis extension to StackExchange.Redis (#2961)
下載
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!