473,398 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

updating an application

Hi!

I have developed an application which I'm about to distribute to my clients.
It's a pretty big project so bugs are sure to be found somewhere along the
line or updates will be needed.
What I would like to know is how are patches for applications are made.
I wouldn't like to send .dll files to clients and ask them to copy the files
in their install dir.
I've heard about versioning for assemblies, where you just send a new
assembly, which
has a higher version number? How can you then specify which assembly should
be used?

Thanks,
saso

Nov 15 '05 #1
3 1283
That means that instead of referencing the assemblies in VS.net I would
have to manually load them at runtime?
How can I then access then access the classes from that assembly...
assembly.class?
So "using" can't be used anymore? I would have to change quite a lot of
code...

Perhaps I'll just create a project, which copies the new files over the old
ones :)
This should work as well, shouldn't it?

"Mr.Tickle" <Mr******@mrmen.com> wrote in message
news:eP**************@TK2MSFTNGP10.phx.gbl...
http://msdn.microsoft.com/library/de...us/cpref/html/ frlrfSystemReflectionAssemblyClassLoadTopic.asp

Use reflection.
[C#]
using System;
using System.Reflection;

class Class1
{
public static void Main()
{
Assembly SampleAssembly;
// You must supply a valid fully qualified assembly name here.
SampleAssembly = Assembly.Load("Assembly text name, Version,
Culture, PublicKeyToken");
Type[] Types = SampleAssembly.GetTypes();
// Display all the types contained in the specified assembly.
foreach (Type oType in Types)
{
Console.WriteLine(oType.Name.ToString());
}
}
}

"Saso Zagoranski" <sa*************@guest.arnes.si> wrote in message
news:bi**********@planja.arnes.si...
Hi!

I have developed an application which I'm about to distribute to my

clients.
It's a pretty big project so bugs are sure to be found somewhere along the line or updates will be needed.
What I would like to know is how are patches for applications are made.
I wouldn't like to send .dll files to clients and ask them to copy the

files
in their install dir.
I've heard about versioning for assemblies, where you just send a new
assembly, which
has a higher version number? How can you then specify which assembly

should
be used?

Thanks,
saso


Nov 15 '05 #2
Check out the updater application block at MSDN:
http://msdn.microsoft.com/library/de...ml/updater.asp

This may address your needs.

Greetz,
-- Rob.

Saso Zagoranski wrote:
That means that instead of referencing the assemblies in VS.net I
would have to manually load them at runtime?
How can I then access then access the classes from that assembly...
assembly.class?
So "using" can't be used anymore? I would have to change quite a lot
of code...

Perhaps I'll just create a project, which copies the new files over
the old ones :)
This should work as well, shouldn't it?

"Mr.Tickle" <Mr******@mrmen.com> wrote in message
news:eP**************@TK2MSFTNGP10.phx.gbl...

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfSystemReflectionAssemblyClassLoadTopic.asp

Use reflection.
[C#]
using System;
using System.Reflection;

class Class1
{
public static void Main()
{
Assembly SampleAssembly;
// You must supply a valid fully qualified assembly name
here. SampleAssembly = Assembly.Load("Assembly text name,
Version,
Culture, PublicKeyToken");
Type[] Types = SampleAssembly.GetTypes();
// Display all the types contained in the specified assembly.
foreach (Type oType in Types)
{
Console.WriteLine(oType.Name.ToString());
}
}
}

"Saso Zagoranski" <sa*************@guest.arnes.si> wrote in message
news:bi**********@planja.arnes.si...
Hi!

I have developed an application which I'm about to distribute to my
clients. It's a pretty big project so bugs are sure to be found
somewhere along the line or updates will be needed.
What I would like to know is how are patches for applications are
made. I wouldn't like to send .dll files to clients and ask them to
copy the files in their install dir.
I've heard about versioning for assemblies, where you just send a
new assembly, which
has a higher version number? How can you then specify which
assembly should be used?

Thanks,
saso

Nov 15 '05 #3
Whoa! that was a great article!!

"Rob Tillie" <Ro********@student.tul.edu> wrote in message
news:OA**************@TK2MSFTNGP09.phx.gbl...
Check out the updater application block at MSDN:
http://msdn.microsoft.com/library/de...ml/updater.asp
This may address your needs.

Greetz,
-- Rob.

Saso Zagoranski wrote:
That means that instead of referencing the assemblies in VS.net I
would have to manually load them at runtime?
How can I then access then access the classes from that assembly...
assembly.class?
So "using" can't be used anymore? I would have to change quite a lot
of code...

Perhaps I'll just create a project, which copies the new files over
the old ones :)
This should work as well, shouldn't it?

"Mr.Tickle" <Mr******@mrmen.com> wrote in message
news:eP**************@TK2MSFTNGP10.phx.gbl...

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfSystemReflectionAssemblyClassLoadTopic.asp

Use reflection.
[C#]
using System;
using System.Reflection;

class Class1
{
public static void Main()
{
Assembly SampleAssembly;
// You must supply a valid fully qualified assembly name
here. SampleAssembly = Assembly.Load("Assembly text name,
Version,
Culture, PublicKeyToken");
Type[] Types = SampleAssembly.GetTypes();
// Display all the types contained in the specified assembly.
foreach (Type oType in Types)
{
Console.WriteLine(oType.Name.ToString());
}
}
}

"Saso Zagoranski" <sa*************@guest.arnes.si> wrote in message
news:bi**********@planja.arnes.si...
Hi!

I have developed an application which I'm about to distribute to my
clients. It's a pretty big project so bugs are sure to be found
somewhere along the line or updates will be needed.
What I would like to know is how are patches for applications are
made. I wouldn't like to send .dll files to clients and ask them to
copy the files in their install dir.
I've heard about versioning for assemblies, where you just send a
new assembly, which
has a higher version number? How can you then specify which
assembly should be used?

Thanks,
saso


Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Jason | last post by:
Let's say I have an html form with 20 or 30 fields in it. The form submits the fields via POST to a php page which updates a table in a database with the $_POST vars. Which makes more sense? ...
1
by: Prem | last post by:
Hi All I have a portal application that we have built that contains links to different modules. There is no static binding to these dlls from the application so that we can deploy some modules...
2
by: Goncalo | last post by:
Hi On the bin directory of a web application builded using asp.net can I update only one dll without updating the others Will be any version problems? Or Other kind of problems beetween dll's ...
22
by: Tim | last post by:
Hi A while ago I got some help in writing a mock console. The idea was to write a VB app that contained a textbox, then run a process from within the app and redirect the stdout to the textbox. ...
14
by: el_sid | last post by:
Our developers have experienced a problem with updating Web References in Visual Studio.NET 2003. Normally, when a web service class (.asmx) is created, updating the Web Reference will...
4
by: rdemyan via AccessMonster.com | last post by:
My application is calculation intensive and the servers are agonizingly slow. Administrators of my application only update the backends once a month (twice a month max). So, my launching program...
11
by: bbasberg | last post by:
Hello, I have been struggling with this problem for DAYS and have googled my heart out as well as reading any books I could get my hands on but I cannot find any specific references to my problem....
1
by: Manikandan | last post by:
Hi, I have a form with progress bar. I'm querying sql server with large number of records(around 1 lakh) for export The records are written to a text file I'm showing the process running by...
4
by: directory | last post by:
hey guys, I've got a weird one for ya....i have a form which takes user input in the form of textbox's etc. It then grabs some details from a file and updates some of the labels with some info...
1
by: jonbartlam | last post by:
Hi There I'm not sure what exactly is going wrong here. I'm writing an application that retreives a table from a database (tbl_internalfaults) and updates it. (Actually, just the status column will...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.