This would be best posted as a separate question on
microsoft.public.dotnet.framework.webservices
--------------------
| Content-Class: urn:content-classes:message
| From: "Norm Dotti" <
[email protected]>
| Sender: "Norm Dotti" <
[email protected]>
| References: <
[email protected]>
<
[email protected]>
| Subject: RE: GetAssemblies() & WebService...
| Date: Fri, 11 Jul 2003 09:11:51 -0700
| Lines: 79
| Message-ID: <
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcNHxyNZ7Z8xIARSTMuYhPKRAgTUmQ==
| Newsgroups: microsoft.public.dotnet.general
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:100897
| NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| Using AppDomain.CurrentDomain.GetAssemblies() on the
| client side does not return the Web Service assembly name
| nor assemblies referenced by the webservice. Temporarily,
| I've written a webmethod that returns assembly names and
| versions in a dataset. I'd like to acheive this without
| hitting the webservice. What is the best way to get web
| reference assemblies and its referenced assemblies on the
| client?
|
| TIA
|
| >-----Original Message-----
| >This would be because WebServices use XML Serialization,
| which works by
| >generating and loading a dynamically generated assembly.
| This provides
| >significant performance benefits to this type of
| serialization.
| >
| >You should not really need to worry about this. If it is
| creating a leakage
| >situation for you, you can work around this by running
| the WebServices
| >calls in a different App-Domain which can then be
| unloaded.
| >--------------------
| >> Content-Class: urn:content-classes:message
| >> From: "Norm Dotti" <
[email protected]>
| >> Sender: "Norm Dotti" <
[email protected]>
| >> Subject: GetAssemblies() & WebService...
| >> Date: Thu, 10 Jul 2003 14:09:46 -0700
| >> Lines: 13
| >> Message-ID: <
[email protected]>
| >> MIME-Version: 1.0
| >> Content-Type: text/plain;
| >> charset="iso-8859-1"
| >> Content-Transfer-Encoding: 7bit
| >> X-Newsreader: Microsoft CDO for Windows 2000
| >> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| >> Thread-Index: AcNHJ5cyNXjwvYz3Rjehtzt4CyGVyA==
| >> Newsgroups: microsoft.public.dotnet.general
| >> Path: cpmsftngxa06.phx.gbl
| >> Xref: cpmsftngxa06.phx.gbl
| microsoft.public.dotnet.general:100811
| >> NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
| >> X-Tomcat-NG: microsoft.public.dotnet.general
| >>
| >> I'm using the AppDomain.CurrentDomain.GetAssemblies()
| >> method to obtain a list of currently loaded assemblies.
| >> This returns the expected assembly name and version
| >> values.
| >> However, if I make a webservice call and then call
| >> AppDomain.CurrentDomain.GetAssemblies() it returns an
| >> additional assembly name, with gibberish values such
| >> as "udmsmlb1", "janolvnq", etc. and always a version
| >> number "0.0.0.0".
| >>
| >> What is this additional value thats being returned?
| >>
| >> TIA
| >>
| >
| >
| >--
| >
| >This posting is provided "AS IS" with no warranties, and
| confers no rights.
| >Use of included script samples are subject to the terms
| specified at
| >
http://www.microsoft.com/info/cpyright.htm
| >
| >Note: For the benefit of the community-at-large, all
| responses to this
| >message are best directed to the newsgroup/thread from
| which they
| >originated.
| >
| >.
| >
|