Browse by Tags
All Tags »
DEV (
RSS)
Today I gave my session about signalR at Sela Developer Practice . It went great and I wish to thank all attendees. Furthermore,I wish to thank everyone who helped me through the day with my ill baby who I had to bring to the conference. Here are the demos, including some additional demos we didn’t go through. Here, you can see the slides from today’s presentation
Yesterday, I had a great time speaking about signalR in front of WDCIL audience. We had some problems at the beginning when we couldn’t duplicate my screen display. Fortunately Yaniv Rodensky came to the rescue with his own laptop,and surprisingly all demos worked well. I want to thank all attendees who came to hear me speak. Below, you can see the slides from my presentation, and download demos Here . Realtime web experience with signalR from ranwahle
Logging with SignalR Debugging your signalR application on both client and server can consume time. To save time we might go to Fiddler , or use the Network tab on our browser’s developer tools. signalR offers simple logging mechanism for javascript clients. in this post I’ll briefly show how to enable this log, what it writes when enable, and how to add some custom log records. Enable logging To enable logging you simply need to add the following $.connection.hub.logging = true ; After...
First signalR eBook was published yesterday. The book was authored by Jose M. Aguilar, Microsoft ASP.NET MVP. The book is free of charge along with code samples. Click here to download.
SignalR Protocol After showing how to get started with SignalR , how to use it with .Net client and how to self host it, I wish to show what SignalR does on the network level. In this post I will review the protocol SignalR implements and see what data is sent at the various stages. Negotiation phase: One of SignalR best qualities is its ability to support various communication techniques without its API user have to change his/her code. Therefore both client and server needs to “negotiate...
About embedded & external resource files Recently I was asked by a colleague of mine to help him with a problem. He had tried numerous times to work with resource files on a web project and got many errors until he had moved the files build action from content to embedded resource. What’s the difference? Embedded resources are files that are put inside the compiled assembly when compiling it. However, when a resource file build action is content , only the .designer.cs file that comes...
Self Hosting SignalR SignalR , as shown in the earlier posts, can be hosted within a regular ASP.NET application (in other words, on IIS), but can also be self-hosted. You may want to do so if you don’t want the SignalR hosting machine to have IIS installed. In this post I’ll show a simple way of doing so with a console application. It won’t be much different with windows service and I’ll explain how to do it there as well. Step 1: Install Nuget packages There are two nuget packages...
Sela SDP conference, the biggest one yet, will be held May 5-9, 2013. This conference includes 5 conference days, 3 days of full tutorial workshops, and 2 days of breakout sessions. In this conference you’ll also have the chance to meet with some international experts You can check out our list of sessions and speakers . I will speak there about SignalR , new and exciting ASP.NET project I’ve recently posted about. Our last conference had a record in terms of attendance...
Using SignalR with .Net client In my previous post I demonstrated how to use SignalR with javascript client. After this post, I got an email from my extremely talented colleague Bnaya Eshet asking if there’s a way to to SignalR with .Net client. I said “yes” of course so now I want to demonstrate how to do it. The server side code is the same as in my previous post , this is just another client example. Step 1: Create .Net client project: Add some .Net project, any project type...
Recently I’ve begun testing ASP.NET.SignalR, an open source project that supports real-time web functionality in our application.SignalR logo
SignalR can be added to an existing ASP.NET application and help as easily gain real-time functionality
in no-time. It can run with browsers that supports HTML5 WebSocket or long polling (IE 8).
SignalR has both server and client code, its client code is based on jQuery
In this post I’ll demonstrate how to work with SignalR along with a few basic terms related to it....
Recently I was asked by one of my colleagues to explain to a customer of his about signing assemblies, putting them into GAC etc. So I’ve decided to put some terms in order, for you to understand what it’s all about.
I’ll try to make it as short as possible saving you allot of technical details and stating all problems you may have ran into....
Today I’ve encountered something that made a programmer happy but made me sad.
He had to pull data out of Data Warehouse and use it for his system.
Later, he was informed that DWH personnel made his life easy: They’ve decided to write the data into his own database so he wouldn’t have to work so hard.
Unfortunately this news made him happy, and therefore he went on with it, which made me even sadder.
...
KnockoutJS–Dependencies One of the things we’ll probably need is to be able to have dependency tracking in our bounded data. For example – if we have a customer’s list, we’d like to see the customer’s orders whenever we click on a customer. In this post I’ll demonstrate how to do it using the dependentObservable function of KnockoutJS Let’s look at the following JavaScript code: var viewModel = { customers: ko.observableArray([]), selectedCustomer: ko.observable(), orders: ko.observableArray([])...
After binding the data into our page, we wish to be able to create an interactive page. This means that we want to be able to add some behavior to our view-model, triggered by an event on the page. (A button being clicked for example)....
After being introduced to KnockoutJS concept and go to know the
basics of data-binding with Observable and
observableArray, let’s move on to how to work with templates and our collection to them.
In this post I’ll explain how to bind a collection with template.
...
More Posts
Next page »