RE: Remoting from Web Part
From: Daniel Larson (www.portalbuilder.org) (daniel_at_larsontechnology.spamfree.com)
Date: 01/05/05
- Next message: Vikesh Arora: "Developing Webparts"
- Previous message: Daniel Larson (www.portalbuilder.org): "RE: anonymous access does not work"
- In reply to: Eric Johnson: "Remoting from Web Part"
- Next in thread: Eric Johnson: "Re: Remoting from Web Part"
- Reply: Eric Johnson: "Re: Remoting from Web Part"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 4 Jan 2005 16:39:04 -0800
Eric,
To use global.asax you'll need to drop your own copy into the web root
folder on the file system. Drop the code behind dll that global.asax inherits
from into the bin folder.
Daniel Larson
http://www.portalbuilder.org
"Eric Johnson" wrote:
> I am developing a Web Part that needs Remoting (it is a client-activated
> object).n I've done this before in asp.net by setting the remoting
> configuration in the web.config file and loading that configuration in
> global.asax.
>
> If I try and set the remoting configuration in code in the Web Part, I have
> to deal with making sure I don't register it multiple times on subsequent
> requests. I was hoping to avoid what I figured would be a performance hit by
> doing so (checking if the object is already registered for remoting; if not,
> then create a channel and register it).
>
> Is modifying global.asax recommended for Web Parts? If so, where exactly is
> this located (I see several copies in the "web server extensions" directory
> tree)?
>
> Thanks for your help,
> Eric
>
>
>
>
- Next message: Vikesh Arora: "Developing Webparts"
- Previous message: Daniel Larson (www.portalbuilder.org): "RE: anonymous access does not work"
- In reply to: Eric Johnson: "Remoting from Web Part"
- Next in thread: Eric Johnson: "Re: Remoting from Web Part"
- Reply: Eric Johnson: "Re: Remoting from Web Part"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|