| Author |
Topic Search Topic Options
|
CountAnton
Newbie
Joined: 18 February 2003
Location: United Kingdom
Status: Offline
Points: 19
|
Post Options
Thanks(0)
Quote Reply
Topic: 1 source of DLLs for Multiple Servers Posted: 04 March 2003 at 4:14am |
|
What I would like to be able to do is keep all the commonly used dlls in a single place that all the web servers can access. Is this easy to accomplish? Anyone know of some links to useful articles on this? I tried a quick search on google but found nothing useful.
|
 |
Bluefrog
Senior Member
Joined: 23 October 2002
Location: Korea, South
Status: Offline
Points: 1701
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 March 2003 at 7:16am |
Not quite sure, but this might point you in the right direction....
As far as I know the answer is no... but, you may be able to work around it by running the application remotely, which may require some hoop jumping. DLLs need to be registered, so unless they are on the server and registered there, you'll have to try some remoting type tricks.
Hope that helps a bit.
|
 |
Bunce
Senior Member
Joined: 10 April 2002
Location: Australia
Status: Offline
Points: 846
|
Post Options
Thanks(0)
Quote Reply
Posted: 10 March 2003 at 3:34pm |
It can be done as in .NET you no longer need to register DLL's.
|
|
There have been many, many posts made throughout the world...
This was one of them.
|
 |
CountAnton
Newbie
Joined: 18 February 2003
Location: United Kingdom
Status: Offline
Points: 19
|
Post Options
Thanks(0)
Quote Reply
Posted: 12 March 2003 at 3:52am |
Okay thanks, I will look into remoting.
Looking around Visual Studio.NET I noticed something about adding 'Web References'. It sounds like it might be a way of putting dll's on a web server so they can be referenced via http. So I will also look into that. Anyone here know anything about it?
|
 |
Bunce
Senior Member
Joined: 10 April 2002
Location: Australia
Status: Offline
Points: 846
|
Post Options
Thanks(0)
Quote Reply
Posted: 12 March 2003 at 3:59am |
That would be a web service. IT basically allows a component to be made available through HTTP and can be called as per normal.
Try and get away from DLL's. They're not needed any more.
Check out: http://www.learnvisualstudio.net Excellent site and you can learn a lot.
Cheers, Andrew
|
|
There have been many, many posts made throughout the world...
This was one of them.
|
 |
CountAnton
Newbie
Joined: 18 February 2003
Location: United Kingdom
Status: Offline
Points: 19
|
Post Options
Thanks(0)
Quote Reply
Posted: 12 March 2003 at 4:44am |
Hmm, the only thing on that site that can be accessed free is a video about threading. And even that had to be signed up for.
As for you getting away from dlls, what is used instead? Are these web services not dlls? It seems to me that it is good practise to keep code in one place rather than have multiple copies of it all over the place, so that all applications can be updated by a single change.
|
 |
Bunce
Senior Member
Joined: 10 April 2002
Location: Australia
Status: Offline
Points: 846
|
Post Options
Thanks(0)
Quote Reply
Posted: 12 March 2003 at 2:10pm |
For free, you get a video each week, plus the daily tip which you can watch on the site. If you like these, and can part with a few bucks then you get ALL the videos he's ever made, which are excellent. The best method I've found to learn about .Net and VS.Net.
Here are some free sites that have heaps of information on how the framework operates: http://www.asp.net http://www.gotdotnet.com http://aspnet.4guysfromrolla.com/ http://www.codeguru.com http://msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?contentid=28000519
You're right that keeping code 'componentised' is a good idea, its just that dll's have sort of been replaced by 'Assemblies' in .NET. No registration required, easily portable, and no versioning issues that we had with dll's (DLL HELL). You can still use/create them as before if need be.
All they have to do is sit in a certain directory (GAC -> Global Assembly Cache) on the server and they are useable!
Hope this helps!
Cheers, Andrew
Edited by Bunce
|
|
There have been many, many posts made throughout the world...
This was one of them.
|
 |
Bunce
Senior Member
Joined: 10 April 2002
Location: Australia
Status: Offline
Points: 846
|
Post Options
Thanks(0)
Quote Reply
Posted: 12 March 2003 at 2:33pm |
Bingo! Here's an article on what I was trying to say: http://www.4guysfromrolla.com/webtech/112101-1.shtml
There's also auto-deployment for stand-alone apps: http://www.4guysfromrolla.com/webtech/121201-1.shtml
(They explain it alot better than me!!)
Edited by Bunce
|
|
There have been many, many posts made throughout the world...
This was one of them.
|
 |