摘要: 1.下载nuget.exe 放入项目文件夹 2.cmd 到项目路径执行命令 命令 描述 nuget spec 生成 项目名.nuspec 说明文件 (可选) nuget pack -version 1.1.0 生成nupkg包,-version 版本号 3.到nuget.org网站登录上传 阅读全文
posted @ 2022-05-04 13:47 应世玉 阅读(42) 评论(0) 推荐(0)
摘要: 1 public void OnGet() 2 { 3 string str = Request.Query["key1"]; 4 } 5 public void OnPost() 6 { 7 string str = Request.Form["key2"]; 8 } 阅读全文
posted @ 2022-05-04 13:42 应世玉 阅读(369) 评论(0) 推荐(0)
摘要: 新建类 1 namespace webc.Utils 2 { 3 public class AppHelper 4 { 5 private static IConfiguration? _config; 6 7 public AppHelper(IConfiguration configuratio 阅读全文
posted @ 2022-05-04 13:33 应世玉 阅读(93) 评论(0) 推荐(0)