Errata

SignalR Programming in Microsoft ASP.NET

Errata for SignalR Programming in Microsoft ASP.NET

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
PDF Page 41
Figure under ?Support for older browsers?

The figure under ?Support for older browsers? is identical to the one appearing at the top of page 40 and does not correspond to the text the figure is supposed to support:

?A problem that might arise when we open the connection using the start() method is that the user?s browser might be too old and not have the JSON parser built in?for example, as it happens with Internet Explorer 7. In this case, execution will stop, indicating the problem and even its solution:?

Anonymous  Mar 04, 2014 
Other Digital Version 1244
Startup.cs

Using a Kindle app so the page number may not apply. At the end of Chapter 4 in the source for tracking.js is the following line

var connection = $.connection("/tracker");

This will work in IIS Express but not in the full IIS 8.5 on Server 2012 R2. Remove the leading "/" i.e. $.connection("tracker"); and it will work on both.

The same for the Drawing Board sample at the end of Chapter 5, Hubs Figure 5-18 drawingboard.html

Remove the leading "/" from <script src="/signalr/js"></script>

i.e. <script src="signalr/js"></script>

to run in both IIS Express and full IIS

Peter  Mar 11, 2014