Silverlight pages and HTTPS (EP versions 7.0 and older)

Silverlight

Please note that the following instructions are for old EP versions (older than v7.1). Instructions for versions 7.1 and above are at this link.


 Q.
 Will the Interactive Gantt and Activities (Silverlight) pages work for my EP Web site configured for using SSL, i.e. HTTPS ?

A. Yes. Please perform the following actions:

 

Modify the Web.Config file (the file is in the EP 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>