RE: Remoting from Web Part

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Daniel Larson (www.portalbuilder.org) (daniel_at_larsontechnology.spamfree.com)
Date: 01/05/05


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
>
>
>
>



Relevant Pages

  • Re: detect Win 7
    ... Another would be "Program Files ". ... This latter folder will exist in the root of the same drive as the Windows folder. ... There are real file system folders, NTFS hard links to file system folders and mapped folders. ...
    (microsoft.public.vb.general.discussion)
  • Re: detect Win 7
    ... Another would be "Program Files ". ... This latter folder will exist in the root of the same drive as the Windows folder. ... There are real file system folders, NTFS hard links to file system folders and mapped folders. ...
    (microsoft.public.vb.general.discussion)
  • Re: Working With Files Above Sites Root Directory
    ... The fact that it is outside your web app is important. ... directories and file system directories. ... So, in order to upload files, you're going to have to hard-code the full ... > working with folders that are above the site's root folder. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: iPad problem solved
    ... creating a folder to save a Pages document to on an iPad. ... ALL computers have a file system. ... The issue here is that Apple is not allowing the user access to the ...
    (comp.sys.mac.advocacy)
  • Re: iPad problem solved
    ... creating a folder to save a Pages document to on an iPad. ... ALL computers have a file system. ...
    (comp.sys.mac.advocacy)