The standard method to configure a WCF Ria Service with a secure binary endpoint (SSL) is to set RequiresSecureEndpoint = true on the EnableClientAccessAttribute as shown below:
[RequiresAuthentication]
[EnableClientAccess(RequiresSecureEndpoint = true)]
public class Module1DomainService : LinqToEntitiesDomainService<AdventureWorksDataModel>
{
.
.
.
}
I need to know if the RequiresSecureEndpoint = true option can be set in the web.config file or if there’s an equivalent method to restrict a WCF RIA Service to only a secure endpoint (SSL).
According to MSFT it is not possible to do this from the web.config, see MSDN WCF Forum thread.
If interested in having this feature being added to WCF RIA Services, vote-up this suggestion on the WCF RIA Services Forum.