A week ago, we tried to organize a webcast on ASP.NET SignalR and the network connection was very poor again. So, the participation was low but I managed to record it successfully. The video is now available on NedirTV: SignalR - Gerçek Zamanlı Web Uygulamaları.
Source code is also available under my GitHub account: https://github.com/tugberkugurlu/SignalRWebcast201211
You can also watch it on Vimeo:
A week ago, we tried to organize a webcast on ASP.NET Web API but there were a few problems with the network connection. It didn’t go that smoothly as you can imagine but I have provided the slides and the full source code of the webcast content earlier. During the last weekend, I recorded an offline video for the same topic (In Turkish) and it’s now available on NedirTV: Ileri Düzey ASP.NET Web API
You can also watch it on Vimeo: https://vimeo.com/52841179
Why am I writing this in English if the content of this recording is in Turkish? Well, I don’t have a Turkish blog yet and I really don’t want to mix languages inside the current one I plan on opening up a Turkish blog, too. Not sure when, though. So, stay tuned
The full source code of the Advanced ASP.NET Web API webcast (Turkish) is now available on GitHub: https://github.com/tugberkugurlu/AdvancedWebAPI
The slide of the webcast is also available is also reachable from the following link: https://speakerdeck.com/tourismgeek/ileri-duzey-asp-dot-net-web-api-tr
Couple of hours ago, @DamianEdwards has announced that ASP.NET SignalR Alpha 1.0.0 release is now publicly available.
You can now get the SignalR into your web project through NuGet with the following command:
PM> Install-Package Microsoft.AspNet.SignalR -Pre
Even better! SignalR has just shipped right out of the box with ASP.NET Fall 2012 Update! I tried to have a quick view of what has added and changed. In this post, I will share just a few of them.
When you install the package, you will get the most of the usual stuff.
There is one more thing that I haven’t see before (not sure if this has been there with 0.5.3 release). The project is no more registering itself invisibly and RegisterHubs class accomplishes for us.
The one other thing that I fell in love with is to be able to return a Task or Task<T> from the hub method! This is a killer feature! Again, I am not sure if this was on 0.5.3 release but I am glad this is now there!
And here it is! We have been all waiting for this one We now have an AuthorizeAttribute
This attribute implements IAuthorizeHubConnection and IAuthorizeHubMethodInvocation interfaces to be recognized as an authorization attribute. So, this means that you can provide your own! If you are familiar with ASP.NET MVC or ASP.NET Web API, the concept here is the same. However, the interface methods return bool to signal the caller if the call is authorized or not. I would really love to be able to return Task<bool> here or have a similar filter model as ASP.NET Web API. Keep in mind that these are authorization points and they are not meant to be used to perform authantication. SignalR completely leaves the authantication to the underlying hosting layer.
I’m sure there are other features but it is 03:24 AM here and my eyes are closing So, it is enough for now. Big thanks and kudos to @davidfowl and @DamianEdwards for the Alpha release and for bringing this such a great framework to life.
If I were you, I would go to SignalR Github repository and start exploring the samples. They are awesome and cover the new stuff. Also, @DamianEdwards and @davidfowl has a //Build talk tomorrow which will be streamed live: http://channel9.msdn.com/Events/Build/2012/3-034 Don’t miss that one!