Wednesday, January 16, 2013

SignalR Whiteboard Redux




My previous post noted that in certain networks, SignalR failed to receive messages unless I used SSL. I had assumed that all that was necessary was an open port 80, but after chasing down David Fowler in jabbr, I learned this is not the case. Some network proxies and appliances can indeed break the techniques SignalR uses, and SSL is indeed one of the ways around this.

So, for DrawThing, this means I added a [RequireHttps] attribute to my MVC actions so that requests get redirected to SSL. Since Azure websites handles SSL for none-custom domain names, this 'just works' for now.
Since the last post, I've added a few features: color, size, downloads, and improved path smoothing. It's still a rough little experiment, but has been a fun project.

3 comments:

Robin khurana said...
This comment has been removed by the author.
Robin khurana said...
This comment has been removed by the author.
Robin khurana said...

can you please provide the code of view.cstml so that its easy to understand the logic. i also have viewed your blog but it have no explanation regaring how you implement the canvas with different colored pencil.

Actually i have built the code that is not running on touch display.