Silverlight pages and HTTPS

Silverlight

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), and add the parts which are marked red bold.

Note that you should use Notepad only for doing these modifications.

 

1.

<ApplicationRoot>s://[ApplicationPath]/</ApplicationRoot>

where [ApplicationPath] - your EP site URL. 



2.

<services>
    <!-- GANTT Services-->
    <service name="LogicSoftware.EasyProjects.Wcf.Services.UserService" behaviorConfiguration="EasyProjectBehavior">
     <endpoint contract="LogicSoftware.EasyProjects.Wcf.Interfaces.IUser" binding="customBinding" bindingConfiguration="SlHttpsBinaryEncodingBinding" behaviorConfiguration="SilverlightFaultBehavior" />
     <!--<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />-->
    </service>
    <service name="LogicSoftware.EasyProjects.Wcf.Services.ActivityService" behaviorConfiguration="EasyProjectBehavior">
     <endpoint contract="LogicSoftware.EasyProjects.Wcf.Interfaces.IActivity" binding="customBinding" bindingConfiguration="SlHttpsBinaryEncodingBinding" behaviorConfiguration="SilverlightFaultBehavior" />
     <!--<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />-->
    </service>
    <service name="LogicSoftware.EasyProjects.Wcf.Services.ProjectService" behaviorConfiguration="EasyProjectBehavior">
     <endpoint contract="LogicSoftware.EasyProjects.Wcf.Interfaces.IProject" binding="customBinding" bindingConfiguration="SlHttpsBinaryEncodingBinding" behaviorConfiguration="SilverlightFaultBehavior" />
     <!--<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />-->
    </service>

 

3.

<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>

 

If you are still on the EP version 7.0 or older then please follow the instructions of the different article at http://support.myeasyprojects.net/KB/a139/silverlight-pages-and-https-ep-versions-70-and-older.aspx