Hi All,
I've recently created a web service, which uses code within a class library
I created.
In my development environment, I have referenced the class library - This
works fine.
Problem is, now I am ready to go live, I dont have access to the file system
of the web server (Just FTP access)
So...how do I deploy to the live server, whilst maintaining the link to my
shared code libraray DLL?
Thanks,
Simon.
PS: Using Visual Studio.Net 2003. 5 1550
copy the dll (and all dll's it references) to the bin folder of the
webservice
"Simon Harris" <to***********@makes-you-fat.com> wrote in message
news:eB****************@TK2MSFTNGP09.phx.gbl...
| Hi All,
|
| I've recently created a web service, which uses code within a class
library
| I created.
|
| In my development environment, I have referenced the class library - This
| works fine.
|
| Problem is, now I am ready to go live, I dont have access to the file
system
| of the web server (Just FTP access)
|
| So...how do I deploy to the live server, whilst maintaining the link to my
| shared code libraray DLL?
|
| Thanks,
| Simon.
|
| PS: Using Visual Studio.Net 2003.
|
|
Thanks Bruce - Do I have to do this for each webservice/project? I was
hoping there would be a way of only storing the DLL once on the server???
"bruce barker" <no***********@safeco.com> wrote in message
news:eg**************@TK2MSFTNGP11.phx.gbl... copy the dll (and all dll's it references) to the bin folder of the webservice
"Simon Harris" <to***********@makes-you-fat.com> wrote in message news:eB****************@TK2MSFTNGP09.phx.gbl... | Hi All, | | I've recently created a web service, which uses code within a class library | I created. | | In my development environment, I have referenced the class library - This | works fine. | | Problem is, now I am ready to go live, I dont have access to the file system | of the web server (Just FTP access) | | So...how do I deploy to the live server, whilst maintaining the link to my | shared code libraray DLL? | | Thanks, | Simon. | | PS: Using Visual Studio.Net 2003. | |
That is the easiest. The other would be to install the assembly in the GAC.
When you reference an assembly in VS.NET, the IDE actually make a copy of
the assembly and places it in the bin folder. If you look at all your
webservice that are local, you should have a copy of your assembly in each.
This is just how things work and may require some configuration management
on your part to ensure that the versions do not get out of synch.
"Simon Harris" <to***********@makes-you-fat.com> wrote in message
news:OY*************@TK2MSFTNGP10.phx.gbl... Thanks Bruce - Do I have to do this for each webservice/project? I was hoping there would be a way of only storing the DLL once on the server???
"bruce barker" <no***********@safeco.com> wrote in message news:eg**************@TK2MSFTNGP11.phx.gbl... copy the dll (and all dll's it references) to the bin folder of the webservice
"Simon Harris" <to***********@makes-you-fat.com> wrote in message news:eB****************@TK2MSFTNGP09.phx.gbl... | Hi All, | | I've recently created a web service, which uses code within a class library | I created. | | In my development environment, I have referenced the class library - This | works fine. | | Problem is, now I am ready to go live, I dont have access to the file system | of the web server (Just FTP access) | | So...how do I deploy to the live server, whilst maintaining the link
to my | shared code libraray DLL? | | Thanks, | Simon. | | PS: Using Visual Studio.Net 2003. | |
Thanks for the replies guys.
I was talking to a friend yesterday who recommened this setup:
/root/bin <-- Store all 'common' libraries here
/root/appname/bin <-- Store app specific libraries here
I'm yet to try this, if it does work, then great! Only 1 copy of the common
code library to manage! Other wise, I'll look into using the GAC.
Best Regards,
Simon.
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:uF**************@TK2MSFTNGP09.phx.gbl... That is the easiest. The other would be to install the assembly in the GAC.
When you reference an assembly in VS.NET, the IDE actually make a copy of the assembly and places it in the bin folder. If you look at all your webservice that are local, you should have a copy of your assembly in each. This is just how things work and may require some configuration management on your part to ensure that the versions do not get out of synch.
"Simon Harris" <to***********@makes-you-fat.com> wrote in message news:OY*************@TK2MSFTNGP10.phx.gbl... Thanks Bruce - Do I have to do this for each webservice/project? I was hoping there would be a way of only storing the DLL once on the server???
"bruce barker" <no***********@safeco.com> wrote in message news:eg**************@TK2MSFTNGP11.phx.gbl... > copy the dll (and all dll's it references) to the bin folder of the > webservice > > > "Simon Harris" <to***********@makes-you-fat.com> wrote in message > news:eB****************@TK2MSFTNGP09.phx.gbl... > | Hi All, > | > | I've recently created a web service, which uses code within a class > library > | I created. > | > | In my development environment, I have referenced the class library - > This > | works fine. > | > | Problem is, now I am ready to go live, I dont have access to the file > system > | of the web server (Just FTP access) > | > | So...how do I deploy to the live server, whilst maintaining the link to > my > | shared code libraray DLL? > | > | Thanks, > | Simon. > | > | PS: Using Visual Studio.Net 2003. > | > | > >
I tried as mentioned in my previous post, and it works a treat.
Heres how I've set my site up:
/aspnetapplications/ <- Setup as an application in IIS
/aspnetapplications/bin <- Contains all DLLs for all apps, plus any shared
stuff
/netapplications/app1
/netapplications/app2
/netapplications/app3....and so on
Only one place to update the code - Seems to work well! :) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Hugh McLaughlin |
last post by:
Hello Everyone and thanks for your help in advance. I am
working on an application that uses as helper class to
determine if an image file exists. If the file exists,
the path to the image is...
|
by: Michael Hoffman |
last post by:
Many of you are familiar with Jason Orendorff's path module
<http://www.jorendorff.com/articles/python/path/>, which is frequently
recommended here on c.l.p. I submitted an RFE to add it to the...
|
by: Teis Draiby |
last post by:
(Using C#)
Question 1:
Is there an easy build-in support for determining wether a given file path
is
1) A valid file path (Only legal characters)
2) The file exists
3) The path exists
|
by: Michele Petrazzo |
last post by:
I want to redistribute the library that I create.
I create a project, its setup.py that when launched copy all files into
the "site-packages/library" directory. And here it's all ok.
When I call...
|
by: handlim |
last post by:
I am trying to make some program with XML in class library by C#.
I read XML file in my program by using oXmlDoc.Load(xmlfilename);
But, It occured error... It read from C:\windows\system32,,, But...
|
by: Tom Wells |
last post by:
I have a little file upload page that I have been able to use to successfully upload files to the C: drive of LocalHost (my machine). I need to be able to upload to a network drive from the intranet...
|
by: tony |
last post by:
Hello!
I have one solution file that consist of three project.
One project that build the exe file called A
One project that build a user control dll. In this user control we have a
class...
|
by: Dots |
last post by:
I have a class library with a method called getpath(). I want to be able to get
the full path of a folder and write some files to the (my_files_dir)
folder. A console application
will use this...
|
by: news.microsoft.com |
last post by:
Hi,
I have an ASP.NET web site and another project (a class library) which is
referenced in the web site.
I want to send the relative path from the web site to the dll (the class
library),...
|
by: sneha0608 |
last post by:
I think this is really a trivial question to ask,but still i cant figure out d way to do it
I have a class library which refers to certain text files when running .this class library i have referred...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
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,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |