【问题标题】:How do I set up an XAF Mobile solution to use SSL on localhost?如何设置 XAF 移动解决方案以在 localhost 上使用 SSL?
【发布时间】:2018-10-19 02:26:55
【问题描述】:

当我打开 Xaf 移动解决方案的属性页面时,我可以看到项目 url 是

http://localhost:2065/

我想在我的开发环境中使用 SSL。

我需要做什么?

【问题讨论】:

    标签: ssl xaf


    【解决方案1】:

    有 2 种项目属性。 通过右键单击项目访问的访问和按 F4 访问的访问

    突出显示移动项目并按 F4 然后你可以看到带有 URL 的 SSL Enabled 属性

    复制 URL 并将其粘贴到属性 Web 选项卡上的 Project Url 中

    那你可能会赶上下一期

    The resource cannot be found

    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>
    
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-10-25
    • 1970-01-01
    • 2011-11-07
    • 1970-01-01
    • 1970-01-01
    • 2018-01-18
    • 2012-01-30
    相关资源
    最近更新 更多