- 进入开发好的程序目录,执行打包命令,生成auth目录,并将打包好的目录上传到CentOS的home目录
dotnet publish -o auth
- 执行运行命令
dotnet Howdy.Net6API.AuthenticationCenter.dll
- 使用postman进行测试
注:此种方式,适合电源稳定,不断电场景,如经常断电,则服务会自动关闭
dotnet publish -o auth
dotnet Howdy.Net6API.AuthenticationCenter.dll
注:此种方式,适合电源稳定,不断电场景,如经常断电,则服务会自动关闭