Enterprice Services (via DCOM) vs IIS (via Remoting) for high volume apps



  • 1. Turn off KeyPress/find on listBox?
    Let's say that I have these items in my listBox... Monday Tuesday Wednesday Thursday Friday ...and then I press "T". The selector will automatically move to "Tuesday". How can I keep this from happening? (I can't set the Selection Mode to none because I still need the selector to work).
  • 2. Help with Cursor position
    How can I force the position of my carat to the end of the text in the typing field without sending an "end" keypress?
  • 3. Setup - "Run program now"
    Hi! When I build a setup.exe of my application with the VS Wizard, how can I add in the last screen two checkboxs with: - Read README.txt - Run "MYAPP" now Thank you
  • 4. looking for best skining control like activeskin for vb6
    hi guys, im looking for activeskin like skining control fot my winform app. i want my users to be able to change the app theme/skin at runtime in my .net app. plz suggest best solution. tia. regards, // chall3ng3r //

Enterprice Services (via DCOM) vs IIS (via Remoting) for high volume apps

Postby Tommaso Caldarola » Sat, 15 Jul 2006 17:59:33 GMT

I need to transfer big files (up to 10 Gb), now I'm using IIS via Remoting with 
chunk of bytes (up to 500Kb).

In the following article:

Middle-Tier Hosting: Enterprise Services, IIS, DCOM, Web Services, and Remoting
By Rockford Lhotka


in Protocols section the author writes:

"For high volume applications you are probably best off using DCOM with an 
Enterprise Services host - even if you use no Enterprise Services features."

I ask you, it's true the ES (via DCOM) is better in terms of performance than 
IIS (via Remoting) about high volume applications?

Re: Enterprice Services (via DCOM) vs IIS (via Remoting) for high volume apps

Postby Nicholas Paldino [.NET/C# MVP] » Sun, 16 Jul 2006 00:35:50 GMT


    I think that the article is correct, but I wouldn't consider this a high 
volume app.  10 GB is high volume in the size of the parameters, while I 
think that Rocky was referring to the number of calls.

    For transferring a 10Gb file, I would not use any kind of remoting 
technology.  I would use a custom protocol for that.

    On top of that, if you can apply some sort of compression to the stream, 
that would be really good as well, as it might cut down your transmission 
time somewhat.

    Hope this helps.

          - Nicholas Paldino [.NET/C# MVP]
          -  XXXX@XXXXX.COM 

Similar Threads:

1.Why my remoting app works via local network and does not work via Internet

I have a remoting application that is working normally in local network.
But when i am trying to use it via Internet it does not work.

When I call methods for SingleCall and Singleton objects they works
But I can`t get a valid reference(proxy) for MarshallByRef objects.
I have tried getting MBR as returned value from SingleCall and tried to
create it as ClientActivatedObject. It does not work.

E.g. If method from SingleCall object returns me an MBR error does not
But if i try to call a method from this MBR i am getting timeout exception

May be it is a security problem?
Please help.
thanks in adv

2.custom TraceListener accessible via code but not via app.config

I created a custom TraceListener by subclassing a TextWriterTraceListener. 
(TextWriterTraceListener has most of what I want already.) My custom 
TraceListener works fine when I instantiate it through code. When I attempt 
to instantiate it in the app.config file, however, it is not able to find the 
class. In the same config file I reference several other standard 
TraceListeners that work just fine. Here is the relevant portion of the 
app.config file:

         <add name="MyListener"
            <filter type="System.Diagnostics.EventTypeFilter"

The exact error is:

     ConfigurationErrorsException - Couldn't find type class for 

The error manifests when I attempt to access a different listener in the 
Listener collection.

Here is the alternate code version that works just fine:

   MyTextWriterTraceListener l =
	 new MyTextWriterTraceListener("diagnostics.txt", "MyListener");

I initially set this up so the custom listener class is in a separate DLL 
but I also tried it within the same project and got the same result.

What is the appropriate way to access a custom listener from app.config?

[Env: .Net 2.0]

3.custom TraceListener accessible via code but not via app.confi

You pinpointed just what I needed; adding the assembly name was what I 
needed. Thanks!

For my own edification, I attempted to view the error with the Assembly 
Binding Log Viewer as you suggested, but it listed no errors, even after I 
cleared the IE cache as the reference page suggested as a troubleshooting 
measure. I note, however, that the reference seems to indicate that it will 
only notice errors precipitating from a  TypeLoadException whereas my issue 
manifested as a ConfigurationErrorsException; perhaps the TraceSource masks 
the TypeLoadException internally...?

4.Initialization via ctor vs. initialization via assignment


say I have an arbitrary class Bar:

1  Bar a;
2  Bar b(a);
3  Bar c = a;

In line 3, is the default ctor called for c _first_ and _then_ the 
assignment operator, or is c never default constructed and immediately 
initialized with a?

My point is, for complex objects, is it likely that initialization via 
assignment is less efficient than via constructor calls? What is the 
recommended approach?

Matthias Kaeppler

5.Accessing DCOM Server via Service

I do have a C# ASP.NET 2 application that uses a local DCOM Server.

Everything works fine when the DCOM Server Application (an exe) is
started by my application or has already been started by a user on the
system (the ASP.NET user has the correct permissions for the DCOM

However, when the DCOM Server is already started as a Service (via the
Services MMC) it will not work (there is no error message, I will just
get an empty web page, nothing is written to the event log)?

In my frustration I tried it with a small windows C# application on the
same machine: here it is the other way round. The app will only work if
the DCOM Server is run as a service????

Does someone have a clue, I am stuck....

6. Debug VS.Net Web service from PocketPC app via ActiveSync

7. Debug VS.Net Web service from PocketPC app via ActiveSync

8. Logging to file on remoting server via IIS

Return to C#


Who is online

Users browsing this forum: No registered users and 31 guest