Re: Push to web clients

2015-04-07 Thread Tom Rutter
Not sure about the server side 2012 requirements but signalr drops to polling iframes etc if websockets are not available I think. On Wednesday, 8 April 2015, Greg Keogh g...@mira.net wrote: Folks, our ASP.NET app can submit a job to the server for processing which can take up to a minute or

Push to web clients

2015-04-07 Thread Greg Keogh
Folks, our ASP.NET app can submit a job to the server for processing which can take up to a minute or so. We've been looking at ways the client can see progress on the server-side: * AJAX script could poll at intervals by calling a web service method * A kit like SignalR could push notifications

Re: Push to web clients

2015-04-07 Thread Greg Keogh
SignalR will still work without WebSockets, it will fall back to long polling I believe. I created the demo app that broadcasts a fake stock ticker. I ran it locally on my Win7 dev machine, then I deployed it to Azure. Fiddler traffic shows that messages are very similar for each scenario and

Date format ???

2015-04-07 Thread 博士低格雷格
Hi Folks, I’m working on a 3rd party system today that stores date and time values as bigints. I might be having a slow day but I can’t seem to work out how they’ve encoded the values. Anyone seen dates/times that look like this: 1428468779331 1428468778551 Regards, Greg Dr Greg Low

Re: Date format ???

2015-04-07 Thread David Burstin
Does this help? https://social.msdn.microsoft.com/Forums/sqlserver/en-US/5df43cfd-4fe1-443b-b101-0b1defc49ed6/strange-bigint-date They take the date subtract the nulldate 1601-01-01 and convert the result to ticks. Then they add this to bigint min value and store it in the database. On 8 April

Re: Date format ???

2015-04-07 Thread David Connors
Time since UNIX epoch + thousandths of a second precision? 1428468779331 - GMT: Wed, 08 Apr 2015 04:52:59.331 GMT 1428468778551 - GMT: Wed, 08 Apr 2015 04:52:58.551 GMT [?] David Connors da...@connors.com | M +61 417 189 363 Download my v-card: https://www.codify.com/cards/davidconnors Follow me

Re: Push to web clients

2015-04-07 Thread Tom Rutter
Don't even get me started on javascript. I feel just as dirty using javascript as I did with silverlight version 1. God save us On Wednesday, 8 April 2015, Greg Keogh g...@mira.net wrote: SignalR will still work without WebSockets, it will fall back to long polling I believe. I created the

Re: Push to web clients

2015-04-07 Thread Craig van Nieuwkerk
SignalR will still work without WebSockets, it will fall back to long polling I believe. Craig On Wed, Apr 8, 2015 at 10:50 AM, Greg Keogh g...@mira.net wrote: Folks, our ASP.NET app can submit a job to the server for processing which can take up to a minute or so. We've been looking at ways

Re: Push to web clients

2015-04-07 Thread Stephen Price
http://macleodsawyer.com/2015/03/06/nine-truths-computer-programmers-know-that-most-people-dont/ You've pretty much described Fact #1. Everything is hacked together with duct tape and coat hangers. :) That's the beauty of it all. The power of Javascript is that you *can* hack it together. Does