Support Portal
Language
 
Home>Knowledge Base>General Questions>Interactive Gantt and HTTPS
Information
Article ID114
Created On3/10/2010
Modified7/12/2010
Interactive Gantt and HTTPS
Q. Will the Interactive Gantt work for my EP.NET Web site configured for using SSL, i.e. HTTPS ?


A. Yes. Please perform the following actions:

  1. Modify the Web.Config file (the file is in the EP.NET working folder, 'c:\inetpub\wwwroot\easyprojects' by default). The changes are marked red bold.
Note that you should use Notepad only for doing these modifications.

1.1. 
<ApplicationRoot>https://[ApplicationPath]/</ApplicationRoot>
where [ApplicationPath] - your EP site URL.
1.2.
Before the modification:
  <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
After the modification:
  <serviceHostingEnvironment aspNetCompatibilityEnabled="true">
<baseAddressPrefixFilters>
 <add prefix="https://[ApplicationPath]"/>
</baseAddressPrefixFilters>
</serviceHostingEnvironment>
  1.3.
<services>
      <!-- GANTT Services-->
 <service name="LogicSoftware.EasyProjects.Wcf.Services.UserService" behaviorConfiguration="EasyProjectBehavior">
 <endpoint address="https://[ApplicationPath]/Services/UserService.svc" contract="LogicSoftware.EasyProjects.Wcf.Interfaces.IUser" binding="basicHttpBinding" bindingConfiguration="EasyProjectHttpBinding" />
 <endpoint address="https://[ApplicationPath]/Services/UserService.svc/mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
 </service>
 <service name="LogicSoftware.EasyProjects.Wcf.Services.ActivityService" behaviorConfiguration="EasyProjectBehavior">
 <endpoint address="https://[ApplicationPath]/Services/ActivityService.svc" contract="LogicSoftware.EasyProjects.Wcf.Interfaces.IActivity" binding="basicHttpBinding" bindingConfiguration="EasyProjectHttpBinding" />
 <endpoint address="https://[ApplicationPath]/Services/ActivityService.svc/mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
 </service>
 <service name="LogicSoftware.EasyProjects.Wcf.Services.ProjectService" behaviorConfiguration="EasyProjectBehavior">
 <endpoint address="https://[ApplicationPath]/Services/ProjectService.svc" contract="LogicSoftware.EasyProjects.Wcf.Interfaces.IProject" binding="basicHttpBinding" bindingConfiguration="EasyProjectHttpBinding" />
 <endpoint address="https://[ApplicationPath]/Services/ProjectService.svc/mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
 </service>
 <service name="LogicSoftware.EasyProjects.Wcf.Services.PrintService" behaviorConfiguration="EasyProjectWebBehavior">
 <endpoint address="https://[ApplicationPath]/Services/PrintService.svc" contract="LogicSoftware.EasyProjects.Wcf.Interfaces.IPrint" binding="webHttpBinding" bindingConfiguration="EasyProjectHttpWebBinding" />
 </service>
1.4. 
<bindings>
 <!-- GANTT Services-->
 <webHttpBinding>
 <binding name="EasyProjectHttpWebBinding">
  <security mode="Transport">
  <transport clientCredentialType="None"/>
  </security>
 </binding>
 </webHttpBinding>

 <basicHttpBinding>
 <!-- GANTT Services-->
 <binding name="EasyProjectHttpBinding">
  <security mode="Transport">
   <transport clientCredentialType="None"/>
  </security>
 </binding>
1.5.
<behaviors>
      <serviceBehaviors>
 <!-- GANTT Services-->
 <behavior name="EasyProjectBehavior">
 <dataContractSerializer maxItemsInObjectGraph="2147483646" />
 <serviceMetadata httpsGetEnabled="true" />
 <serviceDebug includeExceptionDetailInFaults="true" />
 <serviceAuthorization principalPermissionMode="Custom" serviceAuthorizationManagerType="LogicSoftware.EasyProjects.Wcf.Security.WcfAuthorizationManager,LogicSoftware.EasyProjects.Wcf.Security">
 <authorizationPolicies>
 <add policyType="LogicSoftware.EasyProjects.Wcf.Security.HttpContextIdentityPolicy, LogicSoftware.EasyProjects.Wcf.Security" />
 </authorizationPolicies>
 </serviceAuthorization>
 </behavior>