最佳答案
有两种项目属性。 项目右键访问的和按F4访问的
突出显示移动项目并按 F4 然后您可以看到带有 URL 的 SSL Enabled 属性
复制 URL 并将其粘贴到属性的 Web 选项卡上的项目 Url
那么你可能会关注下一期
复制自 Dev Express Help
下一步将用我的解决方案名称替换 MainDemo
<bindings>
<webHttpBinding>
<binding name="msgSize" maxReceivedMessageSize="2147483647">
</binding>
<binding name="msgSizeSSL" maxReceivedMessageSize="2147483647">
<security mode="Transport">
<transport clientCredentialType="None"></transport>
</security>
</binding>
</webHttpBinding>
</bindings>
<services>
<service name="MainDemo.Mobile.DataService">
<endpoint address="" behaviorConfiguration="" binding="webHttpBinding" bindingConfiguration="msgSize" contract="System.Data.Services.IRequestHandler"/>
<endpoint address="" behaviorConfiguration="" binding="webHttpBinding" bindingConfiguration="msgSizeSSL" contract="System.Data.Services.IRequestHandler"/>
</service>
<service name="MainDemo.Mobile.MetadataService">
<endpoint address="" behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="msgSize" contract="DevExpress.ExpressApp.Mobile.Services.IMobileMetadataService"/>
<endpoint address="" behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="msgSizeSSL" contract="DevExpress.ExpressApp.Mobile.Services.IMobileMetadataService"/>
</service>
<service name="MainDemo.Mobile.DownloadReportService">
<endpoint address="" behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="msgSize" contract="DevExpress.ExpressApp.ReportsV2.Mobile.IXafDownloadReportService" />
<endpoint address="" behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="msgSizeSSL" contract="DevExpress.ExpressApp.ReportsV2.Mobile.IXafDownloadReportService" />
</service>
</services>
关于ssl - 如何设置 XAF Mobile 解决方案以在本地主机上使用 SSL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52885052/