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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Web config configurationWeb config configuration
Previous
 
Next
New Post
10/24/2008 12:11 PM
 

How to set up the web.config to use the third party SDK? In order to use this SDK, it requires context to be set up in the web.config file

 
New Post
10/24/2008 12:50 PM
 

Hey Peter,

Couple of questions - Which 3rd party SDK, and what kind of web.config changes does it need?

Thanks,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
10/24/2008 1:15 PM
 

In general, everysection in the web.config file need to be set up to use this SDK. They include: configSection, httpModules, httpHandlers, membership providers, ect,

 
New Post
10/24/2008 2:27 PM
 

Hey Peter,

Are you having any specific issues with making the changes? Are you looking for advice on setting up a particular SDK, if so, which SDK are you referring to?

Thanks,


Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
10/24/2008 3:14 PM
 

I am currently develop application using BusinessFlow SDK and a minimum require for the configuration as follow:

<configuration>
 <configSections>
  <sectionGroup name="MainStreet.BusinessFlow.SDK" type="MainStreet.BusinessFlow.SDK.Web.SdkWebSectionGroup, MainStreet.BusinessFlow.SDK.Web">
   <section name="deployment" type="MainStreet.BusinessFlow.SDK.Config.DeploymentSection, MainStreet.BusinessFlow.SDK"/>
   <section name="credentials" type="MainStreet.BusinessFlow.SDK.Config.CredentialsSection, MainStreet.BusinessFlow.SDK"/>
   <section name="sites" type="MainStreet.BusinessFlow.SDK.Config.SitesSection, MainStreet.BusinessFlow.SDK"/>
   <section name="webServices" type="MainStreet.BusinessFlow.SDK.Config.WebServicesSection, MainStreet.BusinessFlow.SDK"/>
   <section name="cart" type="MainStreet.BusinessFlow.SDK.Config.CartSection, MainStreet.BusinessFlow.SDK"/>
  </sectionGroup>
  <section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
 </configSections>
 <appSettings><!-- app setting -->
   </appSettings>
 <MainStreet.BusinessFlow.SDK xmlns="urn:mainstreet-businessflow-sdk">
  <deployment appName="appname" logErrors="true" errorEmail="" logAppStates="Basic" safeMode="Full" safeEmail=""/>
  <credentials domain="domainname" username="" password="" />
  <webServices baseUrl="businessflow.mainstreetcommerce.com/Current">
   <callPolicies secure="None"/>
  </webServices>
 <pages>
      <attachments url="~/mainstreet/get_file.aspx" />
      <cart url="~/cart.aspx" />
      <category url="~/product_catalog.aspx" />
      <checkout url="~/checkout/" />
      <detail url="~/product_details.aspx" />
      <home url="~/default.aspx" />
      <images url="~/mainstreet/get_image.aspx" />
      <imageSheet url="~/mainstreet/forms/ms_item_images.aspx" />
      <results url="~/product_results.aspx" />
      <search url="~/product_catalog.aspx" />
      <printOrder url="~/mainstreet/forms/ms_order_print.aspx" />
      <expiration url="~/product_expiration.aspx" />
    </pages>
 </MainStreet.BusinessFlow.SDK>

<system.web>
    <httpModules>
      <!-- This BusinessFlow SDK module is required for proper operation. -->
      <add name="SdkManagerModule" type="MainStreet.BusinessFlow.SDK.Web.SdkManagerModule, MainStreet.BusinessFlow.SDK.Web" />
    </httpModules>
   
    <!-- These handlers serve images and attachments stored in BusinessFlow. -->
    <httpHandlers>
      <add verb="GET" path="get_image.aspx" type="MainStreet.BusinessFlow.SDK.Web.ResponseCache.DefaultCachedHttpProxyImageHandler,MainStreet.BusinessFlow.SDK.Web" />
      <add verb="GET" path="get_file.aspx" type="MainStreet.BusinessFlow.SDK.Web.ResponseCache.DefaultCachedHttpProxyAttachmentHandler,MainStreet.BusinessFlow.SDK.Web" />
    </httpHandlers>
    <!--
      These providers tie in BusinessFlow to the standard ASP.NET membership system
      Although not strictly required, it is recommended to include these to entries
      to ensure that the ASP.NET Loginform control works against BusinessFlow users.
    -->
    <membership defaultProvider="BusinessFlowMembershipProvider">
      <providers>
        <add name="BusinessFlowMembershipProvider" type="MainStreet.BusinessFlow.SDK.Web.Providers.BusinessFlowMembershipProvider" allowGetAllUsers="True" />
      </providers>
    </membership>
    <roleManager enabled="true" defaultProvider="BusinessFlowRoleProvider" cacheRolesInCookie="false">
      <providers>
        <add name="BusinessFlowRoleProvider" type="MainStreet.BusinessFlow.SDK.Web.Providers.BusinessFlowRoleProvider" />
      </providers>
    </roleManager>
    <pages>
      <controls>
        <!-- Required by for mainstreet/controls -->
        <add assembly="MainStreet.BusinessFlow.SDK.Web" namespace="MainStreet.BusinessFlow.SDK.Web.Controls" tagPrefix="msc"  />
      </controls>
    </pages>  
    <!-- Required for BusinessFlow web service calls -->
    <webServices>
      <soapExtensionImporterTypes>
        <add type="Microsoft.Web.Services3.Description.WseExtensionImporter, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      </soapExtensionImporterTypes>
    </webServices>
  </system.web>
  <!-- Required for BusinessFlow web service calls -->
  <microsoft.web.services3>
    <messaging>
      <mtom clientMode="On" />
    </messaging>
  </microsoft.web.services3>
</configuration>

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Web config configurationWeb config configuration


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