Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...How to configure DotNetDuke.dll for my application?How to configure DotNetDuke.dll for my application?
Previous
 
Next
New Post
2/12/2014 10:26 AM
 

Glad you got it working - FYI we make use of WCF in Evoq Enterprise (to provide content synchronisation between 2 sites i.e. staging and production), and in that case we add some simple settings in web.config e.g.

  <system.serviceModel>

    <behaviors>

      <endpointBehaviors>

        <behavior name="ContentService">

          <dataContractSerializer maxItemsInObjectGraph="10000000" />

        </behavior>

      </endpointBehaviors>

    </behaviors>

    <client>

      <endpoint binding="customBinding" bindingConfiguration="BinaryBinding" contract="DotNetNuke.Enterprise.ContentStaging.Contracts.IContentService" name="ContentStagingEndpoint" behaviorConfiguration="ContentService" />

    </client>

    <bindings>

      <customBinding>

        <binding name="BinaryBinding">

          <binaryMessageEncoding />

          <httpTransport transferMode="Streamed" maxReceivedMessageSize="104857600" />

        </binding>

      </customBinding>

    </bindings>

    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />

  </system.serviceModel>

 

but we add a fuller definition in the web.config of the desktopmodules folder where the WCF code resides (this helps ensure we don't pollute the entire application but only requests to the .svc 's in that folder. Note: we transfer a token with each request to confirm the handshake between sites (i.e. both sites agree to the trust), so our setup is likely a little different to yours, but I thought you might appreciate a look anyway.

<?xml version="1.0"?>

<configuration>

  <system.webServer>

    <security>

      <requestFiltering>

        <requestLimits maxAllowedContentLength="104857600"/>

      </requestFiltering>

    </security>

  </system.webServer>

  <system.web>

    <httpRuntime maxRequestLength="102400"/>

    <compilation targetFramework="4.0"/>

    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>

  </system.web>

  <system.serviceModel>

    <behaviors>

      <serviceBehaviors>

        <behavior name="ContentService">

          <serviceMetadata httpGetEnabled="true"/>

          <serviceDebug includeExceptionDetailInFaults="true"/>

          <!--Increase this value if you have modules that contain large number of items (lists of items)-->

          <dataContractSerializer maxItemsInObjectGraph="10000000"/>

        </behavior>

      </serviceBehaviors>

    </behaviors>

    <services>

      <service behaviorConfiguration="ContentService" name="DotNetNuke.Enterprise.ContentStaging.ContentService">

        <endpoint address="" binding="customBinding" bindingConfiguration="BinaryBinding" contract="DotNetNuke.Enterprise.ContentStaging.Contracts.IContentService">

          <identity>

            <dns value="localhost"/>

          </identity>

        </endpoint>

        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>

      </service>

    </services>

    <bindings>

      <customBinding>

        <binding name="BinaryBinding">

          <binaryMessageEncoding>

            <!--Increase this value if you have modules that contain large amount of content-->

            <readerQuotas maxStringContentLength="8388608"/>

          </binaryMessageEncoding>

          <httpTransport transferMode="StreamedRequest" maxReceivedMessageSize="104857600"/>

        </binding>

      </customBinding>

    </bindings>

  </system.serviceModel>

</configuration>


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...How to configure DotNetDuke.dll for my application?How to configure DotNetDuke.dll for my application?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out