摘要: 我需要写一个方法,只提供地址,后台自动发送请求,获取数据,然后返回给我 public static string InvokeApi(string url) { using(HttpClient client=new HttpClient()) { HttpRequestMessage messag 阅读全文
posted @ 2020-11-15 23:28 RookieCoderAdu 阅读(246) 评论(0) 推荐(0)
摘要: .net core支持从文件夹启动。 首先打开项目的文件夹。找到项目的启动项目。一般情况下是包含Controller,Views的MVC项目 依次找到/bin/Debug/.netcoreapp3.1 使用cmd跳转到这个文件夹 使用命令: dotnet 项目名.dll --urls="http:/ 阅读全文
posted @ 2020-11-15 22:22 RookieCoderAdu 阅读(214) 评论(0) 推荐(0)