Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Ric Carey 41 posts 82 karma points
    Jan 24, 2012 @ 12:26
    Ric Carey

    Live Update?

    Pretty new to

    Coming from a php background, razor isnt to dissimilar for me.

    Ive got a macro rending out some images. How can i get then to automatically update on the rendered page? Some sort of Ajax?


    So the user updates them and then the website updates as it happens. I also want to control the change with Jquery.


    Is this possible? Any help is apprectiated.



  • Ismail Mayat 4106 posts 8496 karma points MVP admin c-trib
    Jan 24, 2012 @ 12:42
    Ismail Mayat


    By default when new image is added the website will update however it would need a page refresh.  Do you mean page update without refresh? If so then you need to take a look at SignalR see also the page is built using signalR.




  • Ric Carey 41 posts 82 karma points
    Jan 24, 2012 @ 12:47
    Ric Carey

    Ahh Nice One

  • Jonas Eriksson 929 posts 1818 karma points
    Jan 25, 2012 @ 12:16
    Jonas Eriksson

    Hi Ric,

    following up on our short twitter discussion

    so you're doing live image updates on publish with the help of signalR? That is really cool, I would love to read more about how you progress.



    /the link to doc about hooking to publish event

  • Simon Dingley 1263 posts 2868 karma points
    Jan 26, 2012 @ 12:38
    Simon Dingley

    I have simialr requirements for a live updates system to roll out and this looks quite interesting, Ric did you get anywhere with your solution - anything to look out for?

  • Ric Carey 41 posts 82 karma points
    Jan 27, 2012 @ 10:11
    Ric Carey

    I used Jonas' example ( and then edited the MyConnections.cs file to send the broadcast on publish. Its really quite a simple plug-in and play kind of system when youve got an example to play with.

    Ill tweet you an example of it in action when im done Jonas.

Please Sign in or register to post replies

Write your reply to: