Click here to Skip to main content
16,006,440 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Automating Word application in C# Pin
Chad Smith26-Sep-02 8:01
professionalChad Smith26-Sep-02 8:01 
General.NET method corresponding to WNetAddConnection Pin
EnkelIk24-Sep-02 0:03
EnkelIk24-Sep-02 0:03 
GeneralAppDomains and CodeDOM Pin
mstephens23-Sep-02 12:09
mstephens23-Sep-02 12:09 
General.NET ComboBox Item Tags (SetItemData equivalent) Pin
Gaul23-Sep-02 7:34
Gaul23-Sep-02 7:34 
GeneralRe: .NET ComboBox Item Tags (SetItemData equivalent) Pin
David Stone23-Sep-02 12:51
sitebuilderDavid Stone23-Sep-02 12:51 
GeneralEiffel .NET for Visual Studio .NET Plug-in Pin
Kevin McFarlane20-Sep-02 1:51
Kevin McFarlane20-Sep-02 1:51 
QuestionAuto-updater? Pin
floydboy5817-Sep-02 16:46
floydboy5817-Sep-02 16:46 
AnswerRe: Auto-updater? Pin
Heath Stewart19-Sep-02 11:40
protectorHeath Stewart19-Sep-02 11:40 
.NET has several capabilities that you could possibly try. My companies application is Internet-distributed and actually launched from the web and downloaded automatically into the Temporary Assembly Cache (TAC, kept safe from other applications). Based on the .config file on the server that the application uses, we can easily update a DLL, modify the <runtime> section of the .config file and change the binding to the new version, for which the application will automatically grab the new one and download it, inserting it into the AppDomain.

As far as automatically updating files that are in use, you don't really want to overwrite files. This is not necessary and not recommend in .NET. You could install the assemblies in the GAC, for which each one gets a separate directory (for which you don't see) and you can have several versions of assemblies in there. Then, using the application's configuration file, you can use a <bindingredirect> to tell the application (which is bound to a previous version of an assembly) to now use the new one. See the <bindingredirect> element in the .NET Framework docs for more information.

I hope that gives you some insight for ways to keep your application up-to-date on client machines.

"Well, I wouldn't say I've been missing it, Bob." - Peter Gibbons
AnswerRe: Auto-updater? Pin
SimonS19-Sep-02 11:50
SimonS19-Sep-02 11:50 
AnswerRe: Auto-updater? Pin
Richard Deeming20-Sep-02 7:35
mveRichard Deeming20-Sep-02 7:35 
Questionwho to creat service? Pin
imran_rafique17-Sep-02 15:08
imran_rafique17-Sep-02 15:08 
AnswerRe: who to creat service? Pin
Nish Nishant17-Sep-02 15:39
sitebuilderNish Nishant17-Sep-02 15:39 
GeneralRe: who to creat service? Pin
imran_rafique17-Sep-02 16:04
imran_rafique17-Sep-02 16:04 
GeneralRe: who to creat service? Pin
Nish Nishant17-Sep-02 22:18
sitebuilderNish Nishant17-Sep-02 22:18 
Questionany difference? Pin
imran_rafique17-Sep-02 14:58
imran_rafique17-Sep-02 14:58 
AnswerRe: any difference? Pin
Nish Nishant17-Sep-02 15:40
sitebuilderNish Nishant17-Sep-02 15:40 
GeneralRe: any difference? Pin
imran_rafique17-Sep-02 16:10
imran_rafique17-Sep-02 16:10 
GeneralSession management for .NET Web Services Pin
User 988517-Sep-02 13:50
User 988517-Sep-02 13:50 
GeneralRe: Session management for .NET Web Services Pin
Heath Stewart19-Sep-02 11:41
protectorHeath Stewart19-Sep-02 11:41 
GeneralRe: Session management for .NET Web Services Pin
User 988520-Sep-02 3:06
User 988520-Sep-02 3:06 
GeneralUserControls as Containers Pin
Gary Ranson17-Sep-02 6:02
Gary Ranson17-Sep-02 6:02 
GeneralRe: UserControls as Containers Pin
James T. Johnson17-Sep-02 7:40
James T. Johnson17-Sep-02 7:40 
GeneralPerformance Measurement Pin
tkc16-Sep-02 10:42
tkc16-Sep-02 10:42 
GeneralRe: Performance Measurement Pin
SimonS17-Sep-02 4:04
SimonS17-Sep-02 4:04 
GeneralRe: Performance Measurement Pin
tkc17-Sep-02 4:15
tkc17-Sep-02 4:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.