Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating a .NET App
Message
De
11/10/2013 07:48:58
 
 
À
11/10/2013 05:13:37
Information générale
Forum:
ASP.NET
Catégorie:
Déploiements
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01585223
Message ID:
01585253
Vues:
47
>>A couple of years ago I developed a small "handy-dandy" C# Winform .NET/SQL Server pilot application for a client that we really thought would be used for a while and discarded. It runs on a laptop that travels all day in a truck and returns back to the office at night, where the data collected is sent back to the server via XML over a LAN connection.
>>I realize that there are more elegant ways to synch the data, but that's not an issue here.
>>As the business has evolved the application has become more popular and now there are a bunch of laptops in use with more soon to come.
>>In addition, the client sees more opportunities with the application, so enhancements are becoming more frequent.
>>In the original design I included a standalone update application that looks on the server for data structure or program changes, brings them over as needed and updates the data structures and the business application.
>>Someone has to be told to run the update application and run it.
>>That same update application sets up the business application on the laptop when it's first put into service.
>>That's too cumbersome and it's not going to work anymore.
>>
>>We need to see that changes are required from the laptop business application itself (no problem there), terminate the business application without losing the fact that an update is needed (how?), run the update (how?), and restart the business application using the new .exe's (how?).
>>
>>I have some ideas and I've seen some things on the web, but nothing is lighting my fire.
>>What's the best way to do all that smoothly with .NET? (VS 2010 SQL Server 2008 R2)
>
>Look at 'ClickOnce' deployment : http://msdn.microsoft.com/en-us/library/t71a733d.aspx
>I've used it a couple of times and it works well.
>
>"ClickOnce applications can be self-updating; they can check for newer versions as they become available and automatically replace any updated files. The developer can specify the update behavior; a network administrator can also control update strategies, for example, marking an update as mandatory. Updates can also be rolled back to an earlier version by the end user or by an administrator. "
>
>You can run it from a web site, a shared network drive or CD/DVD disc. Your app can automatically check for updates on startup and download any updated assemblies in the background so that they are available on the next startup. If any bugs are inadvertently present in the update then the rollback option is a godsend ! :-}

Thanks, Viv.
I'll look at it.
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform