Building Real-time Web Apps with ASP.NET SignalR

Download this episode

Download Video

Description

Websockets is introducing web developers to a whole new world of real-time programming but that isn’t the end of the story. SignalR gives ASP.NET developers the ability to build real-time web apps that work both with and without websockets and with an API so easy to use it almost seems like magic (really). You want scale too? No problem; SignalR scales out with your application. Come and see why web programing will never be the same again.
For more information, check out these courses on Microsoft Virtual Academy:

Day:

3

Code:

3-034

Room:

B33 McKinley

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      jthakeus

      Great session guys, answered every question I had about signalr...mind readers! Glad I could make it over from nyc to see it!

      @jthake

    • User profile image
      tonipohl

      very cool session!
      Seems that SignalR was one of the big shooting stars of Build 2012. Wink

    • User profile image
      Patrice

      the package microsoft.aspnet.signalr.sample seems to be no more available on nuget. Any ideas about where to find it ?

    • User profile image
      websom

      @Patrice

      I think you need to make sure you have "Include Prerelease" selected in the dropdown and NOT "Stable Only".

    • User profile image
      kuehnd96

      Great content, presentation, and speaker.

    • User profile image
      salem

      Great session

    • User profile image
      Hiren

      Very Cool..

    • User profile image
      Bob

      Hi I'm new to signalr. Though I update the project for the sample, when I run and press the OPEN MARKET button, it's not working. Can you please let me know are there any machine configurations to be done for the Signalr?

      Thank you.

    • User profile image
      Ali Zaidi

      you guys missed the demo of Redis and service bus. how can we use them?

    • User profile image
      huseyin

      nuget is fail
      this is true
      http://yazilimsozluk.com/Konular-2827-SignalR_ile_stok_i%C5%9Flemleri.aspx

      http://yazilimsozluk.com/Konular-594-NuGet.aspx

    • User profile image
      Tugberk

      @huseyin

      Let me be clear: Nuget is certainly not a fail; you have a misunderstanding about it. The package that you are searching is https://nuget.org/packages/SignalR.Sample and this is the old SignalR package. So, it's unlisted now so that it won't appear in searches. 

      What you need to install is the Microsoft.AspNet.SignalR.Sample package which also won't appear in searches because it's a pre-release package: https://nuget.org/packages/Microsoft.AspNet.SignalR.Sample

      In order to install this package through PMC, you need to type the following command:

      Install-Package Microsoft.AspNet.SignalR.Sample -pre

    • User profile image
      Tugberk
    • User profile image
      huseyin

      i want to using real time data for my web site.So i want to use SignalR for data list i am using repeater as below

      <asp:Repeater ID="RpSiparisUrunler" runat="server" OnItemDataBound="altrepeat">
      <ItemTemplate>
      <%#Eval("LocationName")%>
      <%#Eval("TypeName")%>
      <%#Eval("UrunId")%>
      <%#Eval("TypeName")%>
      but How can i connect hub and get data inside from repeater?How can i bind repeater with data from hub?

    • User profile image
      miksh7

      Nice stuff, great job guys!

      Is there the PowerPoint presentation available?

    • User profile image
      salemsalah

      great job

    • User profile image
      Madhu

      Hey, this is really awesome..And am really looking forward to develop my first app using SignalR.

      I tried the same MoveShape app which Mr.Edwards has demoed. But no luck, getting some issue like
      "SCRIPT5007: Unable to get value of the property 'client': object is null or undefined".
      Can some one please help me with this.

    • User profile image
      t53na

      @Madhu:You need to write MoveShape with uppercase M Wink

    • User profile image
      mtranchi

      @Madhu:
      Was having the same problem: "SCRIPT5007: Unable to get the value of the property 'client': object is null or undefined"

      The solution is to write "moveShape" in the Hubname attribute on the controller

    • User profile image
      piyush

      its simply awesome session...!!!

    • User profile image
      L16N

      I did the exact same thing that Damien Edwards demoed for moveshape. But my box does not get dragged. Also, the /signalr/hubs does not work for me. I get a blue squiggly line saying it is not found.

    • User profile image
      funky

      Very interesting! Move shape worked perfectly and I was able to add more stuff. But there was no luck for persistent connection. I was able to track the error from the browser
      http://localhost:7696/chat/negotiate?_=1365870613397 was not found 404

    • User profile image
      Kulbhushan18

      great stuff, works like charm.

    • User profile image
      Pratik

      Awesome stuff, however it does not have something I want.
      What I want is have two webforms. (1) WebForm1 allows to do dataentry (Name, Address). which does CRUD task which should update straight on WebForm2 which shows on Gridview/Table.
      I want to do above how can I achieve using SignalR any example. This is just a small example, If I can achieve this then I can implement on bigger project.

    • User profile image
      Ameet

      Awesome!!! Real time application, a lot of potential and ideas.

    • User profile image
      walid

      can us to know the solution too mathematica of language programs (algorithmic and arithmétique)?..
      is'it mathematica the solution of informaticiens?

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.