.NET remoting general

Hi,
I am new to .NET remoting. I need to have a feature where everytime there's an update, the server will push the update to the clients (win form application).
Can I do this with .NET remoting
Any helpful links or tutorial will be appreciated.

Devi


Answer this question

.NET remoting general

  • gudel

  • MrBogomips

    Devi,

    This can be achieved by the concept called App Updater application block. You don't need web service or remoting for this.

    The App Updater application block has the in-built framework for such kind of scenario's. I've done similar kind of functionality for a windows app for one of my clients. The concept is that whenever the windows application is launched it has to check for the updates from the server(IIS) and start updating components. The update could be an updation of assembly/resouces/ any other file types.

    You need IIS to enable this mechanism smoothly. Install the entire windows application (with full-fledged structure) under the virtual directory of IIS. When the wind app is launched from the client's machine, make the application to talk to the server and find out whether there any updates.

    How to find out any updates

    You should basically define the version of the application at both the client-side and the server-side. The version would be put in the config files. Whenever the Win app is launched, the app updater would compare the version of application between server and client.

    If a newer version is available at the server, it will start getting the updates (only the updated components like dll's , not the entire application components)

    Hope this suffices you needs.

    Pls let me know if you need more information

    Thanks & Regards,

    Sundar Narasimman



  • itsRashmi

    Hi Sundar,

    Thank you for the reply. If I am not wrong, I think the App Updater Block is very similar to ClickOnce feature that is available with Visual Studio 2005. Your solution might not work for my requirements. If there is an update we want all the clients to get the update right away, we need them to run the same software, same resources all the time. We are not sure if the app will be re-launch everyday, the user might keep the computer on for a while.

    Devi


  • .NET remoting general