Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Remoting / December 2004

Tip: Looking for answers? Try searching our database.

.NET Remoting hosted in IIS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ming - 23 Dec 2004 13:29 GMT
Hi,

When I host remote objects in IIS, a virtual directory is created, and the
object dll is copied to the \bin folder under it.
I would like to ask, if the dll already installed/updated to the GAC with
"gacutil.exe", need I still copy the dll to the IIS "VirtualDir\bin" folder
for subsequent updates??

Also, I read a book before that if using .NET remoting, client program also
need the remoting object dll (proxy dll contain interface only) in order to
run. What is the procedures to generate this proxy dll? I've tried to use
tlbexp.exe, but seems it does not work when I try to Add Reference!!

Pls help, thx!!
Ken Kolda - 23 Dec 2004 17:33 GMT
Comments inline below...

> Hi,
>
[quoted text clipped - 3 lines]
> "gacutil.exe", need I still copy the dll to the IIS "VirtualDir\bin" folder
> for subsequent updates??

If it's in the GAC, it doesn't need to be in the bin folder. But, you should
only put it in the GAC is you need it to be there (e.g. you have other apps
on the same machine which need to use the same assembly).

> Also, I read a book before that if using .NET remoting, client program also
> need the remoting object dll (proxy dll contain interface only) in order to
> run. What is the procedures to generate this proxy dll? I've tried to use
> tlbexp.exe, but seems it does not work when I try to Add Reference!!

Tlbexp.exe is for generating a COM type library, not for generating remoting
proxies. My preferred solution is to create a seperate assembly and define
your interface types in it. Then, reference this assembly in both your
client and server assemblies. Alternatively, you can use the SoapSuds tool
to generate a proxy for your component as long as you're using HTTP/SOAP for
your transport. Just do a search on "soapsuds" on MSDN.

Ken

> Pls help, thx!!
Ming - 24 Dec 2004 12:50 GMT
Hi Ken,

Thx for your reply.
I met a problem using SOAPSUDS.....one of my class have a function which
accept 3 parameters.
However, when I generating the proxy and add a reference to it, compiler
warned me that the function doesn't accept parameters?!

I use:

SOAPSUDS -ia:assembly1 -oa:assemblyProxy.dll

I remember that long long time ago, that function doesn't accept parameter,
but I've changed it already.
Assembly in GAC is update and in the folder where I run SOAPSUDS is also
update.......what probably will be the cause of this problem??

Thx!!

"Ken Kolda" <ken.kolda@elliemae-nospamplease.com> ???g???l???s?D
:u3hiZWR6EHA.2192@TK2MSFTNGP14.phx.gbl...
> Comments inline below...
[quoted text clipped - 29 lines]
>
> > Pls help, thx!!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.