VS文件配置launchSettings.json

C:\0_RG\Code\RG6.PF\rg3-pf\RG3.Web.Host.PaaS\Properties\launchSettings.json

,
    "AppDevelopmentOwnerSmdcm": {
      "commandName": "Project",
      "commandLineArgs": "--owner=smdcm",
      "launchBrowser": true,
      "launchUrl": "bs/api/default",
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      },
      "applicationUrl": "http://localhost:5901;http://localhost:5900"
    }

切换启动项目和启动配置

ctrl+f5 运行接口服务

如果启动失败,根据红色提示进行解决

C:\0_RG\Code\RG6.PF\rg3-pf\RG3.Web.Host.PaaS\Config\ShellApp
1、redis配置
2、mongodb配置

redis 启动

mysql启动

mongodb启动

服务启动成功(如果没安装json插件,可能会提示下载文件)

http://localhost:5901/bs/api/default

文档更新时间: 2023-04-06 17:24   作者:admin