Data Portal web.config Remoting question

Data Portal web.config Remoting question

Old forum URL: forums.lhotka.net/forums/t/8685.aspx


Sameer posted on Thursday, March 18, 2010

I am using CSLA 3.8 in my application. I am trying to set up data portal in the application server with the following section in the web.config:

 

  <system.runtime.remoting>

    <application>

      <service>

        <wellknown mode="SingleCall" objectUri="RemotingPortal.rem" type="Csla.Server.Hosts.RemotingPortal, Csla"/>

      </service>

      <channels>

        <channel ref="http">

          <serverProviders>

            <provider ref="wsdl"/>

            <formatter ref="soap" typeFilterLevel="Full"/>

            <formatter ref="binary" typeFilterLevel="Full"/>

          </serverProviders>

        </channel>

      </channels>

    </application>

  </system.runtime.remoting>

 

The above does not seem to work. Is it not possible to use this code block to server up CSLA 3.8 data portal? Or do I HAVE to use WCF with CSLA 3.8 data portal?

Any help is highly appreciated.

Thanks,

Sameer

ajj3085 replied on Thursday, March 18, 2010

This is how I have mine setup:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<

 

system.runtime.remoting>

<

 

application>

<

 

service>

<

 

wellknown mode="SingleCall" objectUri="RemotingPortal.rem" type="Csla.Server.RemotingPortal, Csla"/>

</

 

service>

<

 

channels>

<

 

channel ref="http">

<

 

serverProviders>

<

 

provider ref="wsdl"/>

<

 

formatter ref="binary" typeFilterLevel="Full"/>

</

 

serverProviders>

</

 

channel>

</

 

channels>

</

 

application>

</

 

system.runtime.remoting>

Copyright (c) Marimer LLC