Re: How To Create "Out Of Process" Components

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



Ulrich,

My comments are inline.

Brian

Henne wrote:
> Hello Brian,
>
> thanks for your reply.
>
> For me, remoting always was a call on a business component that will
> do something, return a value and then is gone.

That's the behavior you get with a server activated object (SAO) that
is setup with the WellKnownObjectMode.SingleCall option. The
WellKnownObjectMode.Singleton option will allow clients to participate
in the lifetime of the object. I'm strictly speaking about the
lifetime of the remoted object here. The lifetime of the host process
is a different issue.

> What I am looking for is a component with a windows front end or
> let's say a windows application with an external control inteface.
> This application should stay alive as long the calling application
> has a link to it.

This is definitely doable with .NET Remoting.

> For me it is not clear if this will still be the right way.
> If yes, should I write my own hosting application or use IIS?

If you use IIS then you will need IIS installed on every machine your
remotable application runs on.

> Thanks in advance.
>
> Best regards
>
> Ulrich
>

.



Relevant Pages

  • Re: Tiered architecture question
    ... You haven't listed Remoting thru IIS, ... Aka, when the server reboots, IIS comes back up. ... The big question for me in all this is whether I should use Web Services ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: .rem file as objectUri in wellknown element? how is it created?
    ... here's a rough approximation of what occurs when you host a remoting ... object under IIS. ... for the ".rem" file extension. ... IIS passes the request to the .NET ISAPI extension, ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: MCSD 70-310 Creating and Consuming .NET Remoting Objects Exam Question
    ... > No one says TO the object, but how to restrict the object itself. ... > And, also, the object is hosted in IIS. ... >> Remoting has nothing to do with IIS as you could achieve remoting on ... aware that it runs within the context of the ASP User or whatever you ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: MCSD 70-310 Creating and Consuming .NET Remoting Objects Exam Question
    ... > No one says TO the object, but how to restrict the object itself. ... > And, also, the object is hosted in IIS. ... >> Remoting has nothing to do with IIS as you could achieve remoting on ... aware that it runs within the context of the ASP User or whatever you ...
    (microsoft.public.cert.exam.mcsd)
  • High CPU Usage
    ... The remoting - in two places it ... The high CPU usage does not seem to be directly ... controls on each page is determined at runtime from the database. ... complete) in IIS deciding to recycle the process. ...
    (microsoft.public.dotnet.framework.aspnet)