CSLA .NET

Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Data Portal web.config Remoting question

rated by 0 users
Answered (Verified) This post has 1 verified answer | 1 Reply | 0 Followers

Not Ranked
4 Posts
Sameer posted on Thu, Mar 18 2010 11:49 AM

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

Answered (Verified) Verified Answer

Top 10 Contributor
3,922 Posts
Answered (Verified) Andy replied on Thu, Mar 18 2010 1:33 PM
Verified by Sameer

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>

Page 1 of 1 (2 items) | RSS

Copyright (c) 2006-2010 Marimer LLC. All rights reserved.
Email admin@lhotka.net for support.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems