gpt4 book ai didi

ssl - 如何设置 XAF Mobile 解决方案以在本地主机上使用 SSL?

转载 作者:太空宇宙 更新时间:2023-11-03 14:30:56 25 4
gpt4 key购买 nike

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

http://localhost:2065/

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

我需要做什么?

project url

最佳答案

有两种项目属性。项目右键访问的和按F4访问的

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

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

Right Click Project

那么你可能会关注下一期

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>

关于ssl - 如何设置 XAF Mobile 解决方案以在本地主机上使用 SSL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52885052/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com